kirkwood: solidify SATA_PMP config
authorSungbo Eo <mans0n@gorani.run>
Sun, 20 Jun 2021 13:51:50 +0000 (22:51 +0900)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 2 Oct 2021 23:13:12 +0000 (01:13 +0200)
commitdbfebd14f6155801cec8e88806d70472efdbb56e
tree6b19d8c7bdcaa2c7379090e499ed2932cf460930
parent2d977eb3d53a9fb442bc8847f41b88c5c4128c8a
kirkwood: solidify SATA_PMP config

SATA_PMP option is no longer exposed when no SATA host driver is enabled
since upstream linux commit bd322af15ce9 ("ata: make SATA_PMP option
selectable only if any SATA host driver is enabled").

Commit 1bb3f593ee73 ("kirkwood: update config for kernel 5.10") manually
added CONFIG_SATA_PMP=y to config file, but the config will disappear for
every kernel_oldconfig refresh.

To prevent this, a small hack is added, which selects SATA_HOST
automatically when SATA_PMP is enabled. This patch can be dropped if
SATA_MV is ever re-added into kernel config file.

Tested-by: Pawel Dembicki <paweldembicki@gmail.com>
Signed-off-by: Sungbo Eo <mans0n@gorani.run>
[Move patch to generic/hack-5.10]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/generic/hack-5.10/252-SATA_PMP.patch [new file with mode: 0644]
target/linux/kirkwood/config-5.10