diff options
author | Li-Ta Lo <ollie@lanl.gov> | 2004-07-08 16:59:06 +0000 |
---|---|---|
committer | Li-Ta Lo <ollie@lanl.gov> | 2004-07-08 16:59:06 +0000 |
commit | 4c5060dc2bf8f944c54361f7913d20d02fff65a0 (patch) | |
tree | fdc4af9b051ad8a7f70a73f47d437750440be1d0 /src/mainboard/arima | |
parent | f76a613a9a6cb978ed2d60ea0c5c0a9b195a825b (diff) |
move default_resource_map to its own file
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1623 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/arima')
-rw-r--r-- | src/mainboard/arima/hdama/auto.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mainboard/arima/hdama/auto.c b/src/mainboard/arima/hdama/auto.c index fd0f90ba07..17b39b9c84 100644 --- a/src/mainboard/arima/hdama/auto.c +++ b/src/mainboard/arima/hdama/auto.c @@ -92,6 +92,7 @@ static unsigned int generate_row(uint8_t node, uint8_t row, uint8_t maxnodes) uint32_t ret = 0x00010101; /* default row entry */ + /* CPU0 LDT1 <-> LDT1 CPU1 */ static const unsigned int rows_2p[2][2] = { { 0x00050101, 0x00010404 }, { 0x00010404, 0x00050101 } @@ -102,7 +103,6 @@ static unsigned int generate_row(uint8_t node, uint8_t row, uint8_t maxnodes) maxnodes = 2; } - if (!(node >= maxnodes || row >= maxnodes)) { ret = rows_2p[node][row]; } @@ -123,6 +123,7 @@ static inline int spd_read_byte(unsigned device, unsigned address) #include "northbridge/amd/amdk8/raminit.c" #include "northbridge/amd/amdk8/coherent_ht.c" #include "sdram/generic_sdram.c" +#include "northbridge/amd/amdk8/resourcemap.c" #define FIRST_CPU 1 #define SECOND_CPU 1 @@ -173,6 +174,7 @@ static void main(void) setup_default_resource_map(); needs_reset = setup_coherent_ht_domain(); + /* Non-coherent HT is on LDT0 */ needs_reset |= ht_setup_chain(PCI_DEV(0, 0x18, 0), 0x80); if (needs_reset) { print_info("ht reset -\r\n"); |