David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 2 | /* |
| 3 | * arch/arm/mach-lpc32xx/common.h |
| 4 | * |
| 5 | * Author: Kevin Wells <kevin.wells@nxp.com> |
| 6 | * |
| 7 | * Copyright (C) 2009-2010 NXP Semiconductors |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 8 | */ |
| 9 | |
| 10 | #ifndef __LPC32XX_COMMON_H |
| 11 | #define __LPC32XX_COMMON_H |
| 12 | |
| 13 | #include <linux/init.h> |
| 14 | |
| 15 | /* |
| 16 | * Other arch specific structures and functions |
| 17 | */ |
| 18 | extern void __init lpc32xx_map_io(void); |
| 19 | extern void __init lpc32xx_serial_init(void); |
| 20 | |
| 21 | /* |
| 22 | * Returns the LPC32xx unique 128-bit chip ID |
| 23 | */ |
| 24 | extern void lpc32xx_get_uid(u32 devid[4]); |
| 25 | |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 26 | /* |
| 27 | * Pointers used for sizing and copying suspend function data |
| 28 | */ |
| 29 | extern int lpc32xx_sys_suspend(void); |
| 30 | extern int lpc32xx_sys_suspend_sz; |
| 31 | |
| 32 | #endif |