diff options
| author | Christian Riesch <[email protected]> | 2011-10-13 00:52:29 +0000 |
|---|---|---|
| committer | Albert ARIBAUD <[email protected]> | 2011-10-27 21:56:36 +0200 |
| commit | ae5c77dd908edaf55025fa3f41095bfb9cb1b973 (patch) | |
| tree | c15f7b18a32fe25775dbb6acb859af98a43dc638 /include | |
| parent | 3b413c5bfa2595483baaefb006cbad1ee4b489fc (diff) | |
da850evm: Move LPSC configuration to board_early_init_f()
Since commit f1d2b313c9eb6808d30c16a9eb5251240452a56c the serial
port of the da850evm is accessed before the UART2 peripheral of
the SoC is powered on in the function board_init() in
board/davinci/da8xxevm/da850evm.c.
When u-boot is used in conjunction with the UBL (user boot loader, see
doc/README.davinci) on this board, the UART2 peripheral is already
turned on by UBL at the time u-boot is started. Hence, the wrong
initialization sequence is not noticed by most users. However, if UBL is not
used, u-boot must power on the peripheral before using it.
This patch adds a board_early_init_f() function for the LPSC
configuration to the da850evm board configuration.
Signed-off-by: Christian Riesch <[email protected]>
Cc: Sudhakar Rajashekhara <[email protected]>
Cc: Sandeep Paulraj <[email protected]>
Cc: Heiko Schocher <[email protected]>
Cc: Ben Gardiner <[email protected]>
Signed-off-by: Sandeep Paulraj <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/configs/da850evm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/da850evm.h b/include/configs/da850evm.h index cad56209add..b4e489022b2 100644 --- a/include/configs/da850evm.h +++ b/include/configs/da850evm.h @@ -160,6 +160,7 @@ * U-Boot general configuration */ #define CONFIG_MISC_INIT_R +#define CONFIG_BOARD_EARLY_INIT_F #define CONFIG_BOOTFILE "uImage" /* Boot file name */ #define CONFIG_SYS_PROMPT "U-Boot > " /* Command Prompt */ #define CONFIG_SYS_CBSIZE 1024 /* Console I/O Buffer Size */ |
