Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Markus Niebel | cb07d74 | 2014-07-18 16:52:44 +0200 | [diff] [blame] | 2 | /* |
Matthias Schiffer | a5e3052 | 2021-11-02 11:36:46 +0100 | [diff] [blame] | 3 | * Copyright (C) 2013, 2014 TQ-Systems |
Markus Niebel | cb07d74 | 2014-07-18 16:52:44 +0200 | [diff] [blame] | 4 | * Author: Markus Niebel <markus.niebel@tq-group.com> |
Markus Niebel | cb07d74 | 2014-07-18 16:52:44 +0200 | [diff] [blame] | 5 | */ |
| 6 | |
| 7 | #ifndef __TQMA6_BB__ |
Markus Niebel | 29fd5c2 | 2014-10-23 15:47:06 +0200 | [diff] [blame] | 8 | #define __TQMA6_BB__ |
Markus Niebel | cb07d74 | 2014-07-18 16:52:44 +0200 | [diff] [blame] | 9 | |
| 10 | #include <common.h> |
| 11 | |
| 12 | int tqma6_bb_board_mmc_getwp(struct mmc *mmc); |
| 13 | int tqma6_bb_board_mmc_getcd(struct mmc *mmc); |
Masahiro Yamada | b75d8dc | 2020-06-26 15:13:33 +0900 | [diff] [blame] | 14 | int tqma6_bb_board_mmc_init(struct bd_info *bis); |
Markus Niebel | cb07d74 | 2014-07-18 16:52:44 +0200 | [diff] [blame] | 15 | |
| 16 | int tqma6_bb_board_early_init_f(void); |
| 17 | int tqma6_bb_board_init(void); |
| 18 | int tqma6_bb_board_late_init(void); |
| 19 | int tqma6_bb_checkboard(void); |
| 20 | |
| 21 | const char *tqma6_bb_get_boardname(void); |
| 22 | /* |
| 23 | * Device Tree Support |
| 24 | */ |
| 25 | #if defined(CONFIG_OF_BOARD_SETUP) && defined(CONFIG_OF_LIBFDT) |
Masahiro Yamada | b75d8dc | 2020-06-26 15:13:33 +0900 | [diff] [blame] | 26 | void tqma6_bb_ft_board_setup(void *blob, struct bd_info *bd); |
Markus Niebel | cb07d74 | 2014-07-18 16:52:44 +0200 | [diff] [blame] | 27 | #endif /* defined(CONFIG_OF_BOARD_SETUP) && defined(CONFIG_OF_LIBFDT) */ |
| 28 | |
| 29 | #endif |