summaryrefslogtreecommitdiff
path: root/common/board_f.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-03-31 08:40:31 -0600
committerTom Rini <trini@konsulko.com>2017-04-05 16:36:50 -0400
commitabf7f4c7040b3914bea327243dcfac0ef840fbaf (patch)
treeaaab4e267dac29b925724fefa53bf80370fc4ee8 /common/board_f.c
parent0f079eb51c402e6f3805fc0d35c7cc8db7275e97 (diff)
downloadu-boot-abf7f4c7040b3914bea327243dcfac0ef840fbaf.tar.gz
u-boot-abf7f4c7040b3914bea327243dcfac0ef840fbaf.tar.bz2
u-boot-abf7f4c7040b3914bea327243dcfac0ef840fbaf.zip
board_f: Drop CONFIG_SPL_BUILD check
This is never defined when building this file, so drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'common/board_f.c')
-rw-r--r--common/board_f.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/common/board_f.c b/common/board_f.c
index acefd65d13..75a0fc5df0 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -106,10 +106,6 @@ __weak void blue_led_off(void) {}
* a structure...
*/
-/*
- * Could the CONFIG_SPL_BUILD infection become a flag in gd?
- */
-
#if defined(CONFIG_WATCHDOG) || defined(CONFIG_HW_WATCHDOG)
static int init_func_watchdog_init(void)
{
@@ -464,7 +460,6 @@ static int reserve_uboot(void)
return 0;
}
-#ifndef CONFIG_SPL_BUILD
/* reserve memory for malloc() area */
static int reserve_malloc(void)
{
@@ -486,7 +481,6 @@ static int reserve_board(void)
}
return 0;
}
-#endif
static int setup_machine(void)
{
@@ -890,10 +884,8 @@ static const init_fnc_t init_sequence_f[] = {
reserve_video,
reserve_trace,
reserve_uboot,
-#ifndef CONFIG_SPL_BUILD
reserve_malloc,
reserve_board,
-#endif
setup_machine,
reserve_global_data,
reserve_fdt,