blob: eb8010f8b80a3381b648d17d97d27ebc41b78e2e [file] [log] [blame]
Vladimir Zapolskiy6b20ef82012-04-19 04:33:08 +00001/*
2 * Copyright (C) 2011 Vladimir Zapolskiy <vz@mleia.com>
3 *
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02004 * SPDX-License-Identifier: GPL-2.0+
Vladimir Zapolskiy6b20ef82012-04-19 04:33:08 +00005 */
6
7#ifndef _LPC32XX_SYS_PROTO_H
8#define _LPC32XX_SYS_PROTO_H
9
Albert ARIBAUD \(3ADEV\)ee69a392015-03-31 11:40:51 +020010#include <asm/arch/emc.h>
11
Vladimir Zapolskiy6b20ef82012-04-19 04:33:08 +000012void lpc32xx_uart_init(unsigned int uart_id);
Sylvain Lemieux90a837f2015-08-10 08:16:31 -040013void lpc32xx_dma_init(void);
Albert ARIBAUD \(3ADEV\)391e1632015-03-31 11:40:43 +020014void lpc32xx_mac_init(void);
Albert ARIBAUD \(3ADEV\)7c97f702015-03-31 11:40:44 +020015void lpc32xx_mlc_nand_init(void);
Vladimir Zapolskiy78f04f02015-07-18 03:07:52 +030016void lpc32xx_slc_nand_init(void);
Albert ARIBAUD \(3ADEV\)b23324c2015-03-31 11:40:45 +020017void lpc32xx_i2c_init(unsigned int devnum);
Albert ARIBAUD \(3ADEV\)24bfa9d2015-03-31 11:40:47 +020018void lpc32xx_ssp_init(void);
Sylvain Lemieux890cc772015-08-13 15:40:22 -040019void lpc32xx_usb_init(void);
Albert ARIBAUD \(3ADEV\)ee69a392015-03-31 11:40:51 +020020#if defined(CONFIG_SPL_BUILD)
21void ddr_init(const struct emc_dram_settings *dram);
22#endif
Vladimir Zapolskiy6b20ef82012-04-19 04:33:08 +000023#endif /* _LPC32XX_SYS_PROTO_H */