aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/amd/union_station/devicetree.cb
diff options
context:
space:
mode:
authorKimarie Hoot <kimarie.hoot@se-eng.com>2013-03-07 09:10:29 -0700
committerPaul Menzel <paulepanter@users.sourceforge.net>2013-03-08 22:18:50 +0100
commit9ca4f51bd441638f177a18a744c78c3655988a4d (patch)
tree53247a3a33c5cb04a982ba71650262e8b2d3a463 /src/mainboard/amd/union_station/devicetree.cb
parenta2f8eb98f5dcc9551a6cfc0ce83eee3eb8fb564f (diff)
AMD Union Station: Use SPD read code from F14 wrapper
Changes: - Get rid of the union_station mainboard specific code and use the platform generic function wrapper that was added in change http://review.coreboot.org/#/c/2497/ AMD f14: Add SPD read functions to wrapper code - Move DIMM addresses into devicetree.cb - Add the ASF init that used to be in the SPD read code into mainboard_enable() Notes: - The DIMM reads only happen in romstage, so the function is not available in ramstage. Point the read-SPD callback to a generic function in ramstage. Change-Id: I19d6b0d674b67294519383f80928471b37da1e14 Signed-off-by: Kimarie Hoot <kimarie.hoot@se-eng.com> Reviewed-on: http://review.coreboot.org/2609 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martin.roth@se-eng.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/mainboard/amd/union_station/devicetree.cb')
-rw-r--r--src/mainboard/amd/union_station/devicetree.cb7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mainboard/amd/union_station/devicetree.cb b/src/mainboard/amd/union_station/devicetree.cb
index 7f06e64584..2289126602 100644
--- a/src/mainboard/amd/union_station/devicetree.cb
+++ b/src/mainboard/amd/union_station/devicetree.cb
@@ -75,6 +75,13 @@ chip northbridge/amd/agesa/family14/root_complex
device pci 18.3 on end
device pci 18.4 on end
device pci 18.5 on end
+
+ register "spdAddrLookup" = "
+ {
+ { {0xA0, 0xA2}, {0x00, 0x00}, }, // socket 0 - Channel 0 & 1 - 8-bit SPD addresses
+ { {0x00, 0x00}, {0x00, 0x00}, }, // socket 1 - Channel 0 & 1 - 8-bit SPD addresses
+ }"
+
end #chip northbridge/amd/agesa/family14 # CPU side of HT root complex
end #domain
end #northbridge/amd/agesa/family14/root_complex