xref: /openbmc/u-boot/arch/arm/mach-uniphier/sbc/sbc-ld4.c (revision 83d290c56fab2d38cd1ab4c4cc7099559c1d5046)
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * Copyright (C) 2011-2015 Panasonic Corporation
4  * Copyright (C) 2015-2017 Socionext Inc.
5  */
6 
7 #include <linux/io.h>
8 
9 #include "../init.h"
10 #include "sbc-regs.h"
11 
uniphier_ld4_sbc_init(void)12 void uniphier_ld4_sbc_init(void)
13 {
14 	u32 tmp;
15 
16 	uniphier_sbc_init_savepin();
17 
18 	/* system bus output enable */
19 	tmp = readl(PC0CTRL);
20 	tmp &= 0xfffffcff;
21 	writel(tmp, PC0CTRL);
22 }
23