mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
Merge "ipq807x: Added reset support"
This commit is contained in:
commit
49c11c0235
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;
|
||||
|
|
@ -70,6 +71,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