[PATCH] configs: meson64: relocate config_distro_bootcmmd header

Relocate a config_distro_bootcmd header before defined CONFIG_EXTRA_ENV_SETTINGS. Otherwise it can't change to specific environment.
Signed-off-by: Jaehoon Chung jh80.chung@samsung.com --- include/configs/meson64.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/configs/meson64.h b/include/configs/meson64.h index cee690068022..52cc01f73da3 100644 --- a/include/configs/meson64.h +++ b/include/configs/meson64.h @@ -69,6 +69,8 @@ func(DHCP, dhcp, na) #endif
+#include <config_distro_bootcmd.h> + #ifndef CONFIG_EXTRA_ENV_SETTINGS #define CONFIG_EXTRA_ENV_SETTINGS \ "stdin=" STDIN_CFG "\0" \ @@ -83,6 +85,5 @@ BOOTENV #endif
-#include <config_distro_bootcmd.h>
#endif /* __MESON64_CONFIG_H */

On 02/11/2020 04:07, Jaehoon Chung wrote:
Relocate a config_distro_bootcmd header before defined CONFIG_EXTRA_ENV_SETTINGS. Otherwise it can't change to specific environment.
Signed-off-by: Jaehoon Chung jh80.chung@samsung.com
include/configs/meson64.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/configs/meson64.h b/include/configs/meson64.h index cee690068022..52cc01f73da3 100644 --- a/include/configs/meson64.h +++ b/include/configs/meson64.h @@ -69,6 +69,8 @@ func(DHCP, dhcp, na) #endif
+#include <config_distro_bootcmd.h>
#ifndef CONFIG_EXTRA_ENV_SETTINGS #define CONFIG_EXTRA_ENV_SETTINGS \ "stdin=" STDIN_CFG "\0" \ @@ -83,6 +85,5 @@ BOOTENV #endif
-#include <config_distro_bootcmd.h>
#endif /* __MESON64_CONFIG_H */
Thanks, Acked-by: Neil Armstrong narmstrong@baylibre.com

On 02/11/2020 04:07, Jaehoon Chung wrote:
Relocate a config_distro_bootcmd header before defined CONFIG_EXTRA_ENV_SETTINGS. Otherwise it can't change to specific environment.
Signed-off-by: Jaehoon Chung jh80.chung@samsung.com
include/configs/meson64.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/configs/meson64.h b/include/configs/meson64.h index cee690068022..52cc01f73da3 100644 --- a/include/configs/meson64.h +++ b/include/configs/meson64.h @@ -69,6 +69,8 @@ func(DHCP, dhcp, na) #endif
+#include <config_distro_bootcmd.h>
#ifndef CONFIG_EXTRA_ENV_SETTINGS #define CONFIG_EXTRA_ENV_SETTINGS \ "stdin=" STDIN_CFG "\0" \ @@ -83,6 +85,5 @@ BOOTENV #endif
-#include <config_distro_bootcmd.h>
#endif /* __MESON64_CONFIG_H */
Thanks, Acked-by: Neil Armstrong narmstrong@baylibre.com

On 02/11/2020 04:07, Jaehoon Chung wrote:
Relocate a config_distro_bootcmd header before defined CONFIG_EXTRA_ENV_SETTINGS. Otherwise it can't change to specific environment.
Signed-off-by: Jaehoon Chung jh80.chung@samsung.com
include/configs/meson64.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/configs/meson64.h b/include/configs/meson64.h index cee690068022..52cc01f73da3 100644 --- a/include/configs/meson64.h +++ b/include/configs/meson64.h @@ -69,6 +69,8 @@ func(DHCP, dhcp, na) #endif
+#include <config_distro_bootcmd.h>
#ifndef CONFIG_EXTRA_ENV_SETTINGS #define CONFIG_EXTRA_ENV_SETTINGS \ "stdin=" STDIN_CFG "\0" \ @@ -83,6 +85,5 @@ BOOTENV #endif
-#include <config_distro_bootcmd.h>
#endif /* __MESON64_CONFIG_H */
Thanks, Acked-by: Neil Armstrong narmstrong@baylibre.com
participants (2)
-
Jaehoon Chung
-
Neil Armstrong