diff options
author | Tom Rini <trini@konsulko.com> | 2018-07-20 19:31:30 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-07-20 19:31:30 -0400 |
commit | e0ed8332fa2fe684b4c8ba1caab991663730cbf0 (patch) | |
tree | 7bde5ed3ba674f63b670b76db60299dace3cc832 /arch/x86/cpu/ivybridge/sdram.c | |
parent | 0dd1fc09bb16869fd8adaaad082cd554c60b2c1a (diff) | |
parent | 05855fd31a3f7483534aabe69a7030ff38978510 (diff) |
Merge git://git.denx.de/u-boot-x86
Diffstat (limited to 'arch/x86/cpu/ivybridge/sdram.c')
-rw-r--r-- | arch/x86/cpu/ivybridge/sdram.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/cpu/ivybridge/sdram.c b/arch/x86/cpu/ivybridge/sdram.c index 2f253e813e..8a58d0383d 100644 --- a/arch/x86/cpu/ivybridge/sdram.c +++ b/arch/x86/cpu/ivybridge/sdram.c @@ -18,6 +18,7 @@ #include <spi.h> #include <spi_flash.h> #include <syscon.h> +#include <sysreset.h> #include <asm/cpu.h> #include <asm/processor.h> #include <asm/gpio.h> @@ -497,7 +498,7 @@ int dram_init(void) /* If MRC data is not found we cannot continue S3 resume. */ if (pei_data->boot_mode == PEI_BOOT_RESUME && !pei_data->mrc_input) { debug("Giving up in sdram_initialize: No MRC data\n"); - reset_cpu(0); + sysreset_walk_halt(SYSRESET_COLD); } /* Pass console handler in pei_data */ |