diff --git a/sdk/X-AIOS-LT00-V1.0.4/base/soc/qm10xd/linux/bsp/kernel/linux-5.10.y/drivers/mtd/nand/raw/nand_ids.c b/sdk/X-AIOS-LT00-V1.0.4/base/soc/qm10xd/linux/bsp/kernel/linux-5.10.y/drivers/mtd/nand/raw/nand_ids.c index ad999093a..4215e4599 100755 --- a/sdk/X-AIOS-LT00-V1.0.4/base/soc/qm10xd/linux/bsp/kernel/linux-5.10.y/drivers/mtd/nand/raw/nand_ids.c +++ b/sdk/X-AIOS-LT00-V1.0.4/base/soc/qm10xd/linux/bsp/kernel/linux-5.10.y/drivers/mtd/nand/raw/nand_ids.c @@ -83,6 +83,9 @@ struct nand_flash_dev nand_flash_ids[] = { { .id = {0xCD, 0x71, 0x71} }, SZ_2K, SZ_128, SZ_128K, 0, 3, 64, NAND_ECC_INFO(8, SZ_1K)}, + {"GD5F1GQ5R", + { .id = {0xC8, 0x41} }, + SZ_2K, SZ_128, SZ_128K, NAND_FORCE_SLC, 2, 64, NAND_ECC_INFO(8, SZ_1K)}, {"GD5F1GQ5X", { .id = {0xC8, 0x51} }, SZ_2K, SZ_128, SZ_128K, NAND_FORCE_SLC, 2, 64, NAND_ECC_INFO(8, SZ_1K)}, diff --git a/sdk/X-AIOS-LT00-V1.0.4/base/soc/qm10xd/linux/bsp/ramboot/board/molchip/flash/molchip_nand_spl.c b/sdk/X-AIOS-LT00-V1.0.4/base/soc/qm10xd/linux/bsp/ramboot/board/molchip/flash/molchip_nand_spl.c index 627574c0b..8f58bcfe5 100755 --- a/sdk/X-AIOS-LT00-V1.0.4/base/soc/qm10xd/linux/bsp/ramboot/board/molchip/flash/molchip_nand_spl.c +++ b/sdk/X-AIOS-LT00-V1.0.4/base/soc/qm10xd/linux/bsp/ramboot/board/molchip/flash/molchip_nand_spl.c @@ -205,6 +205,20 @@ struct spi_nand_flash spi_nand_table[] = { .options = SPINAND_SUPPORT_DUAL | SPINAND_SUPPORT_QUAD , }, #endif + { + .name = "GD5F1GQ5R", + .id_info = { + .id_addr = SPI_NAND_ID_NO_DUMMY, + .id_len = 2, + }, + .dev_id = {0xC8, 0x41}, + .page_size = 2048, + .page_spare_size = 64, + .pages_per_blk = 64, + .blks_per_chip = 1024, + .options = SPINAND_SUPPORT_DUAL | SPINAND_SUPPORT_QUAD , + }, + { .name = "GD5F1GQ5X", .id_info = { diff --git a/sdk/X-AIOS-LT00-V1.0.4/base/soc/qm10xd/linux/bsp/uboot/uboot/board/molchip/flash/molchip_nand_spl.c b/sdk/X-AIOS-LT00-V1.0.4/base/soc/qm10xd/linux/bsp/uboot/uboot/board/molchip/flash/molchip_nand_spl.c index 39f34bdcc..40690940b 100755 --- a/sdk/X-AIOS-LT00-V1.0.4/base/soc/qm10xd/linux/bsp/uboot/uboot/board/molchip/flash/molchip_nand_spl.c +++ b/sdk/X-AIOS-LT00-V1.0.4/base/soc/qm10xd/linux/bsp/uboot/uboot/board/molchip/flash/molchip_nand_spl.c @@ -205,6 +205,20 @@ struct spi_nand_flash spi_nand_table[] = { .options = SPINAND_SUPPORT_DUAL | SPINAND_SUPPORT_QUAD , }, #endif + { + .name = "GD5F1GQ5R", + .id_info = { + .id_addr = SPI_NAND_ID_NO_DUMMY, + .id_len = 2, + }, + .dev_id = {0xC8, 0x41}, + .page_size = 2048, + .page_spare_size = 64, + .pages_per_blk = 64, + .blks_per_chip = 1024, + .options = SPINAND_SUPPORT_DUAL | SPINAND_SUPPORT_QUAD , + }, + { .name = "GD5F1GQ5X", .id_info = { diff --git a/sdk/X-AIOS-LT00-V1.0.4/base/soc/qm10xd/linux/bsp/uboot/uboot/drivers/mtd/nand/nand_ids.c b/sdk/X-AIOS-LT00-V1.0.4/base/soc/qm10xd/linux/bsp/uboot/uboot/drivers/mtd/nand/nand_ids.c index 8c3f0a7db..6fe890687 100755 --- a/sdk/X-AIOS-LT00-V1.0.4/base/soc/qm10xd/linux/bsp/uboot/uboot/drivers/mtd/nand/nand_ids.c +++ b/sdk/X-AIOS-LT00-V1.0.4/base/soc/qm10xd/linux/bsp/uboot/uboot/drivers/mtd/nand/nand_ids.c @@ -115,6 +115,10 @@ struct nand_flash_dev nand_flash_ids[] = { SZ_2K, SZ_128, SZ_128K, 0, 2, 64, NAND_ECC_INFO(8, SZ_1K), 0 }, #endif + {"GD5F1GQ5R 3.3V SPI", + { .id = {0xC8, 0x41 } }, + SZ_2K, SZ_128, SZ_128K, 0, 2, 64, NAND_ECC_INFO(8, SZ_1K), + 0 }, {"GD5F1GQ5X 3.3V SPI", { .id = {0xC8, 0x51 } }, SZ_2K, SZ_128, SZ_128K, 0, 2, 64, NAND_ECC_INFO(8, SZ_1K),