Home
last modified time | relevance | path

Searched hist:"9 da7a653bda90669057b842b64de4f6b880c8574" (Results 1 – 3 of 3) sorted by relevance

/rk3399_ARM-atf/include/drivers/io/
H A Dio_block.h9da7a653bda90669057b842b64de4f6b880c8574 Fri Mar 18 07:14:19 UTC 2016 Haojian Zhuang <haojian.zhuang@linaro.org> IO: support block device type

FIP is accessed as memory-mapped type. eMMC is block device type.
In order to support FIP based on eMMC, add the new io_block layer.

io_block always access eMMC device as block size. And it'll only
copy the required data into buffer in io_block driver. So preparing
an temporary buffer is required.

When use io_block device, MAX_IO_BLOCK_DEVICES should be declared
in platform_def.h. It's used to support multiple block devices.

Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
H A Dio_storage.h9da7a653bda90669057b842b64de4f6b880c8574 Fri Mar 18 07:14:19 UTC 2016 Haojian Zhuang <haojian.zhuang@linaro.org> IO: support block device type

FIP is accessed as memory-mapped type. eMMC is block device type.
In order to support FIP based on eMMC, add the new io_block layer.

io_block always access eMMC device as block size. And it'll only
copy the required data into buffer in io_block driver. So preparing
an temporary buffer is required.

When use io_block device, MAX_IO_BLOCK_DEVICES should be declared
in platform_def.h. It's used to support multiple block devices.

Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
/rk3399_ARM-atf/drivers/io/
H A Dio_block.c9da7a653bda90669057b842b64de4f6b880c8574 Fri Mar 18 07:14:19 UTC 2016 Haojian Zhuang <haojian.zhuang@linaro.org> IO: support block device type

FIP is accessed as memory-mapped type. eMMC is block device type.
In order to support FIP based on eMMC, add the new io_block layer.

io_block always access eMMC device as block size. And it'll only
copy the required data into buffer in io_block driver. So preparing
an temporary buffer is required.

When use io_block device, MAX_IO_BLOCK_DEVICES should be declared
in platform_def.h. It's used to support multiple block devices.

Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>