Merge branch '2019-05-28-master-imports'
[oweals/u-boot.git] / arch / arm / mach-uniphier / sbc / sbc-pxs2.c
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * Copyright (C) 2016-2017 Socionext Inc.
4  */
5
6 #include <linux/io.h>
7
8 #include "../init.h"
9 #include "sbc-regs.h"
10
11 void uniphier_pxs2_sbc_init(void)
12 {
13         uniphier_sbc_init_savepin();
14
15         /* necessary for ROM boot ?? */
16         /* system bus output enable */
17         writel(0x17, PC0CTRL);
18
19         uniphier_pin_init("system-bus");        /* PXs3 */
20 }