diff options
author | Haojian Zhuang <haojian.zhuang@linaro.org> | 2018-08-04 18:07:26 +0800 |
---|---|---|
committer | Haojian Zhuang <haojian.zhuang@linaro.org> | 2018-08-10 17:11:12 +0800 |
commit | eba1b6b3c72409b727f9bd2e5fc15d778819f5c2 (patch) | |
tree | 3e8995b09a6e9354ed528fabe1be6cdefda4e883 /plat/hisilicon/poplar/plat_storage.c | |
parent | 261e43b78f7a1dae21f9792398f82b508601dbeb (diff) | |
download | trusted-firmware-a-eba1b6b3c72409b727f9bd2e5fc15d778819f5c2.tar.gz |
plat/poplar: migrate to mmc framework
Migrate from emmc framework to mmc framework.
Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
Diffstat (limited to 'plat/hisilicon/poplar/plat_storage.c')
-rw-r--r-- | plat/hisilicon/poplar/plat_storage.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plat/hisilicon/poplar/plat_storage.c b/plat/hisilicon/poplar/plat_storage.c index db52c67626..925274ce4e 100644 --- a/plat/hisilicon/poplar/plat_storage.c +++ b/plat/hisilicon/poplar/plat_storage.c @@ -7,13 +7,13 @@ #include <arch_helpers.h> #include <assert.h> #include <debug.h> -#include <emmc.h> #include <firmware_image_package.h> #include <io_block.h> #include <io_driver.h> #include <io_fip.h> #include <io_memmap.h> #include <io_storage.h> +#include <mmc.h> #include <mmio.h> #include <partition/partition.h> #include <semihosting.h> @@ -38,10 +38,10 @@ static const io_block_dev_spec_t emmc_dev_spec = { .length = POPLAR_EMMC_DATA_SIZE, }, .ops = { - .read = emmc_read_blocks, - .write = emmc_write_blocks, + .read = mmc_read_blocks, + .write = mmc_write_blocks, }, - .block_size = EMMC_BLOCK_SIZE, + .block_size = MMC_BLOCK_SIZE, }; #else static const io_dev_connector_t *mmap_dev_con; |