mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 04:55:18 +07:00
9dc03ffd99
The lpc_eth driver uses a platform specific method to find the internal sram. This prevents building it on other machines. Rework to only use one function call and keep the other platform internals where they belong. Ideally this would look up the sram location from DT, but as this is a rarely used driver, I want to keep the modifications to a minimum. Link: https://lore.kernel.org/r/20190809144043.476786-7-arnd@arndb.de Signed-off-by: Arnd Bergmann <arnd@arndb.de>
33 lines
657 B
C
33 lines
657 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* arch/arm/mach-lpc32xx/common.h
|
|
*
|
|
* Author: Kevin Wells <kevin.wells@nxp.com>
|
|
*
|
|
* Copyright (C) 2009-2010 NXP Semiconductors
|
|
*/
|
|
|
|
#ifndef __LPC32XX_COMMON_H
|
|
#define __LPC32XX_COMMON_H
|
|
|
|
#include <linux/init.h>
|
|
|
|
/*
|
|
* Other arch specific structures and functions
|
|
*/
|
|
extern void __init lpc32xx_map_io(void);
|
|
extern void __init lpc32xx_serial_init(void);
|
|
|
|
/*
|
|
* Returns the LPC32xx unique 128-bit chip ID
|
|
*/
|
|
extern void lpc32xx_get_uid(u32 devid[4]);
|
|
|
|
/*
|
|
* Pointers used for sizing and copying suspend function data
|
|
*/
|
|
extern int lpc32xx_sys_suspend(void);
|
|
extern int lpc32xx_sys_suspend_sz;
|
|
|
|
#endif
|