Update NVRAM support for B0 boards.

Humax moved the NVRAM in B0, to make more room for variables.

Though we could set NVRAM parameters in A0, the bootloader didn't do
anything with them. Therefore we propose to only support B0 with this
library, and write NVRAM variables to the "wrong" offset for A0.
The A0 boards don't store anything at the new locations, it will be
harmless.
               A0          B0
RO OFFSET  0x00000000  0x00000000
RO SIZE    0x00080000  0x00100000
RW OFFSET  0x00080000  0x00100000
RW SIZE    0x00020000  0x00040000

Change-Id: I481c8d7ea83af7d74242cad7b41fa127ffb7da02
diff --git a/libupgrade/hmx_upgrade_nvram.c b/libupgrade/hmx_upgrade_nvram.c
index 63bcbf5..0f6866e 100644
--- a/libupgrade/hmx_upgrade_nvram.c
+++ b/libupgrade/hmx_upgrade_nvram.c
@@ -78,9 +78,9 @@
 #define SEM_Release(x)	(void)(x)

 

 #define NVRAM_RO_OFFSET	0x0

-#define NVRAM_RO_SIZE		0x00080000

+#define NVRAM_RO_SIZE		0x00100000

 #define NVRAM_RW_OFFSET	( NVRAM_RO_OFFSET + NVRAM_RO_SIZE )

-#define NVRAM_RW_SIZE		0x00020000

+#define NVRAM_RW_SIZE		0x00040000

 #define NVRAM_RWB_OFFSET	( NVRAM_RW_OFFSET + NVRAM_RW_SIZE)

 #define NVRAM_RWB_SIZE		0x00020000

 #define RAW_FS_OFFSET		( NVRAM_RWB_OFFSET + NVRAM_RWB_SIZE)