summaryrefslogtreecommitdiff
path: root/Documentation/RFC
diff options
context:
space:
mode:
authorWerner Zeh <werner.zeh@siemens.com>2016-09-05 08:14:23 +0200
committerWerner Zeh <werner.zeh@siemens.com>2016-09-08 06:12:13 +0200
commitb5026bf9e0d252ba338c64078cb68175c6752c5e (patch)
tree4b171633df4f9296d6b84359c953151e92beeaa0 /Documentation/RFC
parent3eb65eca69e3be6af54342e5581f6761f63e39d1 (diff)
fsp_broadwell_de: Adjust printed address in SPI debug messages
For an unknown reason the printed address in the SPI debug messages is modified before it is printed by subtracting the constant 0xf020 from the passed in address. What I suppose this debug code should do is to print the used register address within the SPI controller while any parts of this address that belongs to the SPI base address should be omitted. To fix that remove the subtraction of 0xf020 and adjust the address mask to 0x3ff so that only the offset to the registers inside the SPI controller will be visible in the debug messages. In addition switch to uint8_t and friends over u8 to sync up with used types in this file. Change-Id: I93ba7119873115c7abc80a214cc30363a6930b3b Signed-off-by: Werner Zeh <werner.zeh@siemens.com> Reviewed-on: https://review.coreboot.org/16500 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: York Yang <york.yang@intel.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'Documentation/RFC')
0 files changed, 0 insertions, 0 deletions