blob: 32f0ad2178077a9d3b225a92138efcd74bd83be5 [file] [log] [blame]
David Brazdil0f672f62019-12-10 10:32:29 +00001/* SPDX-License-Identifier: GPL-2.0-or-later */
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00002/*
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 Scullb4b6d4a2019-01-02 15:54:55 +00008 */
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 */
18extern void __init lpc32xx_map_io(void);
19extern void __init lpc32xx_serial_init(void);
20
21/*
22 * Returns the LPC32xx unique 128-bit chip ID
23 */
24extern void lpc32xx_get_uid(u32 devid[4]);
25
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000026/*
27 * Pointers used for sizing and copying suspend function data
28 */
29extern int lpc32xx_sys_suspend(void);
30extern int lpc32xx_sys_suspend_sz;
31
32#endif