[PATCH 13/22] x86: galileo: Convert to text environment
Simon Glass
sjg at chromium.org
Mon Jul 31 05:01:56 CEST 2023
Use the common include.
Drop everything from the config.h file.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
board/intel/galileo/galileo.env | 11 +++++++++++
include/configs/galileo.h | 19 -------------------
2 files changed, 11 insertions(+), 19 deletions(-)
create mode 100644 board/intel/galileo/galileo.env
diff --git a/board/intel/galileo/galileo.env b/board/intel/galileo/galileo.env
new file mode 100644
index 000000000000..83e77bb300ac
--- /dev/null
+++ b/board/intel/galileo/galileo.env
@@ -0,0 +1,11 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (C) 2015, Bin Meng <bmeng.cn at gmail.com>
+ */
+
+#include <env/x86.env>
+
+/* use just serial */
+stdin=serial
+stdout=serial
+stderr=serial
diff --git a/include/configs/galileo.h b/include/configs/galileo.h
index 0380ac287be2..9b0f5cedcd79 100644
--- a/include/configs/galileo.h
+++ b/include/configs/galileo.h
@@ -2,22 +2,3 @@
/*
* Copyright (C) 2015, Bin Meng <bmeng.cn at gmail.com>
*/
-
-/*
- * board/config.h - configuration options, board specific
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include <configs/x86-common.h>
-
-/* ns16550 UART is memory-mapped in Quark SoC */
-
-#define CFG_STD_DEVICES_SETTINGS "stdin=serial\0" \
- "stdout=serial\0" \
- "stderr=serial\0"
-
-/* Environment configuration */
-
-#endif /* __CONFIG_H */
--
2.41.0.487.g6d72f3e995-goog
More information about the U-Boot
mailing list