X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=board%2Fphytec%2Fpcm051%2Fboard.c;h=034886ad5d9da980ffbd6c7cfe5a0c64491b0d8d;hb=6789e84ecaa8f45d053084e08c381284a04abff7;hp=e40b0bd44df890887a38e12e3f0685fde66a8f05;hpb=985a71d15b8bd9cfbeae1ac1b08a5319abfd246c;p=platform%2Fkernel%2Fu-boot.git diff --git a/board/phytec/pcm051/board.c b/board/phytec/pcm051/board.c index e40b0bd..034886a 100644 --- a/board/phytec/pcm051/board.c +++ b/board/phytec/pcm051/board.c @@ -91,7 +91,7 @@ void set_mux_conf_regs(void) { /* Initalize the board header */ enable_i2c0_pin_mux(); - i2c_init(CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE); + i2c_init(CONFIG_SYS_OMAP24_I2C_SPEED, CONFIG_SYS_OMAP24_I2C_SLAVE); enable_board_pin_mux(); } @@ -108,7 +108,7 @@ void sdram_init(void) */ int board_init(void) { - i2c_init(CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE); + i2c_init(CONFIG_SYS_OMAP24_I2C_SPEED, CONFIG_SYS_OMAP24_I2C_SLAVE); gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; @@ -150,6 +150,7 @@ static struct cpsw_platform_data cpsw_data = { .ale_entries = 1024, .host_port_reg_ofs = 0x108, .hw_stats_reg_ofs = 0x900, + .bd_ram_ofs = 0x2000, .mac_control = (1 << 5), .control = cpsw_control, .host_port_num = 0,