]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/nds32/cpu/n1213/ag101/timer.c
nds32: Support AG101P timer DM.
[people/ms/u-boot.git] / arch / nds32 / cpu / n1213 / ag101 / timer.c
index 758b354110ba3948001e72ee1bed2173e255eb67..0c03a1029cb6217a0b4d20de066f36539f604b92 100644 (file)
@@ -8,7 +8,7 @@
  *
  * SPDX-License-Identifier:    GPL-2.0+
  */
-
+#ifndef CONFIG_TIMER
 #include <common.h>
 #include <asm/io.h>
 #include <faraday/fttmr010.h>
@@ -189,3 +189,4 @@ ulong get_tbclk(void)
        return CONFIG_SYS_CLK_FREQ;
 #endif
 }
+#endif /* CONFIG_TIMER */