mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 22:40:53 +07:00
f6a8c60960
(Commit 7cb777a3d7
(mtd: add ARM pismo support)
intended to add this, but seems only to have patched the Makefile without
touching Kconfig or providing any code...)
The following patch adds support for PISMO modules found on ARM Ltd
development platforms. These are MTD modules, and can have a
selection of SRAM, flash or DOC devices as described by an on-board
I2C EEPROM.
We support SRAM and NOR flash devices only by registering appropriate
conventional MTD platform devices as children of the 'pismo' device.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
18 lines
440 B
C
18 lines
440 B
C
/*
|
|
* PISMO memory driver - http://www.pismoworld.org/
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License.
|
|
*/
|
|
#ifndef __LINUX_MTD_PISMO_H
|
|
#define __LINUX_MTD_PISMO_H
|
|
|
|
struct pismo_pdata {
|
|
void (*set_vpp)(void *, int);
|
|
void *vpp_data;
|
|
phys_addr_t cs_addrs[5];
|
|
};
|
|
|
|
#endif
|