diff options
author | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2021-02-08 22:00:01 +0200 |
---|---|---|
committer | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2021-05-17 19:18:22 +0000 |
commit | 959bcd57296531a458384203d8e92dd4879e9b83 (patch) | |
tree | 33bda8dbcb0adc169222a4228918b26c47cab7e3 | |
parent | f8c8fd216f821d0dceb626d73f1e9f92e1301d7d (diff) |
configs: mx8: add default value of rootpath
Variable rootpath is used by distroboot script as a default path to
a rootfs on an NFS server. Set this variable properly for all aarch64
modules, which support a Distro Boot.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
-rw-r--r-- | include/configs/apalis-imx8.h | 1 | ||||
-rw-r--r-- | include/configs/apalis-imx8x.h | 1 | ||||
-rw-r--r-- | include/configs/colibri-imx8x.h | 1 | ||||
-rw-r--r-- | include/configs/verdin-imx8mm.h | 3 | ||||
-rw-r--r-- | include/configs/verdin-imx8mp.h | 5 |
5 files changed, 10 insertions, 1 deletions
diff --git a/include/configs/apalis-imx8.h b/include/configs/apalis-imx8.h index 7c04a4e3e7..41b67d7a53 100644 --- a/include/configs/apalis-imx8.h +++ b/include/configs/apalis-imx8.h @@ -35,6 +35,7 @@ #define CONFIG_IPADDR 192.168.10.2 #define CONFIG_NETMASK 255.255.255.0 #define CONFIG_SERVERIP 192.168.10.1 +#define CONFIG_ROOTPATH "/srv/nfs" #define FEC_ENET_ENABLE_TXC_DELAY diff --git a/include/configs/apalis-imx8x.h b/include/configs/apalis-imx8x.h index 695c20a2f4..c420df9db9 100644 --- a/include/configs/apalis-imx8x.h +++ b/include/configs/apalis-imx8x.h @@ -29,6 +29,7 @@ #define CONFIG_IPADDR 192.168.10.2 #define CONFIG_NETMASK 255.255.255.0 #define CONFIG_SERVERIP 192.168.10.1 +#define CONFIG_ROOTPATH "/srv/nfs" #define FEC_ENET_ENABLE_TXC_DELAY diff --git a/include/configs/colibri-imx8x.h b/include/configs/colibri-imx8x.h index 5e59835c0f..d6855dd785 100644 --- a/include/configs/colibri-imx8x.h +++ b/include/configs/colibri-imx8x.h @@ -29,6 +29,7 @@ #define CONFIG_IPADDR 192.168.10.2 #define CONFIG_NETMASK 255.255.255.0 #define CONFIG_SERVERIP 192.168.10.1 +#define CONFIG_ROOTPATH "/srv/nfs" /** * SYS_SDRAM_BASE 0x80000000 0.125MiB diff --git a/include/configs/verdin-imx8mm.h b/include/configs/verdin-imx8mm.h index 36188923a8..8a9140bc43 100644 --- a/include/configs/verdin-imx8mm.h +++ b/include/configs/verdin-imx8mm.h @@ -67,7 +67,8 @@ #define CONFIG_IPADDR 192.168.10.2 #define CONFIG_NETMASK 255.255.255.0 -#define CONFIG_SERVERIP 192.168.10.1 +#define CONFIG_SERVERIP 192.168.10.1 +#define CONFIG_ROOTPATH "/srv/nfs" #endif /* CONFIG_CMD_NET */ #define MEM_LAYOUT_ENV_SETTINGS \ diff --git a/include/configs/verdin-imx8mp.h b/include/configs/verdin-imx8mp.h index 2f54ad96ca..8ed49d3ff6 100644 --- a/include/configs/verdin-imx8mp.h +++ b/include/configs/verdin-imx8mp.h @@ -52,6 +52,11 @@ #ifdef CONFIG_DWC_ETH_QOS #define CONFIG_SYS_NONCACHED_MEMORY (1 * SZ_1M) /* 1M */ #endif + +#define CONFIG_IPADDR 192.168.10.2 +#define CONFIG_NETMASK 255.255.255.0 +#define CONFIG_SERVERIP 192.168.10.1 +#define CONFIG_ROOTPATH "/srv/nfs" #endif /* CONFIG_CMD_NET */ #define MEM_LAYOUT_ENV_SETTINGS \ |