diff options
author | Simon Glass <sjg@chromium.org> | 2016-03-11 22:06:56 -0700 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2016-03-17 10:27:24 +0800 |
commit | bb096b9fad65696798ffd1637b30d9cc7951e70c (patch) | |
tree | 1f9ba8d5ee21a6a0097e83db70ca980e1cfaced1 /arch/x86/include | |
parent | 06d336cca284cc767a095ce40afca79b4aa0ecb0 (diff) | |
download | u-boot-imx-bb096b9fad65696798ffd1637b30d9cc7951e70c.zip u-boot-imx-bb096b9fad65696798ffd1637b30d9cc7951e70c.tar.gz u-boot-imx-bb096b9fad65696798ffd1637b30d9cc7951e70c.tar.bz2 |
x86: Add the root-complex block to common intel registers
This is similar to MCH in that it is used in various drivers. Add it to
the common header.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86/include')
-rw-r--r-- | arch/x86/include/asm/arch-ivybridge/pch.h | 5 | ||||
-rw-r--r-- | arch/x86/include/asm/intel_regs.h | 4 |
2 files changed, 4 insertions, 5 deletions
diff --git a/arch/x86/include/asm/arch-ivybridge/pch.h b/arch/x86/include/asm/arch-ivybridge/pch.h index af3e8e7..628b517 100644 --- a/arch/x86/include/asm/arch-ivybridge/pch.h +++ b/arch/x86/include/asm/arch-ivybridge/pch.h @@ -211,11 +211,6 @@ #define SMBUS_TIMEOUT (10 * 1000 * 100) - -/* Root Complex Register Block */ -#define DEFAULT_RCBA 0xfed1c000 -#define RCB_REG(reg) (DEFAULT_RCBA + (reg)) - #define PCH_RCBA_BASE 0xf0 #define VCH 0x0000 /* 32bit */ diff --git a/arch/x86/include/asm/intel_regs.h b/arch/x86/include/asm/intel_regs.h index 9725738..961d2bd 100644 --- a/arch/x86/include/asm/intel_regs.h +++ b/arch/x86/include/asm/intel_regs.h @@ -12,4 +12,8 @@ #define MCH_BASE_SIZE 0x8000 #define MCHBAR_REG(reg) (MCH_BASE_ADDRESS + (reg)) +/* Access the Root Complex Register Block */ +#define RCB_BASE_ADDRESS 0xfed1c000 +#define RCB_REG(reg) (RCB_BASE_ADDRESS + (reg)) + #endif |