uniphier: set buffer offset and length for io_block dynamically
Currently, the .buffer field in io_block_dev_spec is statically set,
which is not handy for PIE.

Towards the goal of making this really position-independent, set the
buffer length and length in the uniphier_io_block_setup() function.

Change-Id: I22b20d7b58d6ffd38f64f967a2820fca4bd7dade
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
1 parent b5dd85f commit b79b3177d3c0eaf18a595feed82b250ac391a87f
@Masahiro Yamada Masahiro Yamada authored on 16 Jan 2020
Showing 5 changed files
View
plat/socionext/uniphier/uniphier.h
View
plat/socionext/uniphier/uniphier_emmc.c
View
plat/socionext/uniphier/uniphier_io_storage.c
View
plat/socionext/uniphier/uniphier_nand.c
View
plat/socionext/uniphier/uniphier_usb.c