blob: a2f871af1f836a533472667eae314decc7b042b2 [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
Markus Niebelee2cd2b2014-07-18 16:52:44 +020010int tqma6_bb_board_mmc_getwp(struct mmc *mmc);
11int tqma6_bb_board_mmc_getcd(struct mmc *mmc);
Masahiro Yamadaf7ed78b2020-06-26 15:13:33 +090012int tqma6_bb_board_mmc_init(struct bd_info *bis);
Markus Niebelee2cd2b2014-07-18 16:52:44 +020013
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)
Masahiro Yamadaf7ed78b2020-06-26 15:13:33 +090024void tqma6_bb_ft_board_setup(void *blob, struct bd_info *bd);
Markus Niebelee2cd2b2014-07-18 16:52:44 +020025#endif /* defined(CONFIG_OF_BOARD_SETUP) && defined(CONFIG_OF_LIBFDT) */
26
27#endif