blob: 8e597ce48a730fe70d761824858c8f89f779b615 [file] [log] [blame]
Thomas Gleixnerc942fdd2019-05-27 08:55:06 +02001/* SPDX-License-Identifier: GPL-2.0-or-later */
Kevin Wellsfc982e12010-07-27 08:42:46 -07002/*
3 * arch/arm/mach-lpc32xx/common.h
4 *
5 * Author: Kevin Wells <kevin.wells@nxp.com>
6 *
7 * Copyright (C) 2009-2010 NXP Semiconductors
Kevin Wellsfc982e12010-07-27 08:42:46 -07008 */
9
10#ifndef __LPC32XX_COMMON_H
11#define __LPC32XX_COMMON_H
12
Vladimir Zapolskiyd82b4b02016-04-18 04:05:25 +030013#include <linux/init.h>
Kevin Wellsfc982e12010-07-27 08:42:46 -070014
15/*
Kevin Wellsfc982e12010-07-27 08:42:46 -070016 * Other arch specific structures and functions
17 */
Kevin Wellsfc982e12010-07-27 08:42:46 -070018extern void __init lpc32xx_map_io(void);
19extern void __init lpc32xx_serial_init(void);
Russell Kingb23fcd92011-11-05 12:17:40 +000020
Kevin Wellsfc982e12010-07-27 08:42:46 -070021/*
22 * Returns the LPC32xx unique 128-bit chip ID
23 */
24extern void lpc32xx_get_uid(u32 devid[4]);
25
Kevin Wellsfc982e12010-07-27 08:42:46 -070026extern u32 lpc32xx_return_iram_size(void);
Kevin Wellsfc982e12010-07-27 08:42:46 -070027/*
28 * Pointers used for sizing and copying suspend function data
29 */
30extern int lpc32xx_sys_suspend(void);
31extern int lpc32xx_sys_suspend_sz;
32
33#endif