aboutsummaryrefslogtreecommitdiff
path: root/board/esd/meesc
diff options
context:
space:
mode:
authorWenyou.Yang@microchip.com <Wenyou.Yang@microchip.com>2017-07-21 17:06:40 +0800
committerTom Rini <trini@konsulko.com>2017-08-04 20:38:37 -0400
commita818704b2eeeb7100e5a95f54a6db4be36dba630 (patch)
treeefd5f87dbf5017d3cf848804e53c8b6bf60f799d /board/esd/meesc
parentc53a825e15ca74902e9d5f68d839011dc11e055f (diff)
downloadu-boot-a818704b2eeeb7100e5a95f54a6db4be36dba630.zip
u-boot-a818704b2eeeb7100e5a95f54a6db4be36dba630.tar.gz
u-boot-a818704b2eeeb7100e5a95f54a6db4be36dba630.tar.bz2
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 <wenyou.yang@microchip.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/esd/meesc')
-rw-r--r--board/esd/meesc/meesc.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/board/esd/meesc/meesc.c b/board/esd/meesc/meesc.c
index e4bda79..93a02ab 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