diff options
author | Alexandru Gagniuc <mr.nuke.me@gmail.com> | 2014-04-19 22:21:27 -0500 |
---|---|---|
committer | Alexandru Gagniuc <mr.nuke.me@gmail.com> | 2014-04-20 21:44:04 +0200 |
commit | 991e951461bc57debc2df82bac76d0ab57682e66 (patch) | |
tree | 6a2ae3b36630e71e75854e38ea136a1bfef39dc8 /payloads/libpayload | |
parent | c38d9913878019bbe476b8b8bc5631846ef2e58f (diff) | |
download | coreboot-991e951461bc57debc2df82bac76d0ab57682e66.tar.xz |
southbridge/amd/agesa/hudson: Refactor SPI controller driver
The SPI controller driver used numerical offsets to access SPI
registers, making it unreadable without the datasheet. Use less magic
and more #defines to improve readability.
Change-Id: I8a1f11645cfce027e5df7a41a98c70249695889e
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Reviewed-on: http://review.coreboot.org/5557
Tested-by: build bot (Jenkins)
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'payloads/libpayload')
0 files changed, 0 insertions, 0 deletions