X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=board%2Feltec%2Felppc%2Fmisc.c;h=5e3a81c6e196c0a1cc5abd9244ecde8403d8cc9c;hb=0e8d158664a913392cb01fb11a948d83f72e105e;hp=5fb20ae66c079c8fa7cae827310bba4c1de79c46;hpb=1ede78710c3bf9ad6f4a53aaddc3bcc86fedd9df;p=platform%2Fkernel%2Fu-boot.git diff --git a/board/eltec/elppc/misc.c b/board/eltec/elppc/misc.c index 5fb20ae..5e3a81c 100644 --- a/board/eltec/elppc/misc.c +++ b/board/eltec/elppc/misc.c @@ -42,7 +42,7 @@ extern int read_eeprom (struct eth_device *dev, int location, int addr_len); void *nvram_read (void *dest, const long src, size_t count) { uchar *d = (uchar *) dest; - uchar *s = (uchar *) (CFG_ENV_MAP_ADRS + src); + uchar *s = (uchar *) (CONFIG_ENV_MAP_ADRS + src); while (count--) *d++ = *s++; @@ -52,7 +52,7 @@ void *nvram_read (void *dest, const long src, size_t count) void nvram_write (long dest, const void *src, size_t count) { - uchar *d = (uchar *) (CFG_ENV_MAP_ADRS + dest); + uchar *d = (uchar *) (CONFIG_ENV_MAP_ADRS + dest); uchar *s = (uchar *) src; while (count--)