]> git.sur5r.net Git - u-boot/blob - arch/arm/mach-uniphier/sbc/sbc-pxs2.c
SPDX: Convert all of our single license tags to Linux Kernel style
[u-boot] / 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 }