[PATCH 17/22] x86: minnowmax: Convert to text environment

Simon Glass sjg at chromium.org
Mon Jul 31 05:02:00 CEST 2023


Use the common include along with some additions.

Drop everything from the config.h file.

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

 board/intel/minnowmax/minnowmax.env | 11 +++++++++++
 include/configs/minnowmax.h         | 16 ----------------
 2 files changed, 11 insertions(+), 16 deletions(-)
 create mode 100644 board/intel/minnowmax/minnowmax.env

diff --git a/board/intel/minnowmax/minnowmax.env b/board/intel/minnowmax/minnowmax.env
new file mode 100644
index 000000000000..71f3607843b3
--- /dev/null
+++ b/board/intel/minnowmax/minnowmax.env
@@ -0,0 +1,11 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (C) 2015 Google, Inc
+ */
+
+#include <env/x86.env>
+
+/* don't use i8042-kbd */
+stdin=usbkbd,serial
+
+usb_pgood_delay=40
diff --git a/include/configs/minnowmax.h b/include/configs/minnowmax.h
index 842672d55751..068a2af2c1fc 100644
--- a/include/configs/minnowmax.h
+++ b/include/configs/minnowmax.h
@@ -2,19 +2,3 @@
 /*
  * Copyright (C) 2015 Google, Inc
  */
-
-/*
- * board/config.h - configuration options, board specific
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include <configs/x86-common.h>
-
-#define CFG_STD_DEVICES_SETTINGS	"stdin=usbkbd,serial\0" \
-					"stdout=vidconsole,serial\0" \
-					"stderr=vidconsole,serial\0" \
-					"usb_pgood_delay=40\0"
-
-#endif	/* __CONFIG_H */
-- 
2.41.0.487.g6d72f3e995-goog



More information about the U-Boot mailing list