Use the common include.

Drop everything from the config.h file.

Signed-off-by: Simon Glass <s...@chromium.org>
---

 board/efi/efi-x86_payload/efi-x86_payload.env |  6 ++++++
 include/configs/efi-x86_payload.h             | 17 -----------------
 2 files changed, 6 insertions(+), 17 deletions(-)
 create mode 100644 board/efi/efi-x86_payload/efi-x86_payload.env

diff --git a/board/efi/efi-x86_payload/efi-x86_payload.env 
b/board/efi/efi-x86_payload/efi-x86_payload.env
new file mode 100644
index 000000000000..6a656287060d
--- /dev/null
+++ b/board/efi/efi-x86_payload/efi-x86_payload.env
@@ -0,0 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (C) 2018, Bin Meng <bmeng...@gmail.com>
+ */
+
+#include <env/x86.env>
diff --git a/include/configs/efi-x86_payload.h 
b/include/configs/efi-x86_payload.h
index c72b067c367d..e00c408f29a5 100644
--- a/include/configs/efi-x86_payload.h
+++ b/include/configs/efi-x86_payload.h
@@ -2,20 +2,3 @@
 /*
  * Copyright (C) 2018, Bin Meng <bmeng...@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,i8042-kbd,usbkbd\0" \
-                                       "stdout=serial,vidconsole\0" \
-                                       "stderr=serial,vidconsole\0"
-
-/* ATA/IDE support */
-
-#endif /* __CONFIG_H */
-- 
2.41.0.487.g6d72f3e995-goog

Reply via email to