HyperBus changes
* DMA support for TI's AM654 HyperBus controller driver. * HyperBus frontend driver for Renesas RPC-IF driver. -----BEGIN PGP SIGNATURE----- iQFEBAABCAAuFiEEyRC2zAhGcGjrhiNExEYeRXyRFuMFAl+ARxIQHHZpZ25lc2hy QHRpLmNvbQAKCRDERh5FfJEW42A7B/4jHMZ2OZlOEWVros7Yf1ceEBb9V2zskTDT APmPQzFKDix7OeHRnNQRqHEKLQwceUQaYAxRBBlKU7tpHVvr0+F/scELTgvOOZz9 BjLt0hC/CcjhiIUykWu6g+VW2U0YZGIJlWiMdEHiTi7dV3e1tGNaOTf9QJPD5Glq 7XGMg9lfQEKxg5yg9BQ3Jq1n9N9scuwwmsmKcjbjeelMt9CWRVNTvPla8If4+eN3 yoYk3AQagZCYoLpTUS8JthZ6pOehO41/Gn+y4gi9nAuHiqAj4C1sbcJJkvJuMcBY rzRHpu8JZv+lHGnPQNxf2a/UYdBDlpDeRVft4asK8TXADl4/kHEg =b30x -----END PGP SIGNATURE----- Merge tag 'cfi/for-5.10' of gitolite.kernel.org:pub/scm/linux/kernel/git/mtd/linux into mtd/next HyperBus changes * DMA support for TI's AM654 HyperBus controller driver. * HyperBus frontend driver for Renesas RPC-IF driver.
This commit is contained in:
commit
9113ba38fb
5 changed files with 319 additions and 16 deletions
|
|
@ -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,
|
||||
|
|
@ -20,6 +31,7 @@ enum hyperbus_memtype {
|
|||
* @mtd: pointer to MTD struct
|
||||
* @ctlr: pointer to HyperBus controller struct
|
||||
* @memtype: type of memory device: HyperFlash or HyperRAM
|
||||
* @priv: pointer to controller specific per device private data
|
||||
*/
|
||||
|
||||
struct hyperbus_device {
|
||||
|
|
@ -28,6 +40,7 @@ struct hyperbus_device {
|
|||
struct mtd_info *mtd;
|
||||
struct hyperbus_ctlr *ctlr;
|
||||
enum hyperbus_memtype memtype;
|
||||
void *priv;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue