[U-Boot] [PATCH 1/2] rockchip: rk3399-puma: enable SPL_ATF_NO_PLATFORM_PARAM

As we're working on the next update of our ATF (and U-Boot and the ATF are out-of-sync), let's temporarily enable SPL_ATF_NO_PLATFORM_PARAM to reduce compatibility issues.
Signed-off-by: Philipp Tomsich philipp.tomsich@theobroma-systems.com ---
configs/puma-rk3399_defconfig | 1 + 1 file changed, 1 insertion(+)
diff --git a/configs/puma-rk3399_defconfig b/configs/puma-rk3399_defconfig index 515b937..3fcff25 100644 --- a/configs/puma-rk3399_defconfig +++ b/configs/puma-rk3399_defconfig @@ -32,6 +32,7 @@ CONFIG_SPL_I2C_SUPPORT=y CONFIG_SPL_POWER_SUPPORT=y CONFIG_SPL_SPI_LOAD=y CONFIG_SPL_ATF=y +CONFIG_SPL_ATF_NO_PLATFORM_PARAM=y CONFIG_CMD_BOOTZ=y CONFIG_CMD_GPT=y CONFIG_CMD_I2C=y

With the latest changes to add support for the Chromebook Bob, initialisation through debug_uart_init() did no longer get called for other targets.
Fix this, by moving debug_uart_init() out of the Bob-specific
Signed-off-by: Philipp Tomsich philipp.tomsich@theobroma-systems.com ---
arch/arm/mach-rockchip/rk3399-board-spl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-rockchip/rk3399-board-spl.c b/arch/arm/mach-rockchip/rk3399-board-spl.c index 906aaf4..ccc136f 100644 --- a/arch/arm/mach-rockchip/rk3399-board-spl.c +++ b/arch/arm/mach-rockchip/rk3399-board-spl.c @@ -185,11 +185,11 @@ void board_init_f(ulong dummy)
#define EARLY_UART #ifdef EARLY_UART + debug_uart_init(); + # ifdef CONFIG_TARGET_CHROMEBOOK_BOB int sum, i;
- debug_uart_init(); - /* * Add a delay and ensure that the compiler does not optimise this out. * This is needed since the power rails tail a while to turn on, and

On 01.02.2019, at 16:55, Philipp Tomsich philipp.tomsich@theobroma-systems.com wrote:
With the latest changes to add support for the Chromebook Bob, initialisation through debug_uart_init() did no longer get called for other targets.
Fix this, by moving debug_uart_init() out of the Bob-specific
Signed-off-by: Philipp Tomsich philipp.tomsich@theobroma-systems.com
Applied to u-boot-rockchip/master.

On 01.02.2019, at 16:55, Philipp Tomsich philipp.tomsich@theobroma-systems.com wrote:
As we're working on the next update of our ATF (and U-Boot and the ATF are out-of-sync), let's temporarily enable SPL_ATF_NO_PLATFORM_PARAM to reduce compatibility issues.
Signed-off-by: Philipp Tomsich philipp.tomsich@theobroma-systems.com
Applied to u-boot-rockchip/master.
participants (1)
-
Philipp Tomsich