blob: c3d890dde437f1502e470bcc947da2147948f090 [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);
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);
Albert ARIBAUD \(3ADEV\)b23324c2015-03-31 11:40:45 +020015void lpc32xx_i2c_init(unsigned int devnum);
Albert ARIBAUD \(3ADEV\)24bfa9d2015-03-31 11:40:47 +020016void lpc32xx_ssp_init(void);
Albert ARIBAUD \(3ADEV\)ee69a392015-03-31 11:40:51 +020017#if defined(CONFIG_SPL_BUILD)
18void ddr_init(const struct emc_dram_settings *dram);
19#endif
Vladimir Zapolskiy6b20ef82012-04-19 04:33:08 +000020#endif /* _LPC32XX_SYS_PROTO_H */