diff options
| author | Sughosh Ganu <urwithsughosh@gmail.com> | 2012-02-02 00:44:41 +0000 | 
|---|---|---|
| committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-02-12 10:11:33 +0100 | 
| commit | 6b873dcabd85ca4109a76c488c653609ea71c848 (patch) | |
| tree | d1b5defe382eb04d716d527c8595dd3358a6238d /board/davinci/da8xxevm/hawkboard.c | |
| parent | d735a99d3b15daa8edfc10e52fa8860c06fe803c (diff) | |
| download | olio-uboot-2014.01-6b873dcabd85ca4109a76c488c653609ea71c848.tar.xz olio-uboot-2014.01-6b873dcabd85ca4109a76c488c653609ea71c848.zip | |
Changes to move hawkboard to the new spl infrastructure
This patch moves hawkboard to the new spl infrastructure from the
older nand_spl one.
Removed the hawkboard_nand_config build option -- The spl code now
gets compiled with hawkboard_config, after building the main u-boot
image, using the CONFIG_SPL_TEXT_BASE. Modified the README.hawkboard
to reflect the same.
Signed-off-by: Sughosh Ganu <urwithsughosh@gmail.com>
Signed-off-by: Heiko Schocher <hs@denx.de>
Cc: Heiko Schocher <hs@denx.de>
Cc: Christian Riesch <christian.riesch@omicron.at>
Cc: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
Cc: Tom Rini <trini@ti.com>
Acked-by: Christian Riesch <christian.riesch@omicron.at>
Diffstat (limited to 'board/davinci/da8xxevm/hawkboard.c')
| -rw-r--r-- | board/davinci/da8xxevm/hawkboard.c | 23 | 
1 files changed, 23 insertions, 0 deletions
| diff --git a/board/davinci/da8xxevm/hawkboard.c b/board/davinci/da8xxevm/hawkboard.c index 9d4e238bf..b6942589f 100644 --- a/board/davinci/da8xxevm/hawkboard.c +++ b/board/davinci/da8xxevm/hawkboard.c @@ -27,10 +27,33 @@  #include <asm/arch/hardware.h>  #include <asm/io.h>  #include <asm/arch/davinci_misc.h> +#include <asm/arch/pinmux_defs.h>  #include <ns16550.h>  DECLARE_GLOBAL_DATA_PTR; +const struct pinmux_resource pinmuxes[] = { +	PINMUX_ITEM(emac_pins_mii), +	PINMUX_ITEM(emac_pins_mdio), +	PINMUX_ITEM(emifa_pins_cs3), +	PINMUX_ITEM(emifa_pins_cs4), +	PINMUX_ITEM(emifa_pins_nand), +	PINMUX_ITEM(uart2_pins_txrx), +	PINMUX_ITEM(uart2_pins_rtscts), +}; + +const int pinmuxes_size = ARRAY_SIZE(pinmuxes); + +const struct lpsc_resource lpsc[] = { +	{ DAVINCI_LPSC_AEMIF },	/* NAND, NOR */ +	{ DAVINCI_LPSC_SPI1 },	/* Serial Flash */ +	{ DAVINCI_LPSC_EMAC },	/* image download */ +	{ DAVINCI_LPSC_UART2 },	/* console */ +	{ DAVINCI_LPSC_GPIO }, +}; + +const int lpsc_size = ARRAY_SIZE(lpsc); +  int board_init(void)  {  	/* arch number of the board */ |