nb/amd/amdfam10/util.c: Use "CONFIG" only when appropriate

Change-Id: Idcdbbfa883c906db1ebb8d9bc7c9e277e7c0c949
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/31848
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
This commit is contained in:
Elyes HAOUAS 2019-03-11 21:45:22 +01:00 committed by Patrick Georgi
parent d18a0cbfc1
commit 5de93e9011
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ static void showdram(int level, u8 which, u32 base, u32 lim)
static void showconfig(int level, u8 which, u32 reg) static void showconfig(int level, u8 which, u32 reg)
{ {
/* Don't use r_node() and r_link() here. */ /* Don't use r_node() and r_link() here. */
printk(level, "CONFIG(%02x)%02x-%02x ->(%d,%d),%s %s (%s numbers)\n", printk(level, "Config(%02x)%02x-%02x ->(%d,%d),%s %s (%s numbers)\n",
which, BITS(reg, 16, 0xff), BITS(reg, 24, 0xff), which, BITS(reg, 16, 0xff), BITS(reg, 24, 0xff),
BITS(reg, 4, 0x7), BITS(reg, 8, 0x3), BITS(reg, 4, 0x7), BITS(reg, 8, 0x3),
re(reg), we(reg), re(reg), we(reg),