]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/quipos/cairo/cairo.c
Merge branch 'master' of git://git.denx.de/u-boot-mmc
[people/ms/u-boot.git] / board / quipos / cairo / cairo.c
index 77e4482906f075cfeadc7e640d763e109381a028..6cf54095f541f28cd6e5a0bcab9ee99b6fbdad65 100644 (file)
 
 DECLARE_GLOBAL_DATA_PTR;
 
-/*
- * MUSB port on OMAP3EVM Rev >= E requires extvbus programming.
- */
-u8 omap3_evm_need_extvbus(void)
-{
-       u8 retval = 0;
-
-       /* TODO: verify if cairo handheld platform needs extvbus programming */
-
-       return retval;
-}
-
 /*
  * Routine: board_init
  * Description: Early hardware init.
@@ -45,7 +33,7 @@ int board_init(void)
 {
        gpmc_init(); /* in SRAM or SDRAM, finish GPMC */
        /* board id for Linux */
-       gd->bd->bi_arch_number = MACH_TYPE_OMAP3_CAIRO;
+       gd->bd->bi_arch_number = CONFIG_MACH_TYPE;
        /* boot param addr */
        gd->bd->bi_boot_params = (OMAP34XX_SDRC_CS0 + 0x100);
        return 0;
@@ -62,7 +50,7 @@ void set_muxconf_regs(void)
        MUX_CAIRO();
 }
 
-#if defined(CONFIG_GENERIC_MMC) && !defined(CONFIG_SPL_BUILD)
+#if defined(CONFIG_MMC)
 int board_mmc_init(bd_t *bis)
 {
        return omap_mmc_init(0, 0, 0, -1, -1);
@@ -93,7 +81,8 @@ void get_board_mem_timings(struct board_sdrc_timings *timings)
 static const struct ns16550_platdata cairo_serial = {
        .base = OMAP34XX_UART2,
        .reg_shift = 2,
-       .clock = V_NS16550_CLK
+       .clock = V_NS16550_CLK,
+       .fcr = UART_FCR_DEFVAL,
 };
 
 U_BOOT_DEVICE(cairo_uart) = {