blob: 16b8fb9863e4209af49e63dffb8bbddf71356542 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Markus Niebelee2cd2b2014-07-18 16:52:44 +02002/*
3 * Copyright (C) 2013, 2014 TQ Systems
4 * Author: Markus Niebel <markus.niebel@tq-group.com>
Markus Niebelee2cd2b2014-07-18 16:52:44 +02005 */
6
7#ifndef __TQMA6_BB__
Markus Niebelca68c292014-10-23 15:47:06 +02008#define __TQMA6_BB__
Markus Niebelee2cd2b2014-07-18 16:52:44 +02009
10#include <common.h>
11
12int tqma6_bb_board_mmc_getwp(struct mmc *mmc);
13int tqma6_bb_board_mmc_getcd(struct mmc *mmc);
14int tqma6_bb_board_mmc_init(bd_t *bis);
15
16int tqma6_bb_board_early_init_f(void);
17int tqma6_bb_board_init(void);
18int tqma6_bb_board_late_init(void);
19int tqma6_bb_checkboard(void);
20
21const char *tqma6_bb_get_boardname(void);
22/*
23 * Device Tree Support
24 */
25#if defined(CONFIG_OF_BOARD_SETUP) && defined(CONFIG_OF_LIBFDT)
26void tqma6_bb_ft_board_setup(void *blob, bd_t *bd);
27#endif /* defined(CONFIG_OF_BOARD_SETUP) && defined(CONFIG_OF_LIBFDT) */
28
29#endif