summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2015-02-02 22:35:27 +0800
committerSimon Glass <sjg@chromium.org>2015-02-06 12:07:41 -0700
commit828d9af5eca7404ded18e0ede453f8040fd01f78 (patch)
treea6ec6bad4bc6272d1609759b9bace2ea055614af /arch/x86/include/asm
parent0fae4d24df15b9133643c37e1a1d0d832fff801c (diff)
downloadtalos-obmc-uboot-828d9af5eca7404ded18e0ede453f8040fd01f78.tar.gz
talos-obmc-uboot-828d9af5eca7404ded18e0ede453f8040fd01f78.zip
x86: Add basic Intel Quark processor support
Add minimum codes to support Intel Quark SoC. DRAM initialization is not ready yet so a hardcoded gd->ram_size is assigned. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/include/asm')
-rw-r--r--arch/x86/include/asm/arch-quark/gpio.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/x86/include/asm/arch-quark/gpio.h b/arch/x86/include/asm/arch-quark/gpio.h
new file mode 100644
index 0000000000..ca8cba4f97
--- /dev/null
+++ b/arch/x86/include/asm/arch-quark/gpio.h
@@ -0,0 +1,13 @@
+/*
+ * Copyright (C) 2015, Bin Meng <bmeng.cn@gmail.com>
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#ifndef _X86_ARCH_GPIO_H_
+#define _X86_ARCH_GPIO_H_
+
+/* Where in config space is the register that points to the GPIO registers? */
+#define PCI_CFG_GPIOBASE 0x44
+
+#endif /* _X86_ARCH_GPIO_H_ */
OpenPOWER on IntegriCloud