]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/davedenx/aria/aria.c
i2c: Drop use of CONFIG_I2C_HARD
[people/ms/u-boot.git] / board / davedenx / aria / aria.c
index 1b6c40f8d518ccbd167e0551f72e68f6e8817463..e389819e9d642e243c0f79fef23ca77e203e37c9 100644 (file)
 
 DECLARE_GLOBAL_DATA_PTR;
 
-phys_size_t initdram (int board_type)
+int dram_init(void)
 {
-       return fixed_sdram(NULL, NULL, 0);
+       gd->ram_size = fixed_sdram(NULL, NULL, 0);
+
+       return 0;
 }
 
 int misc_init_r(void)
 {
        u32 tmp;
 
-       /* we use I2C-2 for on-board eeprom */
-       i2c_set_bus_num(2);
-
        tmp = in_be32((u32*)CONFIG_SYS_ARIA_FPGA_BASE);
        printf("FPGA:  %u-%u.%u.%u\n",
                (tmp & 0xFF000000) >> 24,