diff options
author | Ronald G. Minnich <rminnich@gmail.com> | 2005-09-23 17:08:58 +0000 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2005-09-23 17:08:58 +0000 |
commit | 87888630b27ae64218abc1abcf06a213eb342d97 (patch) | |
tree | dacc71f2b82b9619f81995cd1c2871d6096a6c38 /src/mainboard/digitallogic/msm586seg/mainboard.c | |
parent | a25120a30fd1738fada2df0d5528430f9f9070c1 (diff) |
sc520 support -- ethernet works
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2047 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/digitallogic/msm586seg/mainboard.c')
-rw-r--r-- | src/mainboard/digitallogic/msm586seg/mainboard.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mainboard/digitallogic/msm586seg/mainboard.c b/src/mainboard/digitallogic/msm586seg/mainboard.c index 55607ac8c0..13f28f43b7 100644 --- a/src/mainboard/digitallogic/msm586seg/mainboard.c +++ b/src/mainboard/digitallogic/msm586seg/mainboard.c @@ -35,6 +35,7 @@ static void irqdump() - set ADDDECTL (now done in raminit.c in cpu/amd/sc520 */ static void enable_dev(struct device *dev) { + extern unsigned char *rom_start, *rom_end; volatile struct mmcrpic *pic = MMCRPIC; volatile struct mmcr *mmcr = MMCRDEFAULT; @@ -132,6 +133,12 @@ static void enable_dev(struct device *dev) { */ /* follow fuctory here */ mmcr->dmacontrol.extchanmapa = 0x3210; + + /* hack for IDIOTIC need to fix rom_start */ + printk_err("Patching rom_start due to sc520 limits\n"); + rom_start = 0x2000000 + 0x40000; + rom_end = rom_start + PAYLOAD_SIZE - 1; + } struct chip_operations mainboard_digitallogic_msm586seg_ops = { |