xref: /openbmc/u-boot/arch/arm/mach-uniphier/sbc/sbc-pxs2.c (revision 9ab403d0dd3c88370612c97f8c4cb88199302833)
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 }
21