blob: 7734e51d670d87d018aae514c529f37e841a8f93 [file] [log] [blame]
Heinrich Schuchardt946c3fc2024-06-07 10:41:17 +02001// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * RISC-V-specific information for the 'bdinfo' command
4 */
5
6#include <init.h>
7#include <asm/global_data.h>
8
9DECLARE_GLOBAL_DATA_PTR;
10
11void arch_print_bdinfo(void)
12{
13 bdinfo_print_num_l("boot hart", gd->arch.boot_hart);
14
15 if (gd->arch.firmware_fdt_addr)
16 bdinfo_print_num_ll("firmware fdt",
17 (long long)gd->arch.firmware_fdt_addr);
18}