diff options
author | Christoph Muellner <christoph.muellner@theobroma-systems.com> | 2019-05-23 19:02:32 +0200 |
---|---|---|
committer | Christoph Muellner <christoph.muellner@theobroma-systems.com> | 2019-06-24 19:19:11 +0200 |
commit | db20755690fa1713c207b6a738883b02fb211ecf (patch) | |
tree | a6d4fd929a86008629384265be66f12c57844afb | |
parent | 5b99639235f57149cbbbbbd629c3af58c994e139 (diff) |
rockchip: Make DTB switch more verbose.
Using the kernel DTB for U-Boot is not the default behaviour
of mainline U-Boot, therefore this behaviour deserves to be
more expressive by showing that switch and the new DTBs
model string.
Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
-rw-r--r-- | arch/arm/mach-rockchip/board.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-rockchip/board.c b/arch/arm/mach-rockchip/board.c index 16136442df..45c2e4e4cd 100644 --- a/arch/arm/mach-rockchip/board.c +++ b/arch/arm/mach-rockchip/board.c @@ -182,6 +182,8 @@ int init_kernel_dtb(void) int ret = 0; ulong fdt_addr = 0; + printf("Loading kernel DTB.\n"); + fdt_addr = env_get_ulong("fdt_addr_r", 16, 0); if (!fdt_addr) { printf("No Found FDT Load Address.\n"); @@ -198,8 +200,12 @@ int init_kernel_dtb(void) dm_scan_fdt((void *)fdt_addr, false); + printf("Switching to kernel DTB.\n"); + gd->fdt_blob = (void *)fdt_addr; + show_board_info(); + /* Reserve 'reserved-memory' */ ret = boot_fdt_add_sysmem_rsv_regions((void *)gd->fdt_blob); if (ret) |