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