aboutsummaryrefslogtreecommitdiff
path: root/src/devices/oprom/yabel/compat/functions.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/oprom/yabel/compat/functions.c')
-rw-r--r--src/devices/oprom/yabel/compat/functions.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/oprom/yabel/compat/functions.c b/src/devices/oprom/yabel/compat/functions.c
index 50bc7b9192..db37fbc6f9 100644
--- a/src/devices/oprom/yabel/compat/functions.c
+++ b/src/devices/oprom/yabel/compat/functions.c
@@ -23,8 +23,8 @@
#define VMEM_SIZE (1024 * 1024) /* 1 MB */
-#if !defined(CONFIG_YABEL_DIRECTHW) || (!CONFIG_YABEL_DIRECTHW)
-#ifdef CONFIG_YABEL_VIRTMEM_LOCATION
+#if !CONFIG_YABEL_DIRECTHW
+#if CONFIG_YABEL_VIRTMEM_LOCATION
u8* vmem = (u8 *) CONFIG_YABEL_VIRTMEM_LOCATION;
#else
u8* vmem = (u8 *) (16*1024*1024); /* default to 16MB */