summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2018-06-18 12:59:46 -0400
committerTom Rini <trini@konsulko.com>2018-06-18 12:59:46 -0400
commit378b29cbc6607ad8246b1381bc74ec62bdb19105 (patch)
tree18232d99d78af022062bdbe36f8253e41d017d4a /include/configs
parent103c45fb0daab924308046454b4aaad4a09237c4 (diff)
parent0102023966558075e52758bd22ffd8f96b093a7e (diff)
downloadu-boot-378b29cbc6607ad8246b1381bc74ec62bdb19105.tar.gz
Merge git://git.denx.de/u-boot-x86
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/efi-x86_app.h (renamed from include/configs/efi-x86.h)0
-rw-r--r--include/configs/efi-x86_payload.h32
2 files changed, 32 insertions, 0 deletions
diff --git a/include/configs/efi-x86.h b/include/configs/efi-x86_app.h
index 33418cfbec..33418cfbec 100644
--- a/include/configs/efi-x86.h
+++ b/include/configs/efi-x86_app.h
diff --git a/include/configs/efi-x86_payload.h b/include/configs/efi-x86_payload.h
new file mode 100644
index 0000000000..9c62fd24b8
--- /dev/null
+++ b/include/configs/efi-x86_payload.h
@@ -0,0 +1,32 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com>
+ */
+
+/*
+ * board/config.h - configuration options, board specific
+ */
+
+#ifndef __CONFIG_H
+#define __CONFIG_H
+
+#include <configs/x86-common.h>
+
+#define CONFIG_SYS_MONITOR_LEN (1 << 20)
+
+#define CONFIG_STD_DEVICES_SETTINGS "stdin=serial,i8042-kbd\0" \
+ "stdout=serial,vidconsole\0" \
+ "stderr=serial,vidconsole\0"
+
+/* ATA/IDE support */
+#define CONFIG_SYS_IDE_MAXBUS 2
+#define CONFIG_SYS_IDE_MAXDEVICE 4
+#define CONFIG_SYS_ATA_BASE_ADDR 0
+#define CONFIG_SYS_ATA_DATA_OFFSET 0
+#define CONFIG_SYS_ATA_REG_OFFSET 0
+#define CONFIG_SYS_ATA_ALT_OFFSET 0
+#define CONFIG_SYS_ATA_IDE0_OFFSET 0x1f0
+#define CONFIG_SYS_ATA_IDE1_OFFSET 0x170
+#define CONFIG_ATAPI
+
+#endif /* __CONFIG_H */