| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #include <bootblock_common.h> |
| 4 | #include <soc/clk.h> |
| 5 | #include <soc/wakeup.h> |
| 6 | |
| 7 | void bootblock_soc_init(void) |
| 8 | { |
| 9 | if (get_wakeup_state() == WAKEUP_DIRECT) { |
| 10 | wakeup(); |
| 11 | /* Never returns. */ |
| 12 | } |
| 13 | |
| 14 | /* For most ARM systems, we have to initialize firmware media source |
| 15 | * (ex, SPI, SD/MMC, or eMMC) now; but for Exynos platform, that is |
| 16 | * already handled by iROM so there's no need to setup again. |
| 17 | */ |
| 18 | } |