]> git.sur5r.net Git - u-boot/blobdiff - board/sr1500/socfpga.c
pinctrl: do not set_state for device without valid ofnode
[u-boot] / board / sr1500 / socfpga.c
index 9f895842f79a9e21ffcf4916a6a721a4bf427ebb..c9e32e396031ae0bbebf21ea55c982ff6b3d24ea 100644 (file)
@@ -1,31 +1,13 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright (C) 2015 Stefan Roese <sr@denx.de>
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
-#include <i2c.h>
-#include <miiphy.h>
 #include <asm/arch/reset_manager.h>
 #include <asm/gpio.h>
 #include <asm/io.h>
 
-DECLARE_GLOBAL_DATA_PTR;
-
-void s_init(void) {}
-
-/*
- * Miscellaneous platform dependent initialisations
- */
-int board_init(void)
-{
-       /* Address of boot parameters for ATAG (if ATAG is used) */
-       gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100;
-
-       return 0;
-}
-
 int board_early_init_f(void)
 {
        int ret;