mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-02-10 22:02:56 +01:00
ipq807x: Added reset support
Change-Id: If603ee62167fbbd284090d8e7412263e0d73b363 Signed-off-by: smuthayy <smuthayy@codeaurora.org>
This commit is contained in:
parent
16e1850e40
commit
ead0a99fa9
1 changed files with 2 additions and 0 deletions
|
|
@ -25,6 +25,7 @@
|
|||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
#define GCNT_PSHOLD 0x004AB000
|
||||
qca_mmc mmc_host;
|
||||
|
||||
extern loff_t board_env_offset;
|
||||
|
|
@ -67,6 +68,7 @@ unsigned long timer_read_counter(void)
|
|||
|
||||
void reset_cpu(unsigned long a)
|
||||
{
|
||||
writel(0, GCNT_PSHOLD);
|
||||
while(1);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue