]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/arm/cpu/arm926ejs/mxs/mxs_init.h
mxs: spl: replace bogus early_delay() function with standard udelay() calls
[karo-tx-uboot.git] / arch / arm / cpu / arm926ejs / mxs / mxs_init.h
1 /*
2  * Freescale i.MX28 SPL functions
3  *
4  * Copyright (C) 2011 Marek Vasut <marek.vasut@gmail.com>
5  * on behalf of DENX Software Engineering GmbH
6  *
7  * SPDX-License-Identifier:     GPL-2.0+
8  */
9
10 #ifndef __M28_INIT_H__
11 #define __M28_INIT_H__
12
13 void mxs_power_init(void);
14
15 #ifdef  CONFIG_SPL_MXS_PSWITCH_WAIT
16 void mxs_power_wait_pswitch(void);
17 #else
18 static inline void mxs_power_wait_pswitch(void) { }
19 #endif
20
21 void mxs_mem_init(void);
22 uint32_t mxs_mem_get_size(void);
23
24 void mxs_lradc_init(void);
25 void mxs_lradc_enable_batt_measurement(void);
26
27 #endif  /* __M28_INIT_H__ */