1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Freescale i.MX28 SPL functions
5 * Copyright (C) 2011 Marek Vasut <marek.vasut@gmail.com>
6 * on behalf of DENX Software Engineering GmbH
10 #define __M28_INIT_H__
12 void early_delay(int delay);
14 void mxs_power_init(void);
16 #ifdef CONFIG_SPL_MXS_PSWITCH_WAIT
17 void mxs_power_wait_pswitch(void);
19 static inline void mxs_power_wait_pswitch(void) { }
22 void mxs_mem_init(void);
23 uint32_t mxs_mem_get_size(void);
25 void mxs_lradc_init(void);
26 void mxs_lradc_enable_batt_measurement(void);
28 #endif /* __M28_INIT_H__ */