mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[package] nvram: handle nvram at varying offsets within the eraseblock (fixes Edimax PS-1208mfg with FLSH at offset 0)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22299 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user