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