aboutsummaryrefslogtreecommitdiff
path: root/README
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 /README
parentdeb5ca80275e8cfa74d5680b41204e08a095eca5 (diff)
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 'README')
-rw-r--r--README14
1 files changed, 14 insertions, 0 deletions
diff --git a/README b/README
index 60a105fb1..58e582d02 100644
--- a/README
+++ b/README
@@ -2447,6 +2447,20 @@ Modem Support:
See also: doc/README.Modem
+Board initialization settings:
+------------------------------
+
+During Initialization u-boot calls a number of board specific functions
+to allow the preparation of board specific prerequisites, e.g. pin setup
+before drivers are initialized. To enable these callbacks the
+following configuration macros have to be defined. Currently this is
+architecture specific, so please check arch/your_architecture/lib/board.c
+typically in board_init_f() and board_init_r().
+
+- CONFIG_BOARD_EARLY_INIT_F: Call board_early_init_f()
+- CONFIG_BOARD_EARLY_INIT_R: Call board_early_init_r()
+- CONFIG_BOARD_LATE_INIT: Call board_late_init()
+- CONFIG_BOARD_POSTCLK_INIT: Call board_postclk_init()
Configuration Settings:
-----------------------