mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
arm: rmobile: kzm9g: enable reset command
Do soft power on reset in U-Boot reset command. Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
This commit is contained in:
parent
d95a96a072
commit
4306abda00
2 changed files with 6 additions and 0 deletions
|
|
@ -40,6 +40,10 @@
|
|||
#define SRESCR (CPG_BASE + 0x1018)
|
||||
#define PCLKCR (CPG_BASE + 0x1020)
|
||||
|
||||
/* SYSC */
|
||||
#define SYSC_BASE (0xE6180000)
|
||||
#define RESCNT2 (SYSC_BASE + 0x8020)
|
||||
|
||||
/* BSC */
|
||||
#define BSC_BASE (0xFEC10000)
|
||||
|
||||
|
|
|
|||
|
|
@ -372,4 +372,6 @@ int board_eth_init(bd_t *bis)
|
|||
|
||||
void reset_cpu(ulong addr)
|
||||
{
|
||||
/* Soft Power On Reset */
|
||||
writel((1 << 31), RESCNT2);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue