summaryrefslogtreecommitdiff
path: root/src/mainboard/iwill/dk8s2/auto.c
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2007-11-02 12:54:49 +0000
committerStefan Reinauer <stepan@openbios.org>2007-11-02 12:54:49 +0000
commit7162cf7278f1489cbe4b56a7fb95b713735387d9 (patch)
tree7ca1b3b27a16e3b7aa00584aaf93aa9a239ad97d /src/mainboard/iwill/dk8s2/auto.c
parent894562f4eb81a83b360e3bd928a0517ae0122b4d (diff)
downloadcoreboot-7162cf7278f1489cbe4b56a7fb95b713735387d9.tar.xz
fix up iwill board compilation. Untested, trivial
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2930 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/iwill/dk8s2/auto.c')
-rw-r--r--src/mainboard/iwill/dk8s2/auto.c43
1 files changed, 0 insertions, 43 deletions
diff --git a/src/mainboard/iwill/dk8s2/auto.c b/src/mainboard/iwill/dk8s2/auto.c
index 06b3e42cdf..a78b34f9f2 100644
--- a/src/mainboard/iwill/dk8s2/auto.c
+++ b/src/mainboard/iwill/dk8s2/auto.c
@@ -69,49 +69,6 @@ static void memreset(int controllers, const struct mem_controller *ctrl)
}
}
-static unsigned int generate_row(uint8_t node, uint8_t row, uint8_t maxnodes)
-{
- /* Routing Table Node i
- *
- * F0: 0x40, 0x44, 0x48, 0x4c, 0x50, 0x54, 0x58, 0x5c
- * i: 0, 1, 2, 3, 4, 5, 6, 7
- *
- * [ 0: 3] Request Route
- * [0] Route to this node
- * [1] Route to Link 0
- * [2] Route to Link 1
- * [3] Route to Link 2
- * [11: 8] Response Route
- * [0] Route to this node
- * [1] Route to Link 0
- * [2] Route to Link 1
- * [3] Route to Link 2
- * [19:16] Broadcast route
- * [0] Route to this node
- * [1] Route to Link 0
- * [2] Route to Link 1
- * [3] Route to Link 2
- */
-
- uint32_t ret=0x00010101; /* default row entry */
-
- static const unsigned int rows_2p[2][2] = {
- { 0x00050101, 0x00010404 },
- { 0x00010404, 0x00050101 }
- };
-
- if(maxnodes>2) {
- print_debug("this mainboard is only designed for 2 cpus\r\n");
- maxnodes=2;
- }
-
- if (!(node>=maxnodes || row>=maxnodes)) {
- ret=rows_2p[node][row];
- }
-
- return ret;
-}
-
static inline void activate_spd_rom(const struct mem_controller *ctrl)
{
/* nothing to do */