Masahiro Yamada | 1fe65d3 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 1 | /* |
Masahiro Yamada | 6f11cde | 2017-01-15 14:59:05 +0900 | [diff] [blame] | 2 | * Copyright (C) 2016-2017 Socionext Inc. |
Masahiro Yamada | 1fe65d3 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 3 | * |
4 | * SPDX-License-Identifier: GPL-2.0+ | ||||
5 | */ | ||||
6 | |||||
7 | #include <linux/io.h> | ||||
Masahiro Yamada | efdf340 | 2016-01-09 01:51:13 +0900 | [diff] [blame] | 8 | |
9 | #include "../init.h" | ||||
Masahiro Yamada | efdf340 | 2016-01-09 01:51:13 +0900 | [diff] [blame] | 10 | #include "sbc-regs.h" |
Masahiro Yamada | 1fe65d3 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 11 | |
Masahiro Yamada | 6f11cde | 2017-01-15 14:59:05 +0900 | [diff] [blame] | 12 | void uniphier_pxs2_sbc_init(void) |
Masahiro Yamada | 1fe65d3 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 13 | { |
Masahiro Yamada | 6f11cde | 2017-01-15 14:59:05 +0900 | [diff] [blame] | 14 | uniphier_sbc_init_savepin(); |
15 | |||||
Masahiro Yamada | 1fe65d3 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 16 | /* necessary for ROM boot ?? */ |
17 | /* system bus output enable */ | ||||
18 | writel(0x17, PC0CTRL); | ||||
Masahiro Yamada | 1fe65d3 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 19 | } |