From: Heiko Schocher Date: Wed, 28 Jun 2017 09:24:58 +0000 (+0200) Subject: atmel, at91: fix taurus board X-Git-Tag: v2017.07-rc3~19 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=be2787bf29a066e603235a694325ce74426043b4;p=u-boot atmel, at91: fix taurus board since commit: f8b7fff1d5c5 "serial: atmel_usart: Add clk support" taurus board comes not up anymore. Fix it. Signed-off-by: Heiko Schocher Acked-by: Wenyou Yang --- diff --git a/arch/arm/dts/at91sam9g20-taurus.dts b/arch/arm/dts/at91sam9g20-taurus.dts index f27d77279f..7931c0af7b 100644 --- a/arch/arm/dts/at91sam9g20-taurus.dts +++ b/arch/arm/dts/at91sam9g20-taurus.dts @@ -18,6 +18,7 @@ compatible = "atmel,at91sam9g20ek", "atmel,at91sam9g20", "atmel,at91sam9"; chosen { + u-boot,dm-pre-reloc; stdout-path = &dbgu; }; @@ -48,6 +49,7 @@ }; dbgu: serial@fffff200 { + u-boot,dm-pre-reloc; status = "okay"; }; diff --git a/board/siemens/taurus/taurus.c b/board/siemens/taurus/taurus.c index 8da24be568..4aa8d64869 100644 --- a/board/siemens/taurus/taurus.c +++ b/board/siemens/taurus/taurus.c @@ -448,12 +448,3 @@ U_BOOT_CMD( ); #endif #endif - -static struct atmel_serial_platdata at91sam9260_serial_plat = { - .base_addr = ATMEL_BASE_DBGU, -}; - -U_BOOT_DEVICE(at91sam9260_serial) = { - .name = "serial_atmel", - .platdata = &at91sam9260_serial_plat, -}; diff --git a/configs/taurus_defconfig b/configs/taurus_defconfig index 2de9cad688..70d44a760b 100644 --- a/configs/taurus_defconfig +++ b/configs/taurus_defconfig @@ -7,6 +7,7 @@ CONFIG_TARGET_TAURUS=y CONFIG_SPL_GPIO_SUPPORT=y CONFIG_SPL_LIBCOMMON_SUPPORT=y CONFIG_SPL_LIBGENERIC_SUPPORT=y +CONFIG_SYS_MALLOC_F_LEN=0x1000 CONFIG_SPL_SERIAL_SUPPORT=y CONFIG_SPL_NAND_SUPPORT=y CONFIG_SPL_SPI_FLASH_SUPPORT=y @@ -36,6 +37,8 @@ CONFIG_CMD_PING=y # CONFIG_DOS_PARTITION is not set CONFIG_OF_CONTROL=y CONFIG_OF_EMBED=y +CONFIG_CLK=y +CONFIG_CLK_AT91=y CONFIG_DFU_NAND=y # CONFIG_MMC is not set CONFIG_SPI_FLASH=y