]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: cougarcanyon2: Convert to text environment
authorSimon Glass <sjg@chromium.org>
Mon, 31 Jul 2023 03:01:59 +0000 (21:01 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 9 Aug 2023 15:31:12 +0000 (23:31 +0800)
Use the common include. The existing environment includes "vga" but that
is not valid anymore, so let it use vidconsole

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/cougarcanyon2/cougarcanyon2.env [new file with mode: 0644]
include/configs/cougarcanyon2.h

diff --git a/board/intel/cougarcanyon2/cougarcanyon2.env b/board/intel/cougarcanyon2/cougarcanyon2.env
new file mode 100644 (file)
index 0000000..6329b0f
--- /dev/null
@@ -0,0 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (C) 2016, Bin Meng <bmeng.cn@gmail.com>
+ */
+
+#include <env/x86.env>
index 31639e48da886ac67cf9d9e4a7988a5d9f3ec4c7..0406786f7c66eecee3aa8e84cfe1baa3f2cc2624 100644 (file)
@@ -2,16 +2,3 @@
 /*
  * Copyright (C) 2016, Bin Meng <bmeng.cn@gmail.com>
  */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include <configs/x86-common.h>
-
-#define CFG_STD_DEVICES_SETTINGS       "stdin=serial,i8042-kbd,usbkbd\0" \
-                                       "stdout=serial,vga\0" \
-                                       "stderr=serial,vga\0"
-
-/* Environment configuration */
-
-#endif /* __CONFIG_H */