From 6b873dcabd85ca4109a76c488c653609ea71c848 Mon Sep 17 00:00:00 2001 From: Sughosh Ganu Date: Thu, 2 Feb 2012 00:44:41 +0000 Subject: 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 Signed-off-by: Heiko Schocher Cc: Heiko Schocher Cc: Christian Riesch Cc: Sudhakar Rajashekhara Cc: Tom Rini Acked-by: Christian Riesch --- board/enbw/enbw_cmc/enbw_cmc.c | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'board/enbw') diff --git a/board/enbw/enbw_cmc/enbw_cmc.c b/board/enbw/enbw_cmc/enbw_cmc.c index 98dda1eada..16d1b08675 100644 --- a/board/enbw/enbw_cmc/enbw_cmc.c +++ b/board/enbw/enbw_cmc/enbw_cmc.c @@ -49,7 +49,7 @@ DECLARE_GLOBAL_DATA_PTR; -static const struct lpsc_resource lpsc[] = { +const struct lpsc_resource lpsc[] = { { DAVINCI_LPSC_AEMIF }, { DAVINCI_LPSC_SPI1 }, { DAVINCI_LPSC_ARM_RAM_ROM }, @@ -65,6 +65,8 @@ static const struct lpsc_resource lpsc[] = { { DAVINCI_LPSC_USB11 }, }; +const int lpsc_size = ARRAY_SIZE(lpsc); + static const struct pinmux_config enbw_pins[] = { { pinmux(0), 8, 0 }, { pinmux(0), 8, 1 }, @@ -548,15 +550,6 @@ void board_gpio_init(void) { struct davinci_gpio *gpio = davinci_gpio_bank01; - /* - * Power on required peripherals - * ARM does not have access by default to PSC0 and PSC1 - * assuming here that the DSP bootloader has set the IOPU - * such that PSC access is available to ARM - */ - if (da8xx_configure_lpsc_items(lpsc, ARRAY_SIZE(lpsc))) - return; - /* * set LED (gpio Interface not usable here) * set LED pins to output and state 0 -- cgit v1.2.1