blob: ca81bdf58535f2cfb8c800796f6ccbcc00de0ff8 [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/*
Matthias Schifferb50ae032021-11-02 11:36:46 +01003 * Copyright (C) 2013, 2014 TQ-Systems
Markus Niebelee2cd2b2014-07-18 16:52:44 +02004 * 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);
Masahiro Yamadaf7ed78b2020-06-26 15:13:33 +090014int tqma6_bb_board_mmc_init(struct bd_info *bis);
Markus Niebelee2cd2b2014-07-18 16:52:44 +020015
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)
Masahiro Yamadaf7ed78b2020-06-26 15:13:33 +090026void tqma6_bb_ft_board_setup(void *blob, struct bd_info *bd);
Markus Niebelee2cd2b2014-07-18 16:52:44 +020027#endif /* defined(CONFIG_OF_BOARD_SETUP) && defined(CONFIG_OF_LIBFDT) */
28
29#endif