atmel, at91: fix taurus board

since commit: f8b7fff1d5 "serial: atmel_usart: Add clk support"

taurus board comes not up anymore. Fix it.

Signed-off-by: Heiko Schocher <hs@denx.de>
Acked-by: Wenyou Yang <wenyou.yang@microchip.com>
This commit is contained in:
Heiko Schocher 2017-06-28 11:24:58 +02:00 committed by Tom Rini
parent e91ead868b
commit be2787bf29
3 changed files with 5 additions and 9 deletions

View file

@ -18,6 +18,7 @@
compatible = "atmel,at91sam9g20ek", "atmel,at91sam9g20", "atmel,at91sam9"; compatible = "atmel,at91sam9g20ek", "atmel,at91sam9g20", "atmel,at91sam9";
chosen { chosen {
u-boot,dm-pre-reloc;
stdout-path = &dbgu; stdout-path = &dbgu;
}; };
@ -48,6 +49,7 @@
}; };
dbgu: serial@fffff200 { dbgu: serial@fffff200 {
u-boot,dm-pre-reloc;
status = "okay"; status = "okay";
}; };

View file

@ -448,12 +448,3 @@ U_BOOT_CMD(
); );
#endif #endif
#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,
};

View file

@ -7,6 +7,7 @@ CONFIG_TARGET_TAURUS=y
CONFIG_SPL_GPIO_SUPPORT=y CONFIG_SPL_GPIO_SUPPORT=y
CONFIG_SPL_LIBCOMMON_SUPPORT=y CONFIG_SPL_LIBCOMMON_SUPPORT=y
CONFIG_SPL_LIBGENERIC_SUPPORT=y CONFIG_SPL_LIBGENERIC_SUPPORT=y
CONFIG_SYS_MALLOC_F_LEN=0x1000
CONFIG_SPL_SERIAL_SUPPORT=y CONFIG_SPL_SERIAL_SUPPORT=y
CONFIG_SPL_NAND_SUPPORT=y CONFIG_SPL_NAND_SUPPORT=y
CONFIG_SPL_SPI_FLASH_SUPPORT=y CONFIG_SPL_SPI_FLASH_SUPPORT=y
@ -36,6 +37,8 @@ CONFIG_CMD_PING=y
# CONFIG_DOS_PARTITION is not set # CONFIG_DOS_PARTITION is not set
CONFIG_OF_CONTROL=y CONFIG_OF_CONTROL=y
CONFIG_OF_EMBED=y CONFIG_OF_EMBED=y
CONFIG_CLK=y
CONFIG_CLK_AT91=y
CONFIG_DFU_NAND=y CONFIG_DFU_NAND=y
# CONFIG_MMC is not set # CONFIG_MMC is not set
CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH=y