diff options
Diffstat (limited to 'board/etin/debris')
-rw-r--r-- | board/etin/debris/debris.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/etin/debris/debris.c b/board/etin/debris/debris.c index 3fcf78e..a5d394c 100644 --- a/board/etin/debris/debris.c +++ b/board/etin/debris/debris.c @@ -174,7 +174,7 @@ void nvram_write(long dest, const void *src, size_t count) int misc_init_r(void) { /* Write ethernet addr in NVRAM for VxWorks */ - nvram_write(CFG_ENV_ADDR + CFG_NVRAM_VXWORKS_OFFS, + nvram_write(CONFIG_ENV_ADDR + CFG_NVRAM_VXWORKS_OFFS, (char*)&gd->bd->bi_enetaddr[0], 6); return 0; } |