1 /* Copyright (C) 2009 coresystems GmbH
2 (Written by Patrick Georgi <patrick.georgi@coresystems.de> for coresystems GmbH
6 void cbfs_and_run_core(char*, unsigned ebp);
8 static void copy_and_run(unsigned cpu_reset)
10 if (cpu_reset == 1) cpu_reset = -1;
13 # if CONFIG_USE_FALLBACK_IMAGE == 1
14 cbfs_and_run_core("fallback/coreboot_ram", cpu_reset);
16 cbfs_and_run_core("normal/coreboot_ram", cpu_reset);
21 void copy_and_run_core(u8 *src, u8 *dst, unsigned long ilen, unsigned ebp);
23 extern u8 _liseg, _iseg, _eiseg;
25 static void copy_and_run(unsigned cpu_reset)
35 if (cpu_reset == 1) cpu_reset = -1;
38 copy_and_run_core(src, dst, ilen, cpu_reset);