diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-07-19 22:20:07 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-07-19 22:20:07 +0000 |
commit | f813a693fd5e07c60c042a0b11ae8e15144fc960 (patch) | |
tree | a1dae749b3ad33263d56c889d557fac19235886b /package/nvram/src/cli.c | |
parent | c811398d00f0b23a9daef2b5f422785233880f34 (diff) | |
download | upstream-f813a693fd5e07c60c042a0b11ae8e15144fc960.tar.gz upstream-f813a693fd5e07c60c042a0b11ae8e15144fc960.tar.bz2 upstream-f813a693fd5e07c60c042a0b11ae8e15144fc960.zip |
nvram: handle nvram at varying offsets within the eraseblock (fixes Edimax PS-1208mfg with FLSH at offset 0)
SVN-Revision: 22299
Diffstat (limited to 'package/nvram/src/cli.c')
-rw-r--r-- | package/nvram/src/cli.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/nvram/src/cli.c b/package/nvram/src/cli.c index 44d4b88fde..66ef904885 100644 --- a/package/nvram/src/cli.c +++ b/package/nvram/src/cli.c @@ -111,6 +111,7 @@ static int do_info(nvram_handle_t *nvram) /* Show info */ printf("Magic: 0x%08X\n", hdr->magic); printf("Length: 0x%08X\n", hdr->len); + printf("Offset: 0x%08X\n", nvram->offset); printf("CRC8: 0x%02X (calculated: 0x%02X)\n", hdr->crc_ver_init & 0xFF, crc); |