diff options
author | John Crispin <blogic@openwrt.org> | 2015-03-15 19:39:41 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-03-15 19:39:41 +0000 |
commit | db328d1e26a481ae8b64fdf49c917d7cbb990ac2 (patch) | |
tree | c8d9c98c5322b1e5b1647c4f5a8a18d148ef779a /target/linux/ipq806x/config-3.18 | |
parent | a325ed597924700cb2b2ec93d80dbecdc23ec0c4 (diff) | |
download | master-187ad058-db328d1e26a481ae8b64fdf49c917d7cbb990ac2.tar.gz master-187ad058-db328d1e26a481ae8b64fdf49c917d7cbb990ac2.tar.bz2 master-187ad058-db328d1e26a481ae8b64fdf49c917d7cbb990ac2.zip |
ipq806x: fix AP148 boot from NOR
This patch allows AP148 to boot from NOR flash.
As we're using a FIT image as kernel (which includes kernel bin + DTB)
we enable the MTD_SPLIT_FIT_FW kernel option, which will detect the FIT
image and automatically split the "firmware" partition into 2 MTD parts
(kernel + rootfs).
The rootfs will then be parsed and split between rootfs + rootfs_data,
as usual.
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44794 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ipq806x/config-3.18')
-rw-r--r-- | target/linux/ipq806x/config-3.18 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/ipq806x/config-3.18 b/target/linux/ipq806x/config-3.18 index e5ce0e4a19..97687accf5 100644 --- a/target/linux/ipq806x/config-3.18 +++ b/target/linux/ipq806x/config-3.18 @@ -226,6 +226,9 @@ CONFIG_MSM_MMCC_8974=y CONFIG_MTD_CMDLINE_PARTS=y CONFIG_MTD_M25P80=y CONFIG_MTD_SPI_NOR=y +CONFIG_MTD_SPLIT_FIRMWARE=y +CONFIG_MTD_SPLIT_FIT_FW=y +CONFIG_MTD_SPLIT_SUPPORT=y CONFIG_MULTI_IRQ_HANDLER=y CONFIG_MUTEX_SPIN_ON_OWNER=y CONFIG_NEED_DMA_MAP_STATE=y |