]> git.baikalelectronics.ru Git - arm-tf.git/commit
uniphier: set buffer offset and length for io_block dynamically
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 17 Jan 2020 04:46:13 +0000 (13:46 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 24 Jan 2020 13:34:50 +0000 (22:34 +0900)
commitb79b3177d3c0eaf18a595feed82b250ac391a87f
treecec6519a218a3c4c982ace414b64c443d03d3571
parentb5dd85f2c999caa7302d638e516858549ea049ad
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>
plat/socionext/uniphier/uniphier.h
plat/socionext/uniphier/uniphier_emmc.c
plat/socionext/uniphier/uniphier_io_storage.c
plat/socionext/uniphier/uniphier_nand.c
plat/socionext/uniphier/uniphier_usb.c