aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorPawel Dembicki <paweldembicki@gmail.com>2021-01-11 21:38:22 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2021-03-01 21:49:55 +0100
commit59ba79d675227054f40208b7b0f9102145355bb2 (patch)
tree1b9d36ab9be7aafaf6d374f4c35510d0e4b8385d /target
parent7b6ee74ee9455c068981cba2feb97538062389aa (diff)
downloadupstream-59ba79d675227054f40208b7b0f9102145355bb2.tar.gz
upstream-59ba79d675227054f40208b7b0f9102145355bb2.tar.bz2
upstream-59ba79d675227054f40208b7b0f9102145355bb2.zip
mpc85xx: p2020: fix cfi-nor detection
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> (cherry picked from commit 76649fd06d454f1b93f2ee74951ef91225155a8c)
Diffstat (limited to 'target')
-rw-r--r--target/linux/mpc85xx/p2020/config-default1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/mpc85xx/p2020/config-default b/target/linux/mpc85xx/p2020/config-default
index be75f36814..fa43a214cd 100644
--- a/target/linux/mpc85xx/p2020/config-default
+++ b/target/linux/mpc85xx/p2020/config-default
@@ -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