summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorHelmut Raiger <helmut.raiger@hale.at>2011-10-20 04:19:47 +0000
committerWolfgang Denk <wd@denx.de>2011-10-27 23:53:59 +0200
commit9660e442de66e7a80513b30e5226eeec73b9c17a (patch)
treeb304d3e1d8eaf3c11401ae8b2c50a0e70c5fce15 /arch
parentdeb5ca80275e8cfa74d5680b41204e08a095eca5 (diff)
downloadu-boot-imx-9660e442de66e7a80513b30e5226eeec73b9c17a.zip
u-boot-imx-9660e442de66e7a80513b30e5226eeec73b9c17a.tar.gz
u-boot-imx-9660e442de66e7a80513b30e5226eeec73b9c17a.tar.bz2
cosmetic: s/BOARD_LATE_INIT/CONFIG_BOARD_LATE_INIT
This renames BOARD_LATE_INIT to CONFIG_BOARD_LATE_INIT. Along the way it removes some leftover #define BOARD_LATE_INIT 1 and adds some basic documentation for board specific callbacks in README. Signed-off-by: Helmut Raiger <helmut.raiger@hale.at> Acked-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/lib/board.c2
-rw-r--r--arch/sandbox/lib/board.c2
-rw-r--r--arch/sh/lib/board.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/lib/board.c b/arch/arm/lib/board.c
index bae2892..368fc5d 100644
--- a/arch/arm/lib/board.c
+++ b/arch/arm/lib/board.c
@@ -590,7 +590,7 @@ void board_init_r(gd_t *id, ulong dest_addr)
}
#endif
-#ifdef BOARD_LATE_INIT
+#ifdef CONFIG_BOARD_LATE_INIT
board_late_init();
#endif
diff --git a/arch/sandbox/lib/board.c b/arch/sandbox/lib/board.c
index 1fd8fa6..ae5a517 100644
--- a/arch/sandbox/lib/board.c
+++ b/arch/sandbox/lib/board.c
@@ -250,7 +250,7 @@ void board_init_r(gd_t *id, ulong dest_addr)
/* enable exceptions */
enable_interrupts();
-#ifdef BOARD_LATE_INIT
+#ifdef CONFIG_BOARD_LATE_INIT
board_late_init();
#endif
diff --git a/arch/sh/lib/board.c b/arch/sh/lib/board.c
index 6148e6b..d9c0c22 100644
--- a/arch/sh/lib/board.c
+++ b/arch/sh/lib/board.c
@@ -141,7 +141,7 @@ init_fnc_t *init_sequence[] =
stdio_init,
console_init_r,
interrupt_init,
-#ifdef BOARD_LATE_INIT
+#ifdef CONFIG_BOARD_LATE_INIT
board_late_init,
#endif
#if defined(CONFIG_CMD_NET)