x86: coreboot: make it possible to process unhandled tags
[oweals/u-boot.git] / arch / arm / mach-tegra / board186.c
index 1b9799fd80c22fae6b16890a079da49f22ca1cce..80b55707e90f2eab5466bbc59eb4f8e648dc86c1 100644 (file)
@@ -1,15 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright (c) 2016, NVIDIA CORPORATION.
- *
- * SPDX-License-Identifier: GPL-2.0+
  */
 
 #include <common.h>
 #include <asm/arch/tegra.h>
-#include <asm/arch-tegra/mmc.h>
-#include <asm/arch-tegra/tegra_mmc.h>
-
-DECLARE_GLOBAL_DATA_PTR;
 
 int board_early_init_f(void)
 {
@@ -26,18 +21,12 @@ int board_init(void)
        return tegra_board_init();
 }
 
-int board_late_init(void)
+__weak int tegra_soc_board_init_late(void)
 {
        return 0;
 }
 
-void pad_init_mmc(struct mmc_host *host)
-{
-}
-
-int board_mmc_init(bd_t *bd)
+int board_late_init(void)
 {
-       tegra_mmc_init();
-
-       return 0;
+       return tegra_soc_board_init_late();
 }