2 * Freescale i.MX28 SPL functions
4 * Copyright (C) 2011 Marek Vasut <marek.vasut@gmail.com>
5 * on behalf of DENX Software Engineering GmbH
7 * SPDX-License-Identifier: GPL-2.0+
10 #ifndef __M28_INIT_H__
11 #define __M28_INIT_H__
13 void mxs_power_init(void);
15 #ifdef CONFIG_SPL_MXS_PSWITCH_WAIT
16 void mxs_power_wait_pswitch(void);
18 static inline void mxs_power_wait_pswitch(void) { }
21 void mxs_mem_init(void);
22 uint32_t mxs_mem_get_size(void);
24 void mxs_lradc_init(void);
25 void mxs_lradc_enable_batt_measurement(void);
27 #endif /* __M28_INIT_H__ */