ipq807x: Added reset support

Change-Id: If603ee62167fbbd284090d8e7412263e0d73b363
Signed-off-by: smuthayy <smuthayy@codeaurora.org>
This commit is contained in:
smuthayy 2017-05-27 13:15:29 -07:00 committed by Gerrit - the friendly Code Review server
parent 16e1850e40
commit ead0a99fa9

View file

@ -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);
}