]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: minnowmax: Convert to text environment
authorSimon Glass <sjg@chromium.org>
Mon, 31 Jul 2023 03:02:00 +0000 (21:02 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 9 Aug 2023 15:31:12 +0000 (23:31 +0800)
Use the common include along with some additions.

Drop everything from the config.h file.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> # Intel Edison
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
board/intel/minnowmax/minnowmax.env [new file with mode: 0644]
include/configs/minnowmax.h

diff --git a/board/intel/minnowmax/minnowmax.env b/board/intel/minnowmax/minnowmax.env
new file mode 100644 (file)
index 0000000..71f3607
--- /dev/null
@@ -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
index 842672d55751bad1de89e3521efee50d4573fd76..068a2af2c1fca0406b5b4c3d237ddb9cb99b9821 100644 (file)
@@ -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 */