Merge tag 'tpm-030822' of https://source.denx.de/u-boot/custodians/u-boot-tpm
[platform/kernel/u-boot.git] / board / buffalo / lsxl / lsxl.c
index 95d3a5e..31d532b 100644 (file)
@@ -8,8 +8,11 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
+#include <command.h>
 #include <env.h>
 #include <env_internal.h>
+#include <init.h>
 #include <net.h>
 #include <malloc.h>
 #include <netdev.h>
@@ -20,6 +23,8 @@
 #include <asm/arch/cpu.h>
 #include <asm/arch/mpp.h>
 #include <asm/arch/gpio.h>
+#include <asm/global_data.h>
+#include <linux/delay.h>
 
 #include "lsxl.h"
 
@@ -265,7 +270,7 @@ int misc_init_r(void)
 }
 #endif
 
-#ifdef CONFIG_SHOW_BOOT_PROGRESS
+#if CONFIG_IS_ENABLED(BOOTSTAGE)
 void show_boot_progress(int progress)
 {
        if (progress > 0)