]> Git Repo - J-u-boot.git/blobdiff - board/AndesTech/adp-ae3xx/adp-ae3xx.c
common: Drop flash.h from common header
[J-u-boot.git] / board / AndesTech / adp-ae3xx / adp-ae3xx.c
index 8cffb6ba8bc45e453dcdef66c98224b855753401..8eb40bf295cfbbdda4687e9b417920a2bf935542 100644 (file)
@@ -1,18 +1,18 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright (C) 2011 Andes Technology Corporation
  * Shawn Lin, Andes Technology Corporation <[email protected]>
  * Macpaul Lin, Andes Technology Corporation <[email protected]>
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
+#include <init.h>
 #include <asm/mach-types.h>
 #include <common.h>
+#include <flash.h>
 #if defined(CONFIG_FTMAC100) && !defined(CONFIG_DM_ETH)
 #include <netdev.h>
 #endif
 #include <linux/io.h>
-#include <faraday/ftsdc010.h>
 #include <faraday/ftsmc020.h>
 
 DECLARE_GLOBAL_DATA_PTR;
@@ -75,13 +75,3 @@ ulong board_flash_get_legacy(ulong base, int banknum, flash_info_t *info)
                return 0;
        }
 }
-
-int board_mmc_init(bd_t *bis)
-{
-#ifndef CONFIG_DM_MMC
-#ifdef CONFIG_FTSDC010
-       ftsdc010_mmc_init(0);
-#endif
-#endif
-       return 0;
-}
This page took 0.027262 seconds and 4 git commands to generate.