mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-07-05 18:56:15 +09:00
![Simon Glass](/assets/img/avatar_default.png)
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>
20 lines
432 B
C
20 lines
432 B
C
/*
|
|
* Copyright (c) 2016 Google, Inc
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0
|
|
*/
|
|
|
|
#ifndef __ASM_INTEL_REGS_H
|
|
#define __ASM_INTEL_REGS_H
|
|
|
|
/* Access the memory-controller hub */
|
|
#define MCH_BASE_ADDRESS 0xfed10000
|
|
#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
|