summaryrefslogtreecommitdiff
path: root/src/mainboard/amd/bettong/Makefile.inc
diff options
context:
space:
mode:
authorZheng Bao <fishbaozi@gmail.com>2015-11-09 23:53:34 +0800
committerZheng Bao <zheng.bao@amd.com>2015-11-10 10:34:32 +0100
commitf3aea52a70cbe253823ae48d00f504b565731c2c (patch)
tree08cdb4695db727e7f029d7f5e2a6c1a69d5a09cc /src/mainboard/amd/bettong/Makefile.inc
parent69e89f249fc52a11bed569e7c1e9df8c7dc18d0e (diff)
downloadcoreboot-f3aea52a70cbe253823ae48d00f504b565731c2c.tar.xz
AMD/Bettong: add function to read board version
Bettong uses 3 GPIO(5-7) pins to identify board. The GPIO ports are mapped to MMIO space. The GPIO value and board version are mapped as follow: GPIO5 GPIO6 GPIO7 Version 0 0 0 A 0 0 1 B ...... 1 1 1 H Change-Id: I72df28043057d8c4ccc4a2e645011ca5379e9928 Signed-off-by: WANG Siyuan <wangsiyuanbuaa@gmail.com> Signed-off-by: WANG Siyuan <SiYuan.Wang@amd.com> Signed-off-by: Zheng Bao <fishbaozi@gmail.com> Reviewed-on: http://review.coreboot.org/11732 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/mainboard/amd/bettong/Makefile.inc')
-rw-r--r--src/mainboard/amd/bettong/Makefile.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/amd/bettong/Makefile.inc b/src/mainboard/amd/bettong/Makefile.inc
index 0361362d06..5358d926ea 100644
--- a/src/mainboard/amd/bettong/Makefile.inc
+++ b/src/mainboard/amd/bettong/Makefile.inc
@@ -15,9 +15,11 @@
romstage-y += BiosCallOuts.c
romstage-y += PlatformGnbPcie.c
+romstage-y += boardid.c
ramstage-y += BiosCallOuts.c
ramstage-y += PlatformGnbPcie.c
ifeq ($(CONFIG_HUDSON_IMC_FWM), y)
ramstage-y += fchec.c
endif
+ramstage-y += boardid.c