openwrt/target/linux/mpc85xx
Šimon Bořek 628870146d
mpc85xx: p2020: kernel: enable CONFIG_BLK_DEV_NVME
Enables use of NVMe storage devices with appropriate adapter in miniPCIe slots (including for boot)
in Turris 1.x routers and possibly NXP P2020RDB boards
(these are the only currently supported p2020 devices according to docs[^1]).

Proper detection, mountability and readability was proved to be working
on Turris 1.1, OpenWrt 21.02 with similar configuration.

Increases gzip compressed kernel size by approximately 37 KiB (from 3 703 KiB to 3 740 KiB).

Should boot from those devices be possible the driver needs to be built in.
Inclusion as a module would prevent this functionality.

CONFIG_BLK_DEV_NVME=y
Includes NVMe driver in the kernel.[^2]

CONFIG_NVME_CORE=y
Selected by CONFIG_BLK_DEV_NVME.[^3] Not necessarily needed to be enabled explicitly,
but included to match the form of similar functionality implementations
for mvebu, x86_64 and rockchip_armv8 targets.

CONFIG_NVME_MULTIPATH disabled explicitly to prevent using more space than necessary.

[^1]: https://openwrt.org/docs/techref/targets/mpc85xx
[^2]: https://cateee.net/lkddb/web-lkddb/BLK_DEV_NVME.html
[^3]: https://cateee.net/lkddb/web-lkddb/NVME_CORE.html

Signed-off-by: Šimon Bořek <simon.borek@nic.cz>
2023-02-07 21:24:37 +01:00
..
base-files
files/arch/powerpc mpc85xx: Make AP3825i boot env partition writable 2022-09-11 01:30:11 +02:00
image mpc85xx: p1010: make TP-Link WDR4900 v1 build again 2022-10-14 23:13:02 +02:00
p1010
p1020 mpc85xx: Add 5.15 kernel as testing and fix configs 2022-09-14 16:45:06 +02:00
p2020 mpc85xx: p2020: kernel: enable CONFIG_BLK_DEV_NVME 2023-02-07 21:24:37 +01:00
patches-5.10 kernel: backport of changes & helpers 2023-01-07 17:45:17 +01:00
patches-5.15 mpc85xx: drop empty patch as it backported to LTS kernel 5.15.70 2022-12-24 12:24:46 +01:00
config-5.10 mpc85xx: fix unset kernel symbol 2022-10-14 23:13:02 +02:00
config-5.15 mpc85xx: fix missing kernel config symbol 2022-11-16 23:30:11 +01:00
Makefile treewide: replace wpad-basic-wolfssl default 2023-02-04 02:35:03 +01:00