summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/arch-quark
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2015-04-27 14:16:02 +0800
committerSimon Glass <sjg@chromium.org>2015-04-29 18:51:50 -0600
commitf82a7840f11d008f06b8c8d5578d2f4b8eeaa285 (patch)
tree1d3e5884e42eaacf7e62820359b7380ff6d0bc33 /arch/x86/include/asm/arch-quark
parent283a08e52a0d3f5fe8ac3139c632f32a03fc44f0 (diff)
downloadu-boot-imx-f82a7840f11d008f06b8c8d5578d2f4b8eeaa285.zip
u-boot-imx-f82a7840f11d008f06b8c8d5578d2f4b8eeaa285.tar.gz
u-boot-imx-f82a7840f11d008f06b8c8d5578d2f4b8eeaa285.tar.bz2
x86: quark: Turn on legacy segments decode
By default the legacy segments (A0000h-B0000h, E0000h-F0000h) do not decode to system RAM. Turn on the decode so that we can write configuration tables in the F segment. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/include/asm/arch-quark')
-rw-r--r--arch/x86/include/asm/arch-quark/quark.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/x86/include/asm/arch-quark/quark.h b/arch/x86/include/asm/arch-quark/quark.h
index ceb583e..6dd02fd 100644
--- a/arch/x86/include/asm/arch-quark/quark.h
+++ b/arch/x86/include/asm/arch-quark/quark.h
@@ -21,6 +21,13 @@
/* Port 0x03: Host Bridge Message Port Registers */
+/* Host Miscellaneous Controls 2 */
+#define HMISC2 0x03
+
+#define HMISC2_SEGE 0x00000002
+#define HMISC2_SEGF 0x00000004
+#define HMISC2_SEGAB 0x00000010
+
/* Host Memory I/O Boundary */
#define HM_BOUND 0x08