1 --- a/drivers/mtd/bcm47xxpart.c
2 +++ b/drivers/mtd/bcm47xxpart.c
3 @@ -199,6 +199,16 @@ static int bcm47xxpart_parse(struct mtd_
7 + /* New (ARM?) devices may have NVRAM in some middle block. Last
8 + * block will be checked later, so skip it.
10 + if (offset != master->size - blocksize &&
11 + buf[0x000 / 4] == NVRAM_HEADER) {
12 + bcm47xxpart_add_part(&parts[curr_part++], "nvram",
17 /* Read middle of the block */
18 if (mtd_read(master, offset + 0x8000, 0x4,
19 &bytes_read, (uint8_t *)buf) < 0) {