mpc85xx: p2020: fix cfi-nor detection
authorPawel Dembicki <paweldembicki@gmail.com>
Mon, 11 Jan 2021 20:38:22 +0000 (21:38 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 28 Feb 2021 23:34:23 +0000 (00:34 +0100)
At this moment p2020rdb has broken images, because NOR memory connected
to eLBC bus isn't detected.

In 642b1e8dbed7 linux tree commit, config dependencies of MTD_PHYSMAP_OF
was changed and now MTD_PHYSMAP is required.

This patch adds MTD_PHYSMAP option to kernel config in p2020 subtarget
and fix booting of p2020rdb.

Fixes: 13b1db795f05 ("mpc85xx: add support for kernel 5.4")
Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
target/linux/mpc85xx/p2020/config-default

index be75f3681420c2016f459c23cecc95ecbbb3bef1..fa43a214cd8ccad770ab93d4d3b1e03cc4b79e3b 100644 (file)
@@ -10,6 +10,7 @@ CONFIG_MTD_CFI=y
 CONFIG_MTD_NAND_BCH=y
 CONFIG_MTD_NAND_ECC_BCH=y
 CONFIG_MTD_NAND_FSL_ELBC=y
+CONFIG_MTD_PHYSMAP=y
 CONFIG_MTD_SPLIT_FIRMWARE=y
 CONFIG_MTD_SPLIT_FIT_FW=y
 CONFIG_MUTEX_SPIN_ON_OWNER=y