colibri_t20: disable PMIC sleep mode on low supply voltage
[platform/kernel/u-boot.git] / common / board_info.c
index 6afe98e..bd5dcfa 100644 (file)
@@ -17,7 +17,7 @@ int __weak checkboard(void)
  */
 int show_board_info(void)
 {
-#ifdef CONFIG_OF_CONTROL
+#if defined(CONFIG_OF_CONTROL) && !defined(CONFIG_CUSTOM_BOARDINFO)
        DECLARE_GLOBAL_DATA_PTR;
        const char *model;