Chander Kashyap | b9a1ef2 | 2011-08-18 22:37:19 +0000 | [diff] [blame] | 1 | /* |
2 | * Copyright (C) 2011 Samsung Electronics | ||||
3 | * | ||||
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 4 | * SPDX-License-Identifier: GPL-2.0+ |
Chander Kashyap | b9a1ef2 | 2011-08-18 22:37:19 +0000 | [diff] [blame] | 5 | */ |
6 | |||||
7 | #include <common.h> | ||||
8 | #include <asm/io.h> | ||||
9 | #include <asm/arch/cpu.h> | ||||
10 | #include <asm/arch/gpio.h> | ||||
11 | #include <asm/arch/mmc.h> | ||||
Rajeshwari Shinde | 198a40b | 2013-07-04 12:29:16 +0530 | [diff] [blame] | 12 | #include <asm/arch/periph.h> |
13 | #include <asm/arch/pinmux.h> | ||||
Piotr Wilczek | bf7716d | 2014-03-07 14:59:46 +0100 | [diff] [blame] | 14 | #include <usb.h> |
Chander Kashyap | b9a1ef2 | 2011-08-18 22:37:19 +0000 | [diff] [blame] | 15 | |
16 | DECLARE_GLOBAL_DATA_PTR; | ||||
Chander Kashyap | b9a1ef2 | 2011-08-18 22:37:19 +0000 | [diff] [blame] | 17 | |
Piotr Wilczek | bf7716d | 2014-03-07 14:59:46 +0100 | [diff] [blame] | 18 | u32 get_board_rev(void) |
Chander Kashyap | b9a1ef2 | 2011-08-18 22:37:19 +0000 | [diff] [blame] | 19 | { |
Chander Kashyap | b9a1ef2 | 2011-08-18 22:37:19 +0000 | [diff] [blame] | 20 | return 0; |
21 | } | ||||
22 | |||||
Piotr Wilczek | bf7716d | 2014-03-07 14:59:46 +0100 | [diff] [blame] | 23 | int exynos_init(void) |
Rajeshwari Shinde | 198a40b | 2013-07-04 12:29:16 +0530 | [diff] [blame] | 24 | { |
Rajeshwari Shinde | 198a40b | 2013-07-04 12:29:16 +0530 | [diff] [blame] | 25 | return 0; |
26 | } | ||||
27 | |||||
Piotr Wilczek | bf7716d | 2014-03-07 14:59:46 +0100 | [diff] [blame] | 28 | int board_usb_init(int index, enum usb_init_type init) |
29 | { | ||||
30 | return 0; | ||||
31 | } | ||||
32 | |||||
33 | #ifdef CONFIG_USB_CABLE_CHECK | ||||
34 | int usb_cable_connected(void) | ||||
35 | { | ||||
36 | return 0; | ||||
37 | } | ||||
38 | #endif | ||||
39 | |||||
Rajeshwari Shinde | 198a40b | 2013-07-04 12:29:16 +0530 | [diff] [blame] | 40 | #ifdef CONFIG_BOARD_EARLY_INIT_F |
Piotr Wilczek | bf7716d | 2014-03-07 14:59:46 +0100 | [diff] [blame] | 41 | int exynos_early_init_f(void) |
Rajeshwari Shinde | 198a40b | 2013-07-04 12:29:16 +0530 | [diff] [blame] | 42 | { |
Chander Kashyap | b9a1ef2 | 2011-08-18 22:37:19 +0000 | [diff] [blame] | 43 | return 0; |
44 | } | ||||
Chander Kashyap | b9a1ef2 | 2011-08-18 22:37:19 +0000 | [diff] [blame] | 45 | #endif |