mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-26 22:52:18 +00:00
ba1657338b
On the RK3399, we will have either OF_PLATDATA or full OF_CONTROL enabled: this allows the use of syscon to retrieve the addresses of GRF and SGRF (except for the early debug UART setup, which runs so early that the device-model is not initialised). This removes the hard-coded addresses and goes through syscon to retrieve the base-addresses of GRF and SGRF. After that, we use the structure definitions to locate the respective registers. In addition to this, the inclusion of header files is also cleaned up: - all headers are included at the beginning (there was a spurious inclusion of the grf header from within a function) - all #include statements for unused headers are removed - the remaining #include statements are sorted (while keeping common.h included in front) Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
||
---|---|---|
.. | ||
rk322x | ||
rk3036 | ||
rk3188 | ||
rk3288 | ||
rk3328 | ||
rk3368 | ||
rk3399 | ||
rv1108 | ||
bootrom.c | ||
Kconfig | ||
Makefile | ||
rk322x-board-spl.c | ||
rk322x-board.c | ||
rk3036-board-spl.c | ||
rk3036-board.c | ||
rk3188-board-spl.c | ||
rk3188-board-tpl.c | ||
rk3188-board.c | ||
rk3288-board-spl.c | ||
rk3288-board.c | ||
rk3368-board-spl.c | ||
rk3368-board-tpl.c | ||
rk3399-board-spl.c | ||
rk_timer.c | ||
save_boot_param.S | ||
sdram_common.c | ||
spl-boot-order.c |