]> git.ipfire.org Git - people/ms/u-boot.git/blame - arch/arm/mach-uniphier/sbc/sbc-pxs2.c
Merge git://git.denx.de/u-boot-spi
[people/ms/u-boot.git] / arch / arm / mach-uniphier / sbc / sbc-pxs2.c
CommitLineData
019df879 1/*
9e3bb84b 2 * Copyright (C) 2016-2017 Socionext Inc.
019df879
MY
3 *
4 * SPDX-License-Identifier: GPL-2.0+
5 */
6
7#include <linux/io.h>
107b3fb4
MY
8
9#include "../init.h"
107b3fb4 10#include "sbc-regs.h"
019df879 11
9e3bb84b 12void uniphier_pxs2_sbc_init(void)
019df879 13{
9e3bb84b
MY
14 uniphier_sbc_init_savepin();
15
019df879
MY
16 /* necessary for ROM boot ?? */
17 /* system bus output enable */
18 writel(0x17, PC0CTRL);
d8a10e7f 19
b443fb42 20 uniphier_pin_init("system-bus"); /* PXs3 */
019df879 21}