blob: acbf4c53fb5a5091b4dd1c0fe71b1b99ab2b6fc4 [file] [log] [blame]
Masahiro Yamada1fe65d32015-09-22 00:27:41 +09001/*
Masahiro Yamada7d600a62016-03-18 16:41:44 +09002 * Copyright (C) 2015-2016 Masahiro Yamada <yamada.masahiro@socionext.com>
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 Yamada7d600a62016-03-18 16:41:44 +090012int uniphier_pxs2_sbc_init(const struct uniphier_board_data *bd)
Masahiro Yamada1fe65d32015-09-22 00:27:41 +090013{
14 /* necessary for ROM boot ?? */
15 /* system bus output enable */
16 writel(0x17, PC0CTRL);
17
Masahiro Yamada1fe65d32015-09-22 00:27:41 +090018 return 0;
19}