mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-13 14:53:06 +00:00
d8a10e7fac
The system bus is not enabled by default for NAND, eMMC boot etc. of PXs3. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
21 lines
365 B
C
21 lines
365 B
C
/*
|
|
* Copyright (C) 2016-2017 Socionext Inc.
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#include <linux/io.h>
|
|
|
|
#include "../init.h"
|
|
#include "sbc-regs.h"
|
|
|
|
void uniphier_pxs2_sbc_init(void)
|
|
{
|
|
uniphier_sbc_init_savepin();
|
|
|
|
/* necessary for ROM boot ?? */
|
|
/* system bus output enable */
|
|
writel(0x17, PC0CTRL);
|
|
|
|
uniphier_pin_init("system_bus_grp"); /* PXs3 */
|
|
}
|