summaryrefslogtreecommitdiff
path: root/board/siemens/taurus
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2015-08-21 18:55:07 +0200
committerAndreas Bießmann <andreas.devel@googlemail.com>2015-09-11 09:35:38 +0200
commit0ed366ffba3cc0d5454ba7ad40e99d5f6fb92638 (patch)
treea2f13f95f1b856dfa61f854ba5513d7223b48558 /board/siemens/taurus
parent4054082397d3752d985ae991531e2fec51c6dc82 (diff)
downloadu-boot-imx-0ed366ffba3cc0d5454ba7ad40e99d5f6fb92638.zip
u-boot-imx-0ed366ffba3cc0d5454ba7ad40e99d5f6fb92638.tar.gz
u-boot-imx-0ed366ffba3cc0d5454ba7ad40e99d5f6fb92638.tar.bz2
taurus: board updates
taurus changes: - rename at91_spl_board_init to spl_board_init fixes problems with recovery button and nand erase sector 0 - adapt CONFIG_SPL_MAX_SIZE and CONFIG_SPL_BSS_MAX_SIZE - add CONFIG_AT91_HW_WDT_TIMEOUT 15 - CONFIG_SF_DEFAULT_MODE SPI_MODE_3 not mode 0 Signed-off-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'board/siemens/taurus')
-rw-r--r--board/siemens/taurus/taurus.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/siemens/taurus/taurus.c b/board/siemens/taurus/taurus.c
index 781727e..edeb15b 100644
--- a/board/siemens/taurus/taurus.c
+++ b/board/siemens/taurus/taurus.c
@@ -99,7 +99,7 @@ static int at91_is_recovery(void)
}
#endif
-void at91_spl_board_init(void)
+void spl_board_init(void)
{
taurus_nand_hw_init();
at91_spi0_hw_init(TAURUS_SPI_MASK);
@@ -124,13 +124,13 @@ void at91_spl_board_init(void)
if (at91_is_recovery() == 1) {
struct spi_flash *flash;
- debug("Recovery button pressed\n");
+ puts("Recovery button pressed\n");
nand_init();
spl_nand_erase_one(0, 0);
flash = spi_flash_probe(CONFIG_SF_DEFAULT_BUS,
0,
CONFIG_SF_DEFAULT_SPEED,
- SPI_MODE_3);
+ CONFIG_SF_DEFAULT_MODE);
if (!flash) {
puts("no flash\n");
} else {