AMD/Bettong: add function to read board version

Hardware / Coreboot - Zheng Bao [gmail.com] - 10 November 2015 03:34 UTC

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

f3aea52 AMD/Bettong: add function to read board version
src/mainboard/amd/bettong/Makefile.inc | 2 ++
src/mainboard/amd/bettong/boardid.c | 48 ++++++++++++++++++++++++++++++++
2 files changed, 50 insertions(+)

Upstream: review.coreboot.org


  • Share