Kyösti Mälkki | 7a95575 | 2020-01-07 12:18:24 +0200 | [diff] [blame^] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License as published by |
| 6 | * the Free Software Foundation; either version 2 of the License, or |
| 7 | * (at your option) any later version. |
| 8 | * |
| 9 | * This program is distributed in the hope that it will be useful, |
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 | * GNU General Public License for more details. |
| 13 | */ |
| 14 | |
| 15 | #include <arch/romstage.h> |
| 16 | #include <cbmem.h> |
| 17 | #include <console/console.h> |
| 18 | #include <southbridge/intel/i82371eb/i82371eb.h> |
| 19 | #include <northbridge/intel/i440bx/raminit.h> |
| 20 | |
| 21 | void mainboard_romstage_entry(void) |
| 22 | { |
| 23 | mainboard_enable_serial(); |
| 24 | console_init(); |
| 25 | |
| 26 | i82371eb_early_init(); |
| 27 | |
| 28 | sdram_initialize(); |
| 29 | cbmem_initialize_empty(); |
| 30 | } |