mtd: hyperbus: add Renesas RPC-IF driver
Add the HyperFLash driver for the Renesas RPC-IF. It's the "front end" driver using the "back end" APIs in the main driver to talk to the real hardware. Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com> Link: https://lore.kernel.org/r/78abb851-2beb-fe7d-87e5-ce58ee877d35@gmail.com
This commit is contained in:

committed by
Vignesh Raghavendra

parent
00c9cf49a6
commit
5de15b610f
@@ -8,6 +8,17 @@
|
||||
|
||||
#include <linux/mtd/map.h>
|
||||
|
||||
/* HyperBus command bits */
|
||||
#define HYPERBUS_RW 0x80 /* R/W# */
|
||||
#define HYPERBUS_RW_WRITE 0
|
||||
#define HYPERBUS_RW_READ 0x80
|
||||
#define HYPERBUS_AS 0x40 /* Address Space */
|
||||
#define HYPERBUS_AS_MEM 0
|
||||
#define HYPERBUS_AS_REG 0x40
|
||||
#define HYPERBUS_BT 0x20 /* Burst Type */
|
||||
#define HYPERBUS_BT_WRAPPED 0
|
||||
#define HYPERBUS_BT_LINEAR 0x20
|
||||
|
||||
enum hyperbus_memtype {
|
||||
HYPERFLASH,
|
||||
HYPERRAM,
|
||||
|
Reference in New Issue
Block a user