projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
i2c, omap24xx: convert driver to new mutlibus/mutliadapter framework
[platform/kernel/u-boot.git]
/
board
/
phytec
/
pcm051
/
board.c
diff --git
a/board/phytec/pcm051/board.c
b/board/phytec/pcm051/board.c
index
e40b0bd
..
034886a
100644
(file)
--- 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();
{
/* 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();
}
enable_board_pin_mux();
}
@@
-108,7
+108,7
@@
void sdram_init(void)
*/
int board_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;
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,
.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,
.mac_control = (1 << 5),
.control = cpsw_control,
.host_port_num = 0,