2018-05-06 21:58:06 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
2014-10-03 10:21:06 +00:00
|
|
|
/*
|
2017-01-15 05:59:05 +00:00
|
|
|
* Copyright (C) 2011-2015 Panasonic Corporation
|
|
|
|
* Copyright (C) 2015-2017 Socionext Inc.
|
2014-10-03 10:21:06 +00:00
|
|
|
*/
|
|
|
|
|
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
|
|
|
|
2017-01-15 05:59:05 +00:00
|
|
|
void uniphier_ld4_sbc_init(void)
|
2014-10-03 10:21:06 +00:00
|
|
|
{
|
2015-01-06 05:20:04 +00:00
|
|
|
u32 tmp;
|
|
|
|
|
2017-01-15 05:59:05 +00:00
|
|
|
uniphier_sbc_init_savepin();
|
|
|
|
|
2015-01-06 05:20:04 +00:00
|
|
|
/* system bus output enable */
|
|
|
|
tmp = readl(PC0CTRL);
|
|
|
|
tmp &= 0xfffffcff;
|
|
|
|
writel(tmp, PC0CTRL);
|
2014-10-03 10:21:06 +00:00
|
|
|
}
|