]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/mach-uniphier/support_card.c
ARM: keystone2: Use common definition for clk_get_rate
[u-boot] / arch / arm / mach-uniphier / support_card.c
index 443224c451b7a1b1603af43ed2cd8219e1bb7bf0..ea85b20e979c02749a83360d102d6b1abc91a0d4 100644 (file)
@@ -1,13 +1,12 @@
 /*
- * Copyright (C) 2012-2014 Panasonic Corporation
- *   Author: Masahiro Yamada <yamada.m@jp.panasonic.com>
+ * Copyright (C) 2012-2015 Masahiro Yamada <yamada.masahiro@socionext.com>
  *
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
-#include <asm/io.h>
-#include <asm/arch/board.h>
+#include <linux/io.h>
+#include <mach/board.h>
 
 #if defined(CONFIG_PFC_MICRO_SUPPORT_CARD)
 
@@ -94,7 +93,7 @@ void support_card_init(void)
        /*
         * After power on, we need to keep the LAN controller in reset state
         * for a while. (200 usec)
-        * Fortunatelly, enough wait time is already inserted in pll_init()
+        * Fortunately, enough wait time is already inserted in pll_init()
         * function. So we do not have to wait here.
         */
        support_card_reset_deassert();
@@ -112,7 +111,7 @@ int board_eth_init(bd_t *bis)
 #if !defined(CONFIG_SYS_NO_FLASH)
 
 #include <mtd/cfi_flash.h>
-#include <asm/arch/sbc-regs.h>
+#include <mach/sbc-regs.h>
 
 struct memory_bank {
        phys_addr_t base;
@@ -213,11 +212,11 @@ static void detect_num_flash_banks(void)
 
        debug("number of flash banks: %d\n", cfi_flash_num_flash_banks);
 }
-#else /* ONFIG_SYS_NO_FLASH */
+#else /* CONFIG_SYS_NO_FLASH */
 void detect_num_flash_banks(void)
 {
 };
-#endif /* ONFIG_SYS_NO_FLASH */
+#endif /* CONFIG_SYS_NO_FLASH */
 
 void support_card_late_init(void)
 {