ARM: tegra: Fix save_boot_params() prototype
[oweals/u-boot.git] / arch / arm / mach-tegra / cache.c
index 6dad40325d2f3ba0a320b10c44bfe6f2c15a36d6..d7063490e222092e04e634df94e3edafe225ecad 100644 (file)
@@ -1,7 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (c) 2013-2014, NVIDIA CORPORATION.  All rights reserved.
- *
- * SPDX-License-Identifier:    GPL-2.0
  */
 
 /* Tegra cache routines */
@@ -9,7 +8,9 @@
 #include <common.h>
 #include <asm/io.h>
 #include <asm/arch-tegra/ap.h>
+#if IS_ENABLED(CONFIG_TEGRA_GP_PADCTRL)
 #include <asm/arch/gp_padctrl.h>
+#endif
 
 #ifndef CONFIG_ARM64
 void config_cache(void)