T Michael Turney | bd24d03 | 2018-03-23 09:58:26 -0700 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright (C) 2018, 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> |
T Michael Turney | a12c601 | 2018-03-27 09:33:42 -0700 | [diff] [blame] | 17 | #include <soc/mmu.h> |
David Dai | 4655157 | 2018-05-09 14:38:23 -0700 | [diff] [blame] | 18 | #include <soc/clock.h> |
T Michael Turney | bd24d03 | 2018-03-23 09:58:26 -0700 | [diff] [blame] | 19 | |
| 20 | void bootblock_soc_init(void) |
| 21 | { |
David Dai | 4655157 | 2018-05-09 14:38:23 -0700 | [diff] [blame] | 22 | clock_init(); |
T Michael Turney | a12c601 | 2018-03-27 09:33:42 -0700 | [diff] [blame] | 23 | sdm845_mmu_init(); |
T Michael Turney | bd24d03 | 2018-03-23 09:58:26 -0700 | [diff] [blame] | 24 | } |