From 5f7828fcc274ec7c381298c92cf3a946182168a0 Mon Sep 17 00:00:00 2001 From: Christian Lamparter Date: Sun, 12 Jun 2022 11:48:01 +0200 Subject: apm821xx: MBL: make mtd chip work The MBL has a 512KiB Microchip SST39VF040 chip for uboot and not much else. Thanks to Ewald who figured out that the "jedec-probe" vs. "jedec-flash" was the wrong binding. With this information and the jedec-probe support enabled => the chip works. | physmap-flash 4fff80000.nor_flash: physmap platform flash device: [mem 0x4fff80000-0x4ffffffff] | Found: SST 39LF040 | 4fff80000.nor_flash: Found 1 x8 devices at 0x0 in 8-bit bank Suggested-by: Ewald Comhaire Signed-off-by: Christian Lamparter --- target/linux/apm821xx/sata/config-default | 2 ++ 1 file changed, 2 insertions(+) (limited to 'target/linux/apm821xx/sata') diff --git a/target/linux/apm821xx/sata/config-default b/target/linux/apm821xx/sata/config-default index e8e595641d..563fa60478 100644 --- a/target/linux/apm821xx/sata/config-default +++ b/target/linux/apm821xx/sata/config-default @@ -35,6 +35,8 @@ CONFIG_MD_RAID0=y CONFIG_MD_RAID1=y # CONFIG_MD_RAID10 is not set # CONFIG_MD_RAID456 is not set +CONFIG_MTD_PHYSMAP=y +CONFIG_MTD_JEDECPROBE=y CONFIG_PM=y CONFIG_PM_AUTOSLEEP=y CONFIG_PM_CLK=y -- cgit v1.2.3