X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=board%2Flogicpd%2Fzoom1%2Fzoom1.c;h=d39203a9176e825fc956cf029be6f4b24bbd401a;hb=aac5450ea92abc9109a78cc099d366962148719f;hp=461a852724eb6d7a76dd79d785599a26300a8fcb;hpb=4180b3dba25c2c28cc4502f1c9f1cbad2a9972b8;p=oweals%2Fu-boot.git diff --git a/board/logicpd/zoom1/zoom1.c b/board/logicpd/zoom1/zoom1.c index 461a852724..d39203a917 100644 --- a/board/logicpd/zoom1/zoom1.c +++ b/board/logicpd/zoom1/zoom1.c @@ -15,6 +15,8 @@ * SPDX-License-Identifier: GPL-2.0+ */ #include +#include +#include #include #include #include @@ -41,6 +43,17 @@ static const u32 gpmc_lab_enet[] = { /*CONF7- computed as params */ }; +static const struct ns16550_platdata zoom1_serial = { + OMAP34XX_UART3, + 2, + V_NS16550_CLK +}; + +U_BOOT_DEVICE(zoom1_uart) = { + "serial_omap", + &zoom1_serial +}; + /* * Routine: board_init * Description: Early hardware init. @@ -96,6 +109,11 @@ int board_mmc_init(bd_t *bis) { return omap_mmc_init(0, 0, 0, -1, -1); } + +void board_mmc_power_init(void) +{ + twl4030_power_mmc_init(0); +} #endif #ifdef CONFIG_CMD_NET