blob: 4675dc3c5330208d400c48efff28eef2a06c5849 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Vladimir Zapolskiy6b20ef82012-04-19 04:33:08 +00002/*
3 * Copyright (C) 2011 Vladimir Zapolskiy <vz@mleia.com>
Vladimir Zapolskiy6b20ef82012-04-19 04:33:08 +00004 */
5
6#ifndef _LPC32XX_SYS_PROTO_H
7#define _LPC32XX_SYS_PROTO_H
8
Albert ARIBAUD \(3ADEV\)ee69a392015-03-31 11:40:51 +02009#include <asm/arch/emc.h>
10
Vladimir Zapolskiy6b20ef82012-04-19 04:33:08 +000011void lpc32xx_uart_init(unsigned int uart_id);
Sylvain Lemieux90a837f2015-08-10 08:16:31 -040012void lpc32xx_dma_init(void);
Albert ARIBAUD \(3ADEV\)391e1632015-03-31 11:40:43 +020013void lpc32xx_mac_init(void);
Albert ARIBAUD \(3ADEV\)7c97f702015-03-31 11:40:44 +020014void lpc32xx_mlc_nand_init(void);
Vladimir Zapolskiy78f04f02015-07-18 03:07:52 +030015void lpc32xx_slc_nand_init(void);
Albert ARIBAUD \(3ADEV\)b23324c2015-03-31 11:40:45 +020016void lpc32xx_i2c_init(unsigned int devnum);
Albert ARIBAUD \(3ADEV\)24bfa9d2015-03-31 11:40:47 +020017void lpc32xx_ssp_init(void);
Sylvain Lemieux890cc772015-08-13 15:40:22 -040018void lpc32xx_usb_init(void);
Albert ARIBAUD \(3ADEV\)ee69a392015-03-31 11:40:51 +020019#if defined(CONFIG_SPL_BUILD)
20void ddr_init(const struct emc_dram_settings *dram);
21#endif
Vladimir Zapolskiy6b20ef82012-04-19 04:33:08 +000022#endif /* _LPC32XX_SYS_PROTO_H */