summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Banon <mikebdp2@gmail.com>2019-06-30 16:53:50 +0300
committerPatrick Georgi <pgeorgi@google.com>2020-04-20 06:24:39 +0000
commit8af30ab576e8f89f10132ef1ab90afb14d340431 (patch)
tree1bf2cc9efe5686b01416ceae600a07bb945ba76e /src
parentc84babb8e0ca6d6e2103669e3488e740e3ffdcc4 (diff)
downloadcoreboot-8af30ab576e8f89f10132ef1ab90afb14d340431.tar.xz
mb/asus/am1i-a/buildOpts.c: guard UMA-related options with CONFIG_GFXUMA
Looks like the guard was dropped by mistake. Signed-off-by: Mike Banon <mikebdp2@gmail.com> Change-Id: Ie73c4d6cb557820ae7427fef15ca8110722c5b68 Reviewed-on: https://review.coreboot.org/c/coreboot/+/33916 Reviewed-by: Michał Żygowski <michal.zygowski@3mdeb.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/asus/am1i-a/buildOpts.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/asus/am1i-a/buildOpts.c b/src/mainboard/asus/am1i-a/buildOpts.c
index 40950f60be..71b1815f2a 100644
--- a/src/mainboard/asus/am1i-a/buildOpts.c
+++ b/src/mainboard/asus/am1i-a/buildOpts.c
@@ -165,9 +165,11 @@
#define BLDCFG_VRM_NB_MAXIMUM_CURRENT_LIMIT 17000
#define BLDCFG_VRM_NB_SVI_OCP_LEVEL BLDCFG_VRM_NB_MAXIMUM_CURRENT_LIMIT
+#if CONFIG(GFXUMA)
#define BLDCFG_UMA_ALIGNMENT UMA_4MB_ALIGNED
#define BLDCFG_UMA_ALLOCATION_MODE UMA_AUTO
#define OPTION_GFX_INIT_SVIEW FALSE
+#endif
#define BLDCFG_PCIE_TRAINING_ALGORITHM PcieTrainingDistributed