blob: 4f97d76c9bb1d7659af66f5a473a87f05ae64716 [file] [log] [blame]
T Michael Turney7783c602019-10-09 07:04:54 -07001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2018-2019, The Linux Foundation. All rights reserved.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 and
8 * only version 2 as published by the Free Software Foundation.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 */
15
16#include <bootblock_common.h>
Taniya Das0e03aa22019-08-07 11:28:28 +053017#include <soc/clock.h>
T Michael Turney7783c602019-10-09 07:04:54 -070018#include <soc/mmu.h>
Akash Asthana634c7832019-07-29 18:11:15 +053019#include <soc/qspi.h>
T Michael Turney7783c602019-10-09 07:04:54 -070020
21void bootblock_soc_init(void)
22{
23 sc7180_mmu_init();
Taniya Das0e03aa22019-08-07 11:28:28 +053024 clock_init();
Akash Asthana634c7832019-07-29 18:11:15 +053025 quadspi_init(25 * MHz);
T Michael Turney7783c602019-10-09 07:04:54 -070026}