tqma6_bb.h 747 B

123456789101112131415161718192021222324252627282930
  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. #ifndef __TQMA6_BB__
  8. #define __TQMA6_BB__
  9. #include <common.h>
  10. int tqma6_bb_board_mmc_getwp(struct mmc *mmc);
  11. int tqma6_bb_board_mmc_getcd(struct mmc *mmc);
  12. int tqma6_bb_board_mmc_init(bd_t *bis);
  13. int tqma6_bb_board_early_init_f(void);
  14. int tqma6_bb_board_init(void);
  15. int tqma6_bb_board_late_init(void);
  16. int tqma6_bb_checkboard(void);
  17. const char *tqma6_bb_get_boardname(void);
  18. /*
  19. * Device Tree Support
  20. */
  21. #if defined(CONFIG_OF_BOARD_SETUP) && defined(CONFIG_OF_LIBFDT)
  22. void tqma6_bb_ft_board_setup(void *blob, bd_t *bd);
  23. #endif /* defined(CONFIG_OF_BOARD_SETUP) && defined(CONFIG_OF_LIBFDT) */
  24. #endif