projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
drivers, block: remove sil680 driver
[platform/kernel/u-boot.git]
/
board
/
esd
/
pmc405de
/
pmc405de.c
diff --git
a/board/esd/pmc405de/pmc405de.c
b/board/esd/pmc405de/pmc405de.c
index
4409ea6
..
31ac728
100644
(file)
--- a/
board/esd/pmc405de/pmc405de.c
+++ b/
board/esd/pmc405de/pmc405de.c
@@
-6,6
+6,7
@@
*/
#include <common.h>
*/
#include <common.h>
+#include <console.h>
#include <libfdt.h>
#include <fdt_support.h>
#include <asm/processor.h>
#include <libfdt.h>
#include <fdt_support.h>
#include <asm/processor.h>
@@
-299,8
+300,8
@@
int pci_pre_init(struct pci_controller *hose)
return 1;
}
return 1;
}
-#if
defined(CONFIG_OF_LIBFDT) && defined(CONFIG_OF_BOARD_SETUP)
-
void
ft_board_setup(void *blob, bd_t *bd)
+#if
def CONFIG_OF_BOARD_SETUP
+
int
ft_board_setup(void *blob, bd_t *bd)
{
int rc;
{
int rc;
@@
-318,8
+319,10
@@
void ft_board_setup(void *blob, bd_t *bd)
fdt_strerror(rc));
}
}
fdt_strerror(rc));
}
}
+
+ return 0;
}
}
-#endif /*
defined(CONFIG_OF_LIBFDT) && defined(CONFIG_OF_BOARD_SETUP)
*/
+#endif /*
CONFIG_OF_BOARD_SETUP
*/
#if defined(CONFIG_SYS_EEPROM_WREN)
/* Input: <dev_addr> I2C address of EEPROM device to enable.
#if defined(CONFIG_SYS_EEPROM_WREN)
/* Input: <dev_addr> I2C address of EEPROM device to enable.