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 
9 #ifndef	__M28_INIT_H__
10 #define	__M28_INIT_H__
11 
12 void early_delay(int delay);
13 
14 void mxs_power_init(void);
15 
16 #ifdef	CONFIG_SPL_MXS_PSWITCH_WAIT
17 void mxs_power_wait_pswitch(void);
18 #else
19 static inline void mxs_power_wait_pswitch(void) { }
20 #endif
21 
22 void mxs_mem_init(void);
23 uint32_t mxs_mem_get_size(void);
24 
25 void mxs_lradc_init(void);
26 void mxs_lradc_enable_batt_measurement(void);
27 
28 #endif	/* __M28_INIT_H__ */
29