highbank.c (bc6f6c87b685bcdcd5bef522982d15209b6b9601) | highbank.c (5bedf884a8508f1b2f5b8f74e67d987a81ff05ed) |
---|---|
1/* 2 * Copyright 2010-2011 Calxeda, Inc. 3 * 4 * This program is free software; you can redistribute it and/or modify it 5 * under the terms of the GNU General Public License as published by the Free 6 * Software Foundation; either version 2 of the License, or (at your option) 7 * any later version. 8 * --- 74 unchanged lines hidden (view full) --- 83{ 84 gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE; 85 gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE; 86} 87 88void reset_cpu(ulong addr) 89{ 90 writel(HB_PWR_HARD_RESET, HB_SREG_A9_PWR_REQ); | 1/* 2 * Copyright 2010-2011 Calxeda, Inc. 3 * 4 * This program is free software; you can redistribute it and/or modify it 5 * under the terms of the GNU General Public License as published by the Free 6 * Software Foundation; either version 2 of the License, or (at your option) 7 * any later version. 8 * --- 74 unchanged lines hidden (view full) --- 83{ 84 gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE; 85 gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE; 86} 87 88void reset_cpu(ulong addr) 89{ 90 writel(HB_PWR_HARD_RESET, HB_SREG_A9_PWR_REQ); |
91 asm(" wfi"); | 91 92 wfi(); |
92} | 93} |