xref: /OK3568_Linux_fs/u-boot/arch/arm/include/asm/arch-lpc32xx/sys_proto.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /*
2*4882a593Smuzhiyun  * Copyright (C) 2011 Vladimir Zapolskiy <vz@mleia.com>
3*4882a593Smuzhiyun  *
4*4882a593Smuzhiyun  * SPDX-License-Identifier:	GPL-2.0+
5*4882a593Smuzhiyun  */
6*4882a593Smuzhiyun 
7*4882a593Smuzhiyun #ifndef _LPC32XX_SYS_PROTO_H
8*4882a593Smuzhiyun #define _LPC32XX_SYS_PROTO_H
9*4882a593Smuzhiyun 
10*4882a593Smuzhiyun #include <asm/arch/emc.h>
11*4882a593Smuzhiyun 
12*4882a593Smuzhiyun void lpc32xx_uart_init(unsigned int uart_id);
13*4882a593Smuzhiyun void lpc32xx_dma_init(void);
14*4882a593Smuzhiyun void lpc32xx_mac_init(void);
15*4882a593Smuzhiyun void lpc32xx_mlc_nand_init(void);
16*4882a593Smuzhiyun void lpc32xx_slc_nand_init(void);
17*4882a593Smuzhiyun void lpc32xx_i2c_init(unsigned int devnum);
18*4882a593Smuzhiyun void lpc32xx_ssp_init(void);
19*4882a593Smuzhiyun void lpc32xx_usb_init(void);
20*4882a593Smuzhiyun #if defined(CONFIG_SPL_BUILD)
21*4882a593Smuzhiyun void ddr_init(const struct emc_dram_settings *dram);
22*4882a593Smuzhiyun #endif
23*4882a593Smuzhiyun #endif /* _LPC32XX_SYS_PROTO_H */
24