1/* 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__ 9#define __TQMA6_BB__ 10 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 31