blob: 12bee79fd65d1c29f37bb543fd1fe90f33c80cf3 [file] [log] [blame]
Masahiro Yamadabb2ff9d2014-10-03 19:21:06 +09001/*
Masahiro Yamada7d600a62016-03-18 16:41:44 +09002 * Copyright (C) 2011-2016 Masahiro Yamada <yamada.masahiro@socionext.com>
Masahiro Yamadabb2ff9d2014-10-03 19:21:06 +09003 *
4 * SPDX-License-Identifier: GPL-2.0+
5 */
6
Masahiro Yamada663a23f2015-05-29 17:30:00 +09007#include <linux/io.h>
Masahiro Yamadaefdf3402016-01-09 01:51:13 +09008
9#include "../init.h"
Masahiro Yamadaefdf3402016-01-09 01:51:13 +090010#include "sbc-regs.h"
Masahiro Yamadabb2ff9d2014-10-03 19:21:06 +090011
Masahiro Yamada7d600a62016-03-18 16:41:44 +090012int uniphier_ld4_sbc_init(const struct uniphier_board_data *bd)
Masahiro Yamadabb2ff9d2014-10-03 19:21:06 +090013{
Masahiro Yamada82ca1f12015-01-06 14:20:04 +090014 u32 tmp;
15
16 /* system bus output enable */
17 tmp = readl(PC0CTRL);
18 tmp &= 0xfffffcff;
19 writel(tmp, PC0CTRL);
20
Masahiro Yamada75f16f82015-09-22 00:27:39 +090021 return 0;
Masahiro Yamadabb2ff9d2014-10-03 19:21:06 +090022}