Stefan Reinauer | 472837a | 2009-10-26 17:17:37 +0000 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
Stefan Reinauer | 14e2277 | 2010-04-27 06:56:47 +0000 | [diff] [blame] | 3 | * |
Stefan Reinauer | 472837a | 2009-10-26 17:17:37 +0000 | [diff] [blame] | 4 | * Copyright (C) 2008-2009 coresystems GmbH |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or |
| 7 | * modify it under the terms of the GNU General Public License as |
Uwe Hermann | 548dbe7 | 2010-02-22 16:41:49 +0000 | [diff] [blame] | 8 | * published by the Free Software Foundation; version 2 of the License. |
Stefan Reinauer | 472837a | 2009-10-26 17:17:37 +0000 | [diff] [blame] | 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
Stefan Reinauer | 472837a | 2009-10-26 17:17:37 +0000 | [diff] [blame] | 14 | */ |
Patrick Georgi | a034dca | 2009-05-27 14:19:31 +0000 | [diff] [blame] | 15 | |
Joseph Smith | 7488e04 | 2010-04-09 11:10:25 +0000 | [diff] [blame] | 16 | #include <arch/stages.h> |
Aaron Durbin | 04654a2 | 2015-03-17 11:43:44 -0500 | [diff] [blame] | 17 | #include <program_loading.h> |
Stefan Reinauer | 853263b | 2010-04-09 10:43:49 +0000 | [diff] [blame] | 18 | |
Lee Leahy | 0b5678f | 2017-03-16 16:01:40 -0700 | [diff] [blame] | 19 | asmlinkage void copy_and_run(void) |
Stefan Reinauer | 853263b | 2010-04-09 10:43:49 +0000 | [diff] [blame] | 20 | { |
Aaron Durbin | 0f33307 | 2014-01-30 17:19:46 -0600 | [diff] [blame] | 21 | run_ramstage(); |
Stefan Reinauer | 853263b | 2010-04-09 10:43:49 +0000 | [diff] [blame] | 22 | } |