]> git.sur5r.net Git - u-boot/blob - arch/arm/mach-uniphier/sbc/sbc-ld4.c
Merge branch 'master' of git://git.denx.de/u-boot-usb
[u-boot] / arch / arm / mach-uniphier / sbc / sbc-ld4.c
1 /*
2  * Copyright (C) 2011-2016 Masahiro Yamada <yamada.masahiro@socionext.com>
3  *
4  * SPDX-License-Identifier:     GPL-2.0+
5  */
6
7 #include <linux/io.h>
8
9 #include "../init.h"
10 #include "sbc-regs.h"
11
12 int uniphier_ld4_sbc_init(const struct uniphier_board_data *bd)
13 {
14         u32 tmp;
15
16         /* system bus output enable */
17         tmp = readl(PC0CTRL);
18         tmp &= 0xfffffcff;
19         writel(tmp, PC0CTRL);
20
21         return 0;
22 }