2014-10-03 10:21:06 +00:00
|
|
|
/*
|
2016-03-18 07:41:44 +00:00
|
|
|
* Copyright (C) 2011-2016 Masahiro Yamada <yamada.masahiro@socionext.com>
|
2014-10-03 10:21:06 +00:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
|
|
*/
|
|
|
|
|
2015-05-29 08:30:00 +00:00
|
|
|
#include <linux/io.h>
|
2016-01-08 16:51:13 +00:00
|
|
|
|
|
|
|
#include "../init.h"
|
|
|
|
#include "sbc-regs.h"
|
2014-10-03 10:21:06 +00:00
|
|
|
|
2016-03-18 07:41:44 +00:00
|
|
|
int uniphier_ld4_sbc_init(const struct uniphier_board_data *bd)
|
2014-10-03 10:21:06 +00:00
|
|
|
{
|
2015-01-06 05:20:04 +00:00
|
|
|
u32 tmp;
|
|
|
|
|
|
|
|
/* system bus output enable */
|
|
|
|
tmp = readl(PC0CTRL);
|
|
|
|
tmp &= 0xfffffcff;
|
|
|
|
writel(tmp, PC0CTRL);
|
|
|
|
|
2015-09-21 15:27:39 +00:00
|
|
|
return 0;
|
2014-10-03 10:21:06 +00:00
|
|
|
}
|