X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=board%2Fw7o%2Fw7o.c;h=22cdfcd7d756b5c553fa158c23430a5ec0c4eac7;hb=5ba1ef507402bc5e344dc374203792a40f222e8a;hp=7a3d63a4bf30c5326d0b9d67d26750cb8b785b8e;hpb=bbeff30cbd1c5d551eb0ad1c2239ec01844c0b0a;p=u-boot diff --git a/board/w7o/w7o.c b/board/w7o/w7o.c index 7a3d63a4bf..22cdfcd7d7 100644 --- a/board/w7o/w7o.c +++ b/board/w7o/w7o.c @@ -132,7 +132,7 @@ int checkboard (void) puts ("Board: "); /* VPD data present in I2C EEPROM */ - if (vpd_get_data (CFG_DEF_EEPROM_ADDR, &vpd) == 0) { + if (vpd_get_data (CONFIG_SYS_DEF_EEPROM_ADDR, &vpd) == 0) { /* * Known board type. */ @@ -152,7 +152,7 @@ int checkboard (void) /* ------------------------------------------------------------------------- */ -long int initdram (int board_type) +phys_size_t initdram (int board_type) { /* * ToDo: Move the asm init routine sdram_init() to this C file, @@ -204,7 +204,7 @@ static void w7o_env_init (VPD * vpd) /* * Read VPD */ - if (vpd_get_data (CFG_DEF_EEPROM_ADDR, vpd) != 0) + if (vpd_get_data (CONFIG_SYS_DEF_EEPROM_ADDR, vpd) != 0) return; /*