1/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Copyright (C) 2013, 2014 TQ-Systems
4 * Author: Markus Niebel <markus.niebel@tq-group.com>
5 */
6
7#ifndef __TQMA6_BB__
8#define __TQMA6_BB__
9
10int tqma6_bb_board_mmc_getwp(struct mmc *mmc);
11int tqma6_bb_board_mmc_getcd(struct mmc *mmc);
12int tqma6_bb_board_mmc_init(struct bd_info *bis);
13
14int tqma6_bb_board_early_init_f(void);
15int tqma6_bb_board_init(void);
16int tqma6_bb_board_late_init(void);
17int tqma6_bb_checkboard(void);
18
19const char *tqma6_bb_get_boardname(void);
20/*
21 * Device Tree Support
22 */
23#if defined(CONFIG_OF_BOARD_SETUP) && defined(CONFIG_OF_LIBFDT)
24void tqma6_bb_ft_board_setup(void *blob, struct bd_info *bd);
25#endif /* defined(CONFIG_OF_BOARD_SETUP) && defined(CONFIG_OF_LIBFDT) */
26
27#endif
28