mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-28 23:23:55 +08:00
x86_64: cleanup of unneeded macros
Cleanup unneeded macros used for register space address calculation. Now we are using the EBDA to find the space address. Signed-off-by: Guillaume Thouvenin <guillaume.thouvenin@bull.net> Signed-off-by: Muli Ben-Yehuda <muli@il.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
07877cf6fd
commit
05b48ea61c
@ -52,11 +52,6 @@ int use_calgary __read_mostly = 0;
|
||||
#define PCI_DEVICE_ID_IBM_CALGARY 0x02a1
|
||||
#define PCI_DEVICE_ID_IBM_CALIOC2 0x0308
|
||||
|
||||
/* we need these for register space address calculation */
|
||||
#define START_ADDRESS 0xfe000000
|
||||
#define CHASSIS_BASE 0
|
||||
#define ONE_BASED_CHASSIS_NUM 1
|
||||
|
||||
/* register offsets inside the host bridge space */
|
||||
#define CALGARY_CONFIG_REG 0x0108
|
||||
#define PHB_CSR_OFFSET 0x0110 /* Channel Status */
|
||||
|
Loading…
Reference in New Issue
Block a user