mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-13 23:02:59 +00:00
9e3bb84bd8
Merge sbc-admulti.c and sbc-savepin.c into a single file to avoid code duplication. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
23 lines
383 B
C
23 lines
383 B
C
/*
|
|
* Copyright (C) 2011-2015 Panasonic Corporation
|
|
* Copyright (C) 2015-2017 Socionext Inc.
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#include <linux/io.h>
|
|
|
|
#include "../init.h"
|
|
#include "sbc-regs.h"
|
|
|
|
void uniphier_ld4_sbc_init(void)
|
|
{
|
|
u32 tmp;
|
|
|
|
uniphier_sbc_init_savepin();
|
|
|
|
/* system bus output enable */
|
|
tmp = readl(PC0CTRL);
|
|
tmp &= 0xfffffcff;
|
|
writel(tmp, PC0CTRL);
|
|
}
|