2018-05-06 21:58:06 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
2012-04-19 04:33:08 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2011 Vladimir Zapolskiy <vz@mleia.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _LPC32XX_SYS_PROTO_H
|
|
|
|
#define _LPC32XX_SYS_PROTO_H
|
|
|
|
|
2015-03-31 09:40:51 +00:00
|
|
|
#include <asm/arch/emc.h>
|
|
|
|
|
2012-04-19 04:33:08 +00:00
|
|
|
void lpc32xx_uart_init(unsigned int uart_id);
|
2015-08-10 12:16:31 +00:00
|
|
|
void lpc32xx_dma_init(void);
|
2015-03-31 09:40:43 +00:00
|
|
|
void lpc32xx_mac_init(void);
|
2015-03-31 09:40:44 +00:00
|
|
|
void lpc32xx_mlc_nand_init(void);
|
2015-07-18 00:07:52 +00:00
|
|
|
void lpc32xx_slc_nand_init(void);
|
2015-03-31 09:40:45 +00:00
|
|
|
void lpc32xx_i2c_init(unsigned int devnum);
|
2015-03-31 09:40:47 +00:00
|
|
|
void lpc32xx_ssp_init(void);
|
2015-08-13 19:40:22 +00:00
|
|
|
void lpc32xx_usb_init(void);
|
2015-03-31 09:40:51 +00:00
|
|
|
#if defined(CONFIG_SPL_BUILD)
|
|
|
|
void ddr_init(const struct emc_dram_settings *dram);
|
|
|
|
#endif
|
2012-04-19 04:33:08 +00:00
|
|
|
#endif /* _LPC32XX_SYS_PROTO_H */
|