summaryrefslogtreecommitdiffstats
path: root/src/soc/sifive/fu540/bootblock.c
blob: a5a206b72563e395f33e6c6ea9ebb61547a933a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* SPDX-License-Identifier: GPL-2.0-only */

#include <device/mmio.h>
#include <bootblock_common.h>
#include <console/console.h>
#include <soc/addressmap.h>

void bootblock_soc_init(void)
{
	printk(BIOS_INFO, "Boot mode: %d\n", read32((uint32_t *)FU540_MSEL));
}