--- zzzz-none-000/linux-4.9.279/include/linux/mmc/host.h 2021-08-08 06:38:54.000000000 +0000 +++ puma7-atom-6591-750/linux-4.9.279/include/linux/mmc/host.h 2023-02-08 11:43:43.000000000 +0000 @@ -96,6 +96,14 @@ void (*pre_req)(struct mmc_host *host, struct mmc_request *req, bool is_first_req); void (*request)(struct mmc_host *host, struct mmc_request *req); +#ifdef CONFIG_TFFS_PANIC_LOG + /* + * AVM synchronous read/write support + */ + int (*avm_sync_io_init)(struct mmc_host *host); + int (*avm_sync_io_rw_blocks)(struct mmc_host *host, sector_t sect, + size_t len, u8 *in, const u8 *out); +#endif /* * Avoid calling the next three functions too often or in a "fast @@ -312,6 +320,7 @@ #define MMC_CAP2_HS400_ES (1 << 20) /* Host supports enhanced strobe */ #define MMC_CAP2_NO_SD (1 << 21) /* Do not send SD commands during initialization */ #define MMC_CAP2_NO_MMC (1 << 22) /* Do not send (e)MMC commands during initialization */ +#define MMC_CAP2_NO_SHUTDOWN_BUS (1 << 23) /* Don't allow shutdown callback for shared mmc.*/ mmc_pm_flag_t pm_caps; /* supported pm features */