diff --git a/include/configs/rock.h b/include/configs/rock.h
index 6b0788be9db5f1b25e8b53703c6b6b22791a2a34..8d845d95e378262ba5e2dad2f4c1997ebef15432 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