summaryrefslogtreecommitdiff
path: root/arch/arm/mach-uniphier/sbc/sbc-ld4.c
blob: 24a55ea5456ed53d14352d433ba63e657205928c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * Copyright (C) 2011-2015 Panasonic Corporation
 * Copyright (C) 2015-2017 Socionext Inc.
 *
 * SPDX-License-Identifier:	GPL-2.0+
 */

#include <linux/io.h>

#include "../init.h"
#include "sbc-regs.h"

void uniphier_ld4_sbc_init(void)
{
	u32 tmp;

	uniphier_sbc_init_savepin();

	/* system bus output enable */
	tmp = readl(PC0CTRL);
	tmp &= 0xfffffcff;
	writel(tmp, PC0CTRL);
}