humax: add nvram fields to support gflt300
Change-Id: I12d7bfa47bbda13c450d19758815ae2e111532db
diff --git a/libupgrade/hmx_upgrade_nvram.c b/libupgrade/hmx_upgrade_nvram.c
index 3aed6f1..2415b0e 100644
--- a/libupgrade/hmx_upgrade_nvram.c
+++ b/libupgrade/hmx_upgrade_nvram.c
@@ -166,6 +166,9 @@
{NVRAM_FIELD_MAC_ADDR_WIFI2, "MAC_ADDR_WIFI2", HMX_NVRAM_PARTITION_RO, 0},
{NVRAM_FIELD_MAC_ADDR_WAN, "MAC_ADDR_WAN", HMX_NVRAM_PARTITION_RO, 0},
{NVRAM_FIELD_UITYPE, "UITYPE", HMX_NVRAM_PARTITION_RW, 0},
+ {NVRAM_FIELD_LASER_CHANNEL, "LASER_CHANNEL", HMX_NVRAM_PARTITION_RW, 0},
+ {NVRAM_FIELD_MAC_ADDR_PON, "MAC_ADDR_PON", HMX_NVRAM_PARTITION_RO, 0},
+ {NVRAM_FIELD_PRODUCTION_UNIT, "PRODUCTION_UNIT", HMX_NVRAM_PARTITION_RW, 0},
{NVRAM_FIELD_DUMMY, "DUMMY", HMX_NVRAM_PARTITION_RW, 0}
};
/* End typedef */
diff --git a/libupgrade/hmx_upgrade_nvram.h b/libupgrade/hmx_upgrade_nvram.h
index 743f71a..a98a78b 100644
--- a/libupgrade/hmx_upgrade_nvram.h
+++ b/libupgrade/hmx_upgrade_nvram.h
@@ -112,6 +112,9 @@
NVRAM_FIELD_MAC_ADDR_WIFI2,
NVRAM_FIELD_MAC_ADDR_WAN,
NVRAM_FIELD_UITYPE,
+ NVRAM_FIELD_LASER_CHANNEL,
+ NVRAM_FIELD_MAC_ADDR_PON,
+ NVRAM_FIELD_PRODUCTION_UNIT,
NVRAM_FIELD_DUMMY = 0xFFFF
} NVRAM_FIELD_T;