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