| .. | .. |
|---|
| 24 | 24 | #include <linux/kthread.h> |
|---|
| 25 | 25 | #include <linux/delay.h> |
|---|
| 26 | 26 | #include <misc/rkflash_vendor_storage.h> |
|---|
| 27 | +#include "../../mmc/host/rk_sdmmc_ops.h" |
|---|
| 27 | 28 | |
|---|
| 28 | 29 | #define EMMC_IDB_PART_OFFSET 64 |
|---|
| 29 | 30 | #define EMMC_SYS_PART_OFFSET 8064 |
|---|
| .. | .. |
|---|
| 45 | 46 | static u8 *g_idb_buffer; |
|---|
| 46 | 47 | static struct vendor_info *g_vendor; |
|---|
| 47 | 48 | static DEFINE_MUTEX(vendor_ops_mutex); |
|---|
| 48 | | -extern int rk_emmc_transfer(u8 *buffer, unsigned addr, unsigned blksz, |
|---|
| 49 | | - int write); |
|---|
| 50 | 49 | |
|---|
| 51 | 50 | static int emmc_vendor_ops(u8 *buffer, u32 addr, u32 n_sec, int write) |
|---|
| 52 | 51 | { |
|---|