summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-08-14 13:21:44 -0400
committerTom Rini <trini@konsulko.com>2017-08-14 13:33:07 -0400
commitaa6aaf93211b7e22361e75f1068e1e565e731f25 (patch)
treecd973b5f78eb581b180672c847649a7d74184765
parentc1b62ba9ca0e41fdd548cb3bb9af3b3f90d4a393 (diff)
ARM: rockchip: rock: Correct test to use CONFIG_IS_ENABLED not defined
While it is likely that this entire case is superfluous and can be removed, correct the test now to match what is in rockchip-common.h and makes sense based on context of the code. Otherwise we get a large number of warnings. Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r--include/configs/rock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/rock.h b/include/configs/rock.h
index 6b0788be9db..8d845d95e37 100644
--- a/include/configs/rock.h
+++ b/include/configs/rock.h
@@ -12,7 +12,7 @@
#define CONFIG_SYS_MMC_ENV_DEV 0
-#if defined(ROCKCHIP_BACK_TO_BROM)
+#if CONFIG_IS_ENABLED(ROCKCHIP_BACK_TO_BROM)
/* SPL @ 32k for 34k
* u-boot directly after @ 68k for 400k or so
* ENV @ 992k