[PATCH 12/22] x86: bayleybay: Convert to text environment

Simon Glass sjg at chromium.org
Mon Jul 31 05:01:55 CEST 2023


Use the common include.

Drop everything from the config.h file.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 board/intel/bayleybay/bayleybay.env |  9 +++++++++
 include/configs/bayleybay.h         | 17 -----------------
 2 files changed, 9 insertions(+), 17 deletions(-)
 create mode 100644 board/intel/bayleybay/bayleybay.env

diff --git a/board/intel/bayleybay/bayleybay.env b/board/intel/bayleybay/bayleybay.env
new file mode 100644
index 000000000000..89e1849fa83a
--- /dev/null
+++ b/board/intel/bayleybay/bayleybay.env
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (C) 2015, Bin Meng <bmeng.cn at gmail.com>
+ */
+
+#include <env/x86.env>
+
+/* don't use i8042-kbd */
+stdin=serial,usbkbd
diff --git a/include/configs/bayleybay.h b/include/configs/bayleybay.h
index b0df328cd84b..9b0f5cedcd79 100644
--- a/include/configs/bayleybay.h
+++ b/include/configs/bayleybay.h
@@ -2,20 +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>
-
-#define CFG_STD_DEVICES_SETTINGS	"stdin=serial,usbkbd\0" \
-					"stdout=serial,vidconsole\0" \
-					"stderr=serial,vidconsole\0"
-
-/* Environment configuration */
-
-#endif	/* __CONFIG_H */
-- 
2.41.0.487.g6d72f3e995-goog



More information about the U-Boot mailing list