blob: 342a086b7dfc45653273c5abfc6f0601250f10e8 [file] [log] [blame]
Masahiro Yamada1fe65d32015-09-22 00:27:41 +09001/*
Masahiro Yamada6f11cde2017-01-15 14:59:05 +09002 * Copyright (C) 2016-2017 Socionext Inc.
Masahiro Yamada1fe65d32015-09-22 00:27:41 +09003 *
4 * SPDX-License-Identifier: GPL-2.0+
5 */
6
7#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 Yamada1fe65d32015-09-22 00:27:41 +090011
Masahiro Yamada6f11cde2017-01-15 14:59:05 +090012void uniphier_pxs2_sbc_init(void)
Masahiro Yamada1fe65d32015-09-22 00:27:41 +090013{
Masahiro Yamada6f11cde2017-01-15 14:59:05 +090014 uniphier_sbc_init_savepin();
15
Masahiro Yamada1fe65d32015-09-22 00:27:41 +090016 /* necessary for ROM boot ?? */
17 /* system bus output enable */
18 writel(0x17, PC0CTRL);
Masahiro Yamada1fe65d32015-09-22 00:27:41 +090019}