tqma6_bb.h 767 B

1234567891011121314151617181920212223242526272829
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Copyright (C) 2013, 2014 TQ Systems
  4. * Author: Markus Niebel <markus.niebel@tq-group.com>
  5. */
  6. #ifndef __TQMA6_BB__
  7. #define __TQMA6_BB__
  8. #include <common.h>
  9. int tqma6_bb_board_mmc_getwp(struct mmc *mmc);
  10. int tqma6_bb_board_mmc_getcd(struct mmc *mmc);
  11. int tqma6_bb_board_mmc_init(struct bd_info *bis);
  12. int tqma6_bb_board_early_init_f(void);
  13. int tqma6_bb_board_init(void);
  14. int tqma6_bb_board_late_init(void);
  15. int tqma6_bb_checkboard(void);
  16. const char *tqma6_bb_get_boardname(void);
  17. /*
  18. * Device Tree Support
  19. */
  20. #if defined(CONFIG_OF_BOARD_SETUP) && defined(CONFIG_OF_LIBFDT)
  21. void tqma6_bb_ft_board_setup(void *blob, struct bd_info *bd);
  22. #endif /* defined(CONFIG_OF_BOARD_SETUP) && defined(CONFIG_OF_LIBFDT) */
  23. #endif