summaryrefslogtreecommitdiff
path: root/src/southbridge/amd/agesa/hudson/hudson.h
diff options
context:
space:
mode:
authorDave Frodin <dave.frodin@se-eng.com>2014-06-05 14:30:22 -0600
committerDave Frodin <dave.frodin@se-eng.com>2014-06-11 20:06:21 +0200
commitac1b875b554f45b0c98d375369119495b7ad2a2a (patch)
treecb397c9fe4972193e4b95808c37cfc267f160401 /src/southbridge/amd/agesa/hudson/hudson.h
parent61f902d4a7779d0ce30de79df7a71ad0c3788887 (diff)
downloadcoreboot-ac1b875b554f45b0c98d375369119495b7ad2a2a.tar.xz
amd/southbridge/lpc: SPI BAR has fixed size/location
The CIMX sb700/sb800/sb900 and agesa/hudson code was treating the LPC SPI BAR as a normal PCI BAR. This will set the resources for a fixed size at a fixed address. This was tested on hp/abm, amd/persimmon, and gizmosphere/gizmo boards. Change-Id: I1367efe0bbb53b7727258585963f61f4bd02ea1d Signed-off-by: Dave Frodin <dave.frodin@se-eng.com> Reviewed-on: http://review.coreboot.org/5947 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/southbridge/amd/agesa/hudson/hudson.h')
-rw-r--r--src/southbridge/amd/agesa/hudson/hudson.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/southbridge/amd/agesa/hudson/hudson.h b/src/southbridge/amd/agesa/hudson/hudson.h
index 6f757eb72e..50f1738b4e 100644
--- a/src/southbridge/amd/agesa/hudson/hudson.h
+++ b/src/southbridge/amd/agesa/hudson/hudson.h
@@ -2,6 +2,7 @@
* This file is part of the coreboot project.
*
* Copyright (C) 2010 Advanced Micro Devices, Inc.
+ * Copyright (C) 2014 Sage Electronic Engineering, LLC
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -50,7 +51,9 @@
#define REV_HUDSON_A11 0x11
#define REV_HUDSON_A12 0x12
-#define SPIROM_BASE_ADDRESS_REGISTER 0xA0
+#define SPIROM_BASE_ADDRESS_REGISTER 0xA0
+#define SPI_ROM_ENABLE 0x02
+#define SPI_BASE_ADDRESS 0xFEC10000
#ifndef __SMM__