summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-07-31 06:01:53 +0300
committerBin Meng <bmeng.cn@gmail.com>2023-08-09 18:31:12 +0300
commitc49a767a6a9f02eeacadd91c5352fa848c9ec668 (patch)
tree219e6d0ab32e75cd6160a6714cf02cf2181d9e93
parent876bc404bdcdce8b1a16837a940ae36dc4425e5f (diff)
downloadu-boot-c49a767a6a9f02eeacadd91c5352fa848c9ec668.tar.xz
x86: coreboot: Convert to text environment
Use the common include and add some options specific to this board. 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>
-rw-r--r--board/coreboot/coreboot/coreboot.env9
-rw-r--r--include/configs/coreboot.h20
2 files changed, 9 insertions, 20 deletions
diff --git a/board/coreboot/coreboot/coreboot.env b/board/coreboot/coreboot/coreboot.env
new file mode 100644
index 0000000000..0f5bb6fb62
--- /dev/null
+++ b/board/coreboot/coreboot/coreboot.env
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com>
+ */
+
+#include <env/x86.env>
+
+splashsource=virtio_fs
+splashimage=0x1000000
diff --git a/include/configs/coreboot.h b/include/configs/coreboot.h
index b4f49bf528..e00c408f29 100644
--- a/include/configs/coreboot.h
+++ b/include/configs/coreboot.h
@@ -2,23 +2,3 @@
/*
* Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com>
*/
-
-/*
- * board/config.h - configuration options, board specific
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#define SPLASH_SETTINGS "splashsource=virtio_fs\0" \
- "splashimage=0x1000000\0"
-
-#include <configs/x86-common.h>
-
-#define CFG_STD_DEVICES_SETTINGS "stdin=serial,i8042-kbd,usbkbd\0" \
- "stdout=serial,vidconsole\0" \
- "stderr=serial,vidconsole\0"
-
-/* ATA/IDE support */
-
-#endif /* __CONFIG_H */