]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/arm/cpu/arm926ejs/mxs/mxs_init.h
karo: tx6: remove unreachable 'return' statements
[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 early_delay(int delay);
14
15 void mxs_power_init(void);
16
17 #ifdef  CONFIG_SPL_MXS_PSWITCH_WAIT
18 void mxs_power_wait_pswitch(void);
19 #else
20 static inline void mxs_power_wait_pswitch(void) { }
21 #endif
22
23 void mxs_mem_init(void);
24 uint32_t mxs_mem_get_size(void);
25
26 void mxs_lradc_init(void);
27 void mxs_lradc_enable_batt_measurement(void);
28
29 #endif  /* __M28_INIT_H__ */