[PATCH 2/3] microblaze: Enable options to mount a rootfs via NFS

From: Michal Simek
Date: Tue Oct 24 2023 - 09:50:35 EST


From: Raju Kumar Pothuraju <rajukumar.pothuraju@xxxxxxx>

Enable the options to mount a rootfs over NFS for microblaze
platforms and also support for automatic configuration of IP addresses
during boot as needed by NFS.

Signed-off-by: Raju Kumar Pothuraju <rajukumar.pothuraju@xxxxxxx>
Reviewed-by: Radhey Shyam Pandey <radhey.shyam.pandey@xxxxxxx>
Signed-off-by: Michal Simek <michal.simek@xxxxxxx>
---

arch/microblaze/configs/mmu_defconfig | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/arch/microblaze/configs/mmu_defconfig b/arch/microblaze/configs/mmu_defconfig
index 88fce95f6401..85afdb377f73 100644
--- a/arch/microblaze/configs/mmu_defconfig
+++ b/arch/microblaze/configs/mmu_defconfig
@@ -25,6 +25,10 @@ CONFIG_NET=y
CONFIG_PACKET=y
CONFIG_UNIX=y
CONFIG_INET=y
+CONFIG_IP_PNP=y
+CONFIG_IP_PNP_DHCP=y
+CONFIG_IP_PNP_BOOTP=y
+CONFIG_IP_PNP_RARP=y
# CONFIG_IPV6 is not set
CONFIG_BRIDGE=m
CONFIG_PCI=y
@@ -74,6 +78,7 @@ CONFIG_TMPFS=y
CONFIG_CRAMFS=y
CONFIG_ROMFS_FS=y
CONFIG_NFS_FS=y
+CONFIG_ROOT_NFS=y
CONFIG_CIFS=y
CONFIG_ENCRYPTED_KEYS=y
CONFIG_DMA_CMA=y
--
2.36.1