]> Git Repo - J-u-boot.git/blobdiff - arch/arm/mach-imx/syscounter.c
Convert CONFIG_SKIP_LOWLEVEL_INIT et al to Kconfig
[J-u-boot.git] / arch / arm / mach-imx / syscounter.c
index 5a292c396433308ffc98155429afd2ffa50eb633..7c02e199a38c69c8009559c9beebaa8a1766904a 100644 (file)
@@ -6,12 +6,15 @@
  */
 
 #include <common.h>
+#include <init.h>
 #include <time.h>
+#include <asm/global_data.h>
 #include <asm/io.h>
 #include <div64.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/mach-imx/syscounter.h>
+#include <linux/delay.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
@@ -56,7 +59,7 @@ static inline unsigned long long us_to_tick(unsigned long long usec)
        return usec;
 }
 
-#ifndef CONFIG_SKIP_LOWLEVEL_INIT
+#if !CONFIG_IS_ENABLED(SKIP_LOWLEVEL_INIT)
 int timer_init(void)
 {
        struct sctr_regs *sctr = (struct sctr_regs *)SCTR_BASE_ADDR;
This page took 0.021029 seconds and 4 git commands to generate.