]> git.sur5r.net Git - u-boot/blob - arch/arm/mach-uniphier/sbc/sbc-ld4.c
mmc: do not overwrite cfg->f_max if "max-frequency" if missing
[u-boot] / arch / arm / mach-uniphier / sbc / sbc-ld4.c
1 /*
2  * Copyright (C) 2011-2015 Panasonic Corporation
3  * Copyright (C) 2015-2017 Socionext Inc.
4  *
5  * SPDX-License-Identifier:     GPL-2.0+
6  */
7
8 #include <linux/io.h>
9
10 #include "../init.h"
11 #include "sbc-regs.h"
12
13 void uniphier_ld4_sbc_init(void)
14 {
15         u32 tmp;
16
17         uniphier_sbc_init_savepin();
18
19         /* system bus output enable */
20         tmp = readl(PC0CTRL);
21         tmp &= 0xfffffcff;
22         writel(tmp, PC0CTRL);
23 }