Vladimir Zapolskiy | 6b20ef8 | 2012-04-19 04:33:08 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2011 Vladimir Zapolskiy <vz@mleia.com> |
| 3 | * |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 4 | * SPDX-License-Identifier: GPL-2.0+ |
Vladimir Zapolskiy | 6b20ef8 | 2012-04-19 04:33:08 +0000 | [diff] [blame] | 5 | */ |
| 6 | |
| 7 | #ifndef _LPC32XX_SYS_PROTO_H |
| 8 | #define _LPC32XX_SYS_PROTO_H |
| 9 | |
Albert ARIBAUD \(3ADEV\) | ee69a39 | 2015-03-31 11:40:51 +0200 | [diff] [blame] | 10 | #include <asm/arch/emc.h> |
| 11 | |
Vladimir Zapolskiy | 6b20ef8 | 2012-04-19 04:33:08 +0000 | [diff] [blame] | 12 | void lpc32xx_uart_init(unsigned int uart_id); |
Sylvain Lemieux | 90a837f | 2015-08-10 08:16:31 -0400 | [diff] [blame] | 13 | void lpc32xx_dma_init(void); |
Albert ARIBAUD \(3ADEV\) | 391e163 | 2015-03-31 11:40:43 +0200 | [diff] [blame] | 14 | void lpc32xx_mac_init(void); |
Albert ARIBAUD \(3ADEV\) | 7c97f70 | 2015-03-31 11:40:44 +0200 | [diff] [blame] | 15 | void lpc32xx_mlc_nand_init(void); |
Vladimir Zapolskiy | 78f04f0 | 2015-07-18 03:07:52 +0300 | [diff] [blame] | 16 | void lpc32xx_slc_nand_init(void); |
Albert ARIBAUD \(3ADEV\) | b23324c | 2015-03-31 11:40:45 +0200 | [diff] [blame] | 17 | void lpc32xx_i2c_init(unsigned int devnum); |
Albert ARIBAUD \(3ADEV\) | 24bfa9d | 2015-03-31 11:40:47 +0200 | [diff] [blame] | 18 | void lpc32xx_ssp_init(void); |
Albert ARIBAUD \(3ADEV\) | ee69a39 | 2015-03-31 11:40:51 +0200 | [diff] [blame] | 19 | #if defined(CONFIG_SPL_BUILD) |
| 20 | void ddr_init(const struct emc_dram_settings *dram); |
| 21 | #endif |
Vladimir Zapolskiy | 6b20ef8 | 2012-04-19 04:33:08 +0000 | [diff] [blame] | 22 | #endif /* _LPC32XX_SYS_PROTO_H */ |