nb/amd/pi/agesawrapper: Drop stale comment about IS_ENABLED()
We decided to not care about compile-time errors. So drop the comment, the code was updated already. Change-Id: Ib115fa6e2c48bfde7f67c327d42b3fe0e7af8c1f Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32227 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
parent
8f7a53a968
commit
8c11d05a3e
|
@ -125,8 +125,6 @@ AGESA_STATUS agesawrapper_amdinitpost(void)
|
||||||
AmdCreateStruct (&AmdParamStruct);
|
AmdCreateStruct (&AmdParamStruct);
|
||||||
PostParams = (AMD_POST_PARAMS *)AmdParamStruct.NewStructPtr;
|
PostParams = (AMD_POST_PARAMS *)AmdParamStruct.NewStructPtr;
|
||||||
|
|
||||||
// Do not use IS_ENABLED here. CONFIG_GFXUMA should always have a value. Allow
|
|
||||||
// the compiler to flag the error if CONFIG_GFXUMA is not set.
|
|
||||||
PostParams->MemConfig.UmaMode = CONFIG(GFXUMA) ? UMA_AUTO : UMA_NONE;
|
PostParams->MemConfig.UmaMode = CONFIG(GFXUMA) ? UMA_AUTO : UMA_NONE;
|
||||||
PostParams->MemConfig.UmaSize = 0;
|
PostParams->MemConfig.UmaSize = 0;
|
||||||
PostParams->MemConfig.BottomIo = (UINT16)
|
PostParams->MemConfig.BottomIo = (UINT16)
|
||||||
|
|
Loading…
Reference in New Issue