mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-13 00:03:26 +09:00
![Masahiro Yamada](/assets/img/avatar_default.png)
The system bus is not enabled by default for NAND, eMMC boot etc. of PXs3. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
22 lines
365 B
C
22 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 */
|
|
}
|