summaryrefslogtreecommitdiff
path: root/src/vendorcode/amd/cimx/sb700
diff options
context:
space:
mode:
authorMartin Roth <martin@se-eng.com>2012-05-07 16:45:29 -0600
committerStefan Reinauer <stefan.reinauer@coreboot.org>2012-05-10 21:17:36 +0200
commita495335de44eead583fc98455191d3da74ccd984 (patch)
tree0999444fef15e003475cad593a42d6c78aa3c77b /src/vendorcode/amd/cimx/sb700
parent923d200d1656df8ae1d8c79c6f0e1cf014d2ad1f (diff)
CIMx: Allow #define LEGACY_FREE overrides
For legacy free AMD systems, the #define LEGACY_FREE cannot currently be overridden. This patch allows the platform_cfg.h to override that. (I know we want to get away from that, but for now...) Also allow BIOS_SIZE to be overridden on SB700 cimx based platforms. Change-Id: I570115248bcbc686062bfb66acb56208240b847a Signed-off-by: Martin L Roth <martin@se-eng.com> Reviewed-on: http://review.coreboot.org/1018 Tested-by: build bot (Jenkins) Reviewed-by: Marc Jones <marcj303@gmail.com>
Diffstat (limited to 'src/vendorcode/amd/cimx/sb700')
-rw-r--r--src/vendorcode/amd/cimx/sb700/OEM.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/vendorcode/amd/cimx/sb700/OEM.h b/src/vendorcode/amd/cimx/sb700/OEM.h
index 74604c0280..51a829694d 100644
--- a/src/vendorcode/amd/cimx/sb700/OEM.h
+++ b/src/vendorcode/amd/cimx/sb700/OEM.h
@@ -29,8 +29,12 @@
#ifndef _AMD_SB_CIMx_OEM_H_
#define _AMD_SB_CIMx_OEM_H_
-#define BIOS_SIZE 0x04 //04 - 1MB
-#define LEGACY_FREE 0x00
+#ifndef BIOS_SIZE
+ #define BIOS_SIZE 0x04 //04 - 1MB
+#endif
+#ifndef LEGACY_FREE
+ #define LEGACY_FREE 0x00
+#endif
/**
* PCIEX_BASE_ADDRESS - Define PCIE base address