mxs_init.h 592 B

12345678910111213141516171819202122232425262728
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Freescale i.MX28 SPL functions
  4. *
  5. * Copyright (C) 2011 Marek Vasut <marek.vasut@gmail.com>
  6. * on behalf of DENX Software Engineering GmbH
  7. */
  8. #ifndef __M28_INIT_H__
  9. #define __M28_INIT_H__
  10. void early_delay(int delay);
  11. void mxs_power_init(void);
  12. #ifdef CONFIG_SPL_MXS_PSWITCH_WAIT
  13. void mxs_power_wait_pswitch(void);
  14. #else
  15. static inline void mxs_power_wait_pswitch(void) { }
  16. #endif
  17. void mxs_mem_init(void);
  18. uint32_t mxs_mem_get_size(void);
  19. void mxs_lradc_init(void);
  20. void mxs_lradc_enable_batt_measurement(void);
  21. #endif /* __M28_INIT_H__ */