Skip to content

Commit

Permalink
support new M460/M253 and M029
Browse files Browse the repository at this point in the history
  • Loading branch information
PWHSU0 committed Aug 1, 2023
1 parent 1373256 commit 2b5167d
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
7 changes: 7 additions & 0 deletions NuvoISP/DataBase/FlashInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ void *GetInfo(unsigned int uPID,
#ifdef USE_FLASH_PID_INFO_TABLE
static FLASH_PID_INFO_BASE_T g_FlashPIDs[] = {
//AP size, DF size, RAM size, DF address, LD size, PDID Part no.
{ 32 * 1024, 0 * 1024, 2 * 1024, 0x00008000, 2 * 1024, 0x011296F1}, //M029GGC0AE
{ 64 * 1024, 0 * 1024, 4 * 1024, 0x00010000, 2 * 1024, 0x011306F0}, //M030GGD1AE
{ 64 * 1024, 0 * 1024, 4 * 1024, 0x00010000, 2 * 1024, 0x011306E0}, //M030GTD1AE
{ 32 * 1024, 0 * 1024, 4 * 1024, 0x00008000, 2 * 1024, 0x011306F2}, //M030GGC1AE
Expand Down Expand Up @@ -616,6 +617,9 @@ void *GetInfo(unsigned int uPID,
{ 256 * 1024, 0 * 1024, 128 * 1024, 0x00040000, 8 * 1024, 0x01C46080}, //M460AGCAE
{ 256 * 1024, 0 * 1024, 128 * 1024, 0x00040000, 8 * 1024, 0x01C46000}, //M460LGCAE
{ 256 * 1024, 0 * 1024, 128 * 1024, 0x00040000, 8 * 1024, 0x01C46090}, //M460YGCAE
{ 256 * 1024, 0 * 1024, 128 * 1024, 0x00040000, 8 * 1024, 0x01C4634E}, //M463K3GCAC
{ 256 * 1024, 0 * 1024, 128 * 1024, 0x00040000, 8 * 1024, 0x01C4631E}, //M463S3GCAC
{ 256 * 1024, 0 * 1024, 128 * 1024, 0x00040000, 8 * 1024, 0x01C4630E}, //M463L3GCAC
{ 512 * 1024, 32 * 1024, 64 * 1024, 0x00008000, 4 * 1024, 0x01647140}, //M471KI8AE
{ 512 * 1024, 32 * 1024, 64 * 1024, 0x00008000, 4 * 1024, 0x01647130}, //M471VI8AE
{ 256 * 1024, 32 * 1024, 48 * 1024, 0x00008000, 4 * 1024, 0x01647131}, //M471VG7AE
Expand Down Expand Up @@ -668,6 +672,9 @@ void *GetInfo(unsigned int uPID,
{ 128 * 1024, 0 * 1024, 16 * 1024, 0x00020000, 4 * 1024, 0x00F250E0}, //M253ZE3AE
{ 128 * 1024, 0 * 1024, 16 * 1024, 0x00020000, 4 * 1024, 0x00F25001}, //M253LE3AE
{ 64 * 1024, 0 * 1024, 16 * 1024, 0x00010000, 4 * 1024, 0x00F25000}, //M253LD3AE
{ 128 * 1024, 0 * 1024, 16 * 1024, 0x00020000, 4 * 1024, 0x00F250E1}, //M253ZE3BE
{ 128 * 1024, 0 * 1024, 16 * 1024, 0x00020000, 4 * 1024, 0x00F25003}, //M253LE3BE
{ 64 * 1024, 0 * 1024, 16 * 1024, 0x00010000, 4 * 1024, 0x00F25002}, //M253LD3BE
{ 64 * 1024, 0 * 1024, 8 * 1024, 0x00010000, 4 * 1024, 0x01A25411}, //M254SD2AE
{ 64 * 1024, 0 * 1024, 8 * 1024, 0x00010000, 4 * 1024, 0x01A256A1}, //M256MD2AE
{ 64 * 1024, 0 * 1024, 8 * 1024, 0x00010000, 4 * 1024, 0x01A25611}, //M256SD2AE
Expand Down
25 changes: 25 additions & 0 deletions NuvoISP/DataBase/PartNumID.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -730,8 +730,11 @@ struct CPartNumID g_PartNumIDs[] = {
{"M258KE3AE", 0x00F25841, IDD_DIALOG_CHIP_SETTING_CFG_M258},

{"M253ZE3AE", 0x00F250E0, IDD_DIALOG_CHIP_SETTING_CFG_M258},
{"M253ZE3BE", 0x00F250E1, IDD_DIALOG_CHIP_SETTING_CFG_M258},
{"M253LE3AE", 0x00F25001, IDD_DIALOG_CHIP_SETTING_CFG_M258},
{"M253LE3BE", 0x00F25003, IDD_DIALOG_CHIP_SETTING_CFG_M258},
{"M253LD3AE", 0x00F25000, IDD_DIALOG_CHIP_SETTING_CFG_M258},
{"M253LD3BE", 0x00F25002, IDD_DIALOG_CHIP_SETTING_CFG_M258},

/* M256D series */
{"M254SD2AE", 0x01A25411, IDD_DIALOG_CHIP_SETTING_CFG_M258},
Expand Down Expand Up @@ -794,6 +797,13 @@ struct CPartNumID g_PartNumIDs[] = {
{"M2L31CGDAE", 0x01F310A1, NUC_CHIP_TYPE_M2L31},
{"M2L31XD4AE", 0x01F310B4, NUC_CHIP_TYPE_M2L31},

/*
{"M2003FC1AE", 0x01F03CB0, NUC_CHIP_TYPE_M2003},
{"M2003XC1AE", 0x01F03C80, NUC_CHIP_TYPE_M2003},
{"M2P481QC1AE", 0x01F03C9F, NUC_CHIP_TYPE_M2003},
{"KN44490A", 0x01F03CFF, NUC_CHIP_TYPE_M2003},
*/

/* M0A21 */
{"M0A21OB1AC", 0x015A2121, NUC_CHIP_TYPE_M0A21},
{"M0A21OC1AC", 0x015A2120, NUC_CHIP_TYPE_M0A21},
Expand All @@ -804,6 +814,8 @@ struct CPartNumID g_PartNumIDs[] = {
{"M0A23OC1ACU", 0x015A2321, NUC_CHIP_TYPE_M0A21},
{"M0A23EC1ACU", 0x015A23A1, NUC_CHIP_TYPE_M0A21},

/* M029G */
{"M029GGC0AE", 0x011296F1, NUC_CHIP_TYPE_M030G},
/* M030G (GPON) */
{"M030GGD1AE", 0x011306F0, NUC_CHIP_TYPE_M030G},
{"M030GTD1AE", 0x011306E0, NUC_CHIP_TYPE_M030G},
Expand Down Expand Up @@ -864,6 +876,14 @@ struct CPartNumID g_PartNumIDs[] = {
{"M460AGCAE", 0x01C46080, NUC_CHIP_TYPE_M460},
{"M460LGCAE", 0x01C46000, NUC_CHIP_TYPE_M460},
{"M460YGCAE", 0x01C46090, NUC_CHIP_TYPE_M460},

//{"M463K2GCAC", 0x01C46240, NUC_CHIP_TYPE_M460},
//{"M463S2GCAC", 0x01C46210, NUC_CHIP_TYPE_M460},
//{"M463L2GCAC", 0x01C46200, NUC_CHIP_TYPE_M460},
{"M463K3GCAC", 0x01C4634E, NUC_CHIP_TYPE_M460},
{"M463S3GCAC", 0x01C4631E, NUC_CHIP_TYPE_M460},
{"M463L3GCAC", 0x01C4630E, NUC_CHIP_TYPE_M460},


/* M471 */
{"M471KI8AE", 0x01647140, NUC_CHIP_TYPE_M471},
Expand Down Expand Up @@ -948,6 +968,11 @@ struct CPartNumID g_PartNumIDs[] = {
{"ML51LD1AE", 0x00105744, NUC_CHIP_TYPE_GENERAL_1T},
{"ML51TD1AE", 0x0C105744, NUC_CHIP_TYPE_GENERAL_1T},

/*
{"MUG51TB9AE",0x0C106321, NUC_CHIP_TYPE_GENERAL_1T},
{"MUG51W", 0xFFFF6321, NUC_CHIP_TYPE_GENERAL_1T},
*/

/* KAG056 */
{"MG51XB9AE", 0x05006721, NUC_CHIP_TYPE_GENERAL_1T},
{"MG51XB9BE", 0x0E006721, NUC_CHIP_TYPE_GENERAL_1T},
Expand Down

0 comments on commit 2b5167d

Please sign in to comment.