]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/renesas/alt/alt.c
arm: rmobile: alt: Remove board_late_init function
[karo-tx-uboot.git] / board / renesas / alt / alt.c
index 9d8e8f96be8f1685b3bbbf89127038bbfeab4a59..cf6d64c49a1de1a2f3843bff9fb2a7c9aa07b976 100644 (file)
@@ -43,7 +43,7 @@ void s_init(void)
 
 #define MSTPSR7                0xE61501C4
 #define SMSTPCR7       0xE615014C
-#define SCIF0_MSTP719  (1 << 19)
+#define SCIF2_MSTP719  (1 << 19)
 
 #define MSTPSR8                0xE61509A0
 #define SMSTPCR8       0xE6150990
@@ -63,8 +63,8 @@ int board_early_init_f(void)
        /* TMU */
        mstp_clrbits_le32(MSTPSR1, SMSTPCR1, TMU0_MSTP125);
 
-       /* SCIF0 */
-       mstp_clrbits_le32(MSTPSR7, SMSTPCR7, SCIF0_MSTP719);
+       /* SCIF2 */
+       mstp_clrbits_le32(MSTPSR7, SMSTPCR7, SCIF2_MSTP719);
 
        /* ETHER */
        mstp_clrbits_le32(MSTPSR8, SMSTPCR8, ETHER_MSTP813);
@@ -140,7 +140,6 @@ int board_eth_init(bd_t *bis)
 
 int dram_init(void)
 {
-       gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE;
        gd->ram_size = CONFIG_SYS_SDRAM_SIZE;
 
        return 0;
@@ -156,11 +155,6 @@ void dram_init_banksize(void)
        gd->bd->bi_dram[0].size = ALT_SDRAM_SIZE;
 }
 
-int board_late_init(void)
-{
-       return 0;
-}
-
 void reset_cpu(ulong addr)
 {
        u8 val;