soc/intel/common/block/chip: Refactor chip_get_common_soc_structure()
[coreboot.git] / src / soc / sifive / fu540 / bootblock.c
bloba5a206b72563e395f33e6c6ea9ebb61547a933a9
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <device/mmio.h>
4 #include <bootblock_common.h>
5 #include <console/console.h>
6 #include <soc/addressmap.h>
8 void bootblock_soc_init(void)
10 printk(BIOS_INFO, "Boot mode: %d\n", read32((uint32_t *)FU540_MSEL));