diff options
author | Daniel Golle <daniel@makrotopia.org> | 2023-12-04 23:25:12 +0000 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2024-02-15 19:06:36 +0000 |
commit | 548c383bdf505c9f71378c51885603911f8008c7 (patch) | |
tree | 6f3a57f43c8a295bad6348e902065354ee2fa2bf /target | |
parent | 8e458e9e86c1d7e02a660a922d787e7cc76b0776 (diff) | |
download | openwrt-548c383bdf505c9f71378c51885603911f8008c7.tar.gz openwrt-548c383bdf505c9f71378c51885603911f8008c7.tar.bz2 openwrt-548c383bdf505c9f71378c51885603911f8008c7.zip |
kernel: move uImage.FIT partition parser to mediatek target
The partition parser approach has been rejected upstream, it will be
replaced by a small block driver which is the solution suggestion by
upstream maintainers.
As the partition parser has only been used by the mediatek target, as
a first step, move it there.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/generic/config-5.15 | 1 | ||||
-rw-r--r-- | target/linux/generic/config-6.1 | 1 | ||||
-rw-r--r-- | target/linux/mediatek/files/block/partitions/fit.c (renamed from target/linux/generic/files/block/partitions/fit.c) | 0 | ||||
-rw-r--r-- | target/linux/mediatek/mt7629/config-5.15 | 1 | ||||
-rw-r--r-- | target/linux/mediatek/mt7629/config-6.1 | 1 | ||||
-rw-r--r-- | target/linux/mediatek/patches-5.15/041-block-fit-partition-parser.patch (renamed from target/linux/generic/hack-5.15/410-block-fit-partition-parser.patch) | 0 | ||||
-rw-r--r-- | target/linux/mediatek/patches-6.1/041-block-fit-partition-parser.patch (renamed from target/linux/generic/hack-6.1/410-block-fit-partition-parser.patch) | 0 |
7 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/generic/config-5.15 b/target/linux/generic/config-5.15 index bc2509ff47..5f82f0937d 100644 --- a/target/linux/generic/config-5.15 +++ b/target/linux/generic/config-5.15 @@ -2071,7 +2071,6 @@ CONFIG_FILE_LOCKING=y # CONFIG_FIRMWARE_EDID is not set # CONFIG_FIRMWARE_IN_KERNEL is not set # CONFIG_FIRMWARE_MEMMAP is not set -# CONFIG_FIT_PARTITION is not set # CONFIG_FIXED_PHY is not set CONFIG_FLATMEM=y CONFIG_FLATMEM_MANUAL=y diff --git a/target/linux/generic/config-6.1 b/target/linux/generic/config-6.1 index 7da5f21532..30bda17d17 100644 --- a/target/linux/generic/config-6.1 +++ b/target/linux/generic/config-6.1 @@ -2167,7 +2167,6 @@ CONFIG_FILE_LOCKING=y # CONFIG_FIRMWARE_EDID is not set # CONFIG_FIRMWARE_IN_KERNEL is not set # CONFIG_FIRMWARE_MEMMAP is not set -# CONFIG_FIT_PARTITION is not set # CONFIG_FIXED_PHY is not set CONFIG_FLATMEM=y CONFIG_FLATMEM_MANUAL=y diff --git a/target/linux/generic/files/block/partitions/fit.c b/target/linux/mediatek/files/block/partitions/fit.c index 91b25e0581..91b25e0581 100644 --- a/target/linux/generic/files/block/partitions/fit.c +++ b/target/linux/mediatek/files/block/partitions/fit.c diff --git a/target/linux/mediatek/mt7629/config-5.15 b/target/linux/mediatek/mt7629/config-5.15 index 8cddb04d66..c42ada6d23 100644 --- a/target/linux/mediatek/mt7629/config-5.15 +++ b/target/linux/mediatek/mt7629/config-5.15 @@ -95,6 +95,7 @@ CONFIG_DTC=y CONFIG_EDAC_ATOMIC_SCRUB=y CONFIG_EDAC_SUPPORT=y CONFIG_EINT_MTK=y +# CONFIG_FIT_PARTITION is not set CONFIG_FIXED_PHY=y CONFIG_FIX_EARLYCON_MEM=y CONFIG_FWNODE_MDIO=y diff --git a/target/linux/mediatek/mt7629/config-6.1 b/target/linux/mediatek/mt7629/config-6.1 index ad79b5ba9e..d8dc50a67a 100644 --- a/target/linux/mediatek/mt7629/config-6.1 +++ b/target/linux/mediatek/mt7629/config-6.1 @@ -107,6 +107,7 @@ CONFIG_EDAC_ATOMIC_SCRUB=y CONFIG_EDAC_SUPPORT=y CONFIG_EINT_MTK=y CONFIG_EXCLUSIVE_SYSTEM_RAM=y +# CONFIG_FIT_PARTITION is not set CONFIG_FIXED_PHY=y CONFIG_FIX_EARLYCON_MEM=y CONFIG_FRAME_WARN=1024 diff --git a/target/linux/generic/hack-5.15/410-block-fit-partition-parser.patch b/target/linux/mediatek/patches-5.15/041-block-fit-partition-parser.patch index 13a16b6fa0..13a16b6fa0 100644 --- a/target/linux/generic/hack-5.15/410-block-fit-partition-parser.patch +++ b/target/linux/mediatek/patches-5.15/041-block-fit-partition-parser.patch diff --git a/target/linux/generic/hack-6.1/410-block-fit-partition-parser.patch b/target/linux/mediatek/patches-6.1/041-block-fit-partition-parser.patch index 3e45646fdb..3e45646fdb 100644 --- a/target/linux/generic/hack-6.1/410-block-fit-partition-parser.patch +++ b/target/linux/mediatek/patches-6.1/041-block-fit-partition-parser.patch |