projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ppc/85xx: Fix bug in setup_mp code
[oweals/u-boot.git]
/
include
/
mpc106.h
diff --git
a/include/mpc106.h
b/include/mpc106.h
index ab6d57e199022fb95a461bddbf82e3ca5bb51283..ef5a95f78df7bb78cd7d5f06afde30aee04fccb7 100644
(file)
--- a/
include/mpc106.h
+++ b/
include/mpc106.h
@@
-28,15
+28,15
@@
* Defines for the MPC106 PCI Config address and data registers followed by
* defines for the standard PCI device configuration header.
*/
* Defines for the MPC106 PCI Config address and data registers followed by
* defines for the standard PCI device configuration header.
*/
-#define PCIDEVID_MPC106 0x0
+#define PCIDEVID_MPC106
0x0
/*
* MPC106 Registers
*/
#define MPC106_REG 0x80000000
/*
* MPC106 Registers
*/
#define MPC106_REG 0x80000000
-#ifdef C
FG
_ADDRESS_MAP_A
-#define MPC106_REG_ADDR 0x80000cf8
+#ifdef C
ONFIG_SYS
_ADDRESS_MAP_A
+#define MPC106_REG_ADDR
0x80000cf8
#define MPC106_REG_DATA 0x80000cfc
#define MPC106_ISA_IO_PHYS 0x80000000
#define MPC106_ISA_IO_BUS 0x00000000
#define MPC106_REG_DATA 0x80000cfc
#define MPC106_ISA_IO_PHYS 0x80000000
#define MPC106_ISA_IO_BUS 0x00000000
@@
-51,7
+51,7
@@
#define MPC106_PCI_MEMORY_BUS 0x80000000
#define MPC106_PCI_MEMORY_SIZE 0x80000000
#else
#define MPC106_PCI_MEMORY_BUS 0x80000000
#define MPC106_PCI_MEMORY_SIZE 0x80000000
#else
-#define MPC106_REG_ADDR 0xfec00cf8
+#define MPC106_REG_ADDR
0xfec00cf8
#define MPC106_REG_DATA 0xfee00cfc
#define MPC106_ISA_MEM_PHYS 0xfd000000
#define MPC106_ISA_MEM_BUS 0x00000000
#define MPC106_REG_DATA 0xfee00cfc
#define MPC106_ISA_MEM_PHYS 0xfd000000
#define MPC106_ISA_MEM_BUS 0x00000000
@@
-77,9
+77,9
@@
#define PCI_STAT_NO_RSV_BITS 0xffff
#define PCI_STAT_NO_RSV_BITS 0xffff
-#define PCI_BUSNUM 0x40
-#define PCI_SUBBUSNUM 0x41
-#define PCI_DISCOUNT 0x42
+#define PCI_BUSNUM 0x40
+#define PCI_SUBBUSNUM 0x41
+#define PCI_DISCOUNT 0x42
#define PCI_PICR1 0xA8
#define PICR1_CF_CBA(value) ((value & 0xff) << 24)
#define PCI_PICR1 0xA8
#define PICR1_CF_CBA(value) ((value & 0xff) << 24)