diff options
author | Richard Spiegel <richard.spiegel@silverbackltd.com> | 2018-01-16 14:40:10 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-01-22 21:43:34 +0000 |
commit | 7ea8e02f4b948c0a59648d59a0ffe53d1be40cd3 (patch) | |
tree | 631ac0cc2480633085a9db27bf09bebb7e10368b /src/drivers | |
parent | a318d2812dd2af2087557cd2a8172b38bfc589e9 (diff) |
amd/stoneyridge/include/soc/southbridge.h: Replace SATA magic numbers
CONFIG_STONEYRIDGE_SATA_MODE is compared against "magical numbers".
Because actual literals are in AGESA.h and adding agesa_headers.h to
southbridge.h causes compile errors, move comparison code from southbridge.h
to southbridge.c (where they are actually used). Replace these numbers
with actual literals.
BUG=b:71754828
TEST=Build kahlee.
Change-Id: I711473bf492d5ceca026ccd112c2c389a23bdbf9
Signed-off-by: Richard Spiegel <richard.spiegel@silverbackltd.com>
Reviewed-on: https://review.coreboot.org/23296
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/drivers')
0 files changed, 0 insertions, 0 deletions