]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/board_info.c
ARM: imx6: clocks: remove function local definitions of mxc_ccm_reg and anatop_regs
[karo-tx-uboot.git] / common / board_info.c
index 6afe98edeee936ebf4313cfdcad1e11def5a8934..bd5dcfa066358c2cc44ce5d19fcc3e77d555cd09 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;