From a818704b2eeeb7100e5a95f54a6db4be36dba630 Mon Sep 17 00:00:00 2001 From: "Wenyou.Yang@microchip.com" Date: Fri, 21 Jul 2017 17:06:40 +0800 Subject: board: meesc: Update to support DT and DM Add the dts files to support deivce tree, update the configuration files to support the device tree and driver model. The peripheral clock and pins configuration are handled by the clock and the pinctrl drivers respectively. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass --- board/esd/meesc/meesc.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'board/esd') diff --git a/board/esd/meesc/meesc.c b/board/esd/meesc/meesc.c index e4bda7909a..93a02ab0ee 100644 --- a/board/esd/meesc/meesc.c +++ b/board/esd/meesc/meesc.c @@ -247,13 +247,8 @@ int misc_init_r(void) int board_early_init_f(void) { - at91_periph_clk_enable(ATMEL_ID_PIOA); - at91_periph_clk_enable(ATMEL_ID_PIOB); - at91_periph_clk_enable(ATMEL_ID_PIOCDE); at91_periph_clk_enable(ATMEL_ID_UHP); - at91_seriald_hw_init(); - return 0; } @@ -268,9 +263,6 @@ int board_init(void) #ifdef CONFIG_CMD_NAND meesc_nand_hw_init(); #endif -#ifdef CONFIG_HAS_DATAFLASH - at91_spi0_hw_init(1 << 0); -#endif #ifdef CONFIG_MACB meesc_macb_hw_init(); #endif -- cgit v1.2.1