xref: /openbmc/linux/arch/arm/mach-lpc32xx/common.h (revision 9dc03ffd)
1c942fddfSThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-or-later */
2fc982e1cSKevin Wells /*
3fc982e1cSKevin Wells  * arch/arm/mach-lpc32xx/common.h
4fc982e1cSKevin Wells  *
5fc982e1cSKevin Wells  * Author: Kevin Wells <kevin.wells@nxp.com>
6fc982e1cSKevin Wells  *
7fc982e1cSKevin Wells  * Copyright (C) 2009-2010 NXP Semiconductors
8fc982e1cSKevin Wells  */
9fc982e1cSKevin Wells 
10fc982e1cSKevin Wells #ifndef __LPC32XX_COMMON_H
11fc982e1cSKevin Wells #define __LPC32XX_COMMON_H
12fc982e1cSKevin Wells 
13d82b4b0aSVladimir Zapolskiy #include <linux/init.h>
14fc982e1cSKevin Wells 
15fc982e1cSKevin Wells /*
16fc982e1cSKevin Wells  * Other arch specific structures and functions
17fc982e1cSKevin Wells  */
18fc982e1cSKevin Wells extern void __init lpc32xx_map_io(void);
19fc982e1cSKevin Wells extern void __init lpc32xx_serial_init(void);
20b23fcd90SRussell King 
21fc982e1cSKevin Wells /*
22fc982e1cSKevin Wells  * Returns the LPC32xx unique 128-bit chip ID
23fc982e1cSKevin Wells  */
24fc982e1cSKevin Wells extern void lpc32xx_get_uid(u32 devid[4]);
25fc982e1cSKevin Wells 
26fc982e1cSKevin Wells /*
27fc982e1cSKevin Wells  * Pointers used for sizing and copying suspend function data
28fc982e1cSKevin Wells  */
29fc982e1cSKevin Wells extern int lpc32xx_sys_suspend(void);
30fc982e1cSKevin Wells extern int lpc32xx_sys_suspend_sz;
31fc982e1cSKevin Wells 
32fc982e1cSKevin Wells #endif
33