1 /* SPDX-License-Identifier: GPL-2.0+ */
9 #ifndef __DRIVER_NVMXIP_H__
10 #define __DRIVER_NVMXIP_H__
14 #define NVMXIP_BLKDRV_NAME "nvmxip-blk"
15 #define NVMXIP_BLKDEV_NAME_SZ 20
18 * struct nvmxip_plat - the NVMXIP driver plat
20 * @phys_base: NVM XIP device base address
21 * @lba_shift: block size shift count
22 * @lba: number of blocks
24 * The NVMXIP information read from the DT.
27 phys_addr_t phys_base;
33 * nvmxip_bind() - post binding treatments
34 * @dev: the NVMXIP device
36 * Create and probe a child block device.
40 * 0 on success. Otherwise, failure
42 int nvmxip_probe(struct udevice *udev);
44 #endif /* __DRIVER_NVMXIP_H__ */