Keith Hui | 11bce20 | 2020-04-17 12:49:49 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
| 2 | /* This file is part of the coreboot project. */ |
Kyösti Mälkki | 7a95575 | 2020-01-07 12:18:24 +0200 | [diff] [blame] | 3 | |
| 4 | #include <arch/romstage.h> |
| 5 | #include <cbmem.h> |
Kyösti Mälkki | 7a95575 | 2020-01-07 12:18:24 +0200 | [diff] [blame] | 6 | #include <southbridge/intel/i82371eb/i82371eb.h> |
| 7 | #include <northbridge/intel/i440bx/raminit.h> |
| 8 | |
| 9 | void mainboard_romstage_entry(void) |
| 10 | { |
Kyösti Mälkki | 7a95575 | 2020-01-07 12:18:24 +0200 | [diff] [blame] | 11 | i82371eb_early_init(); |
| 12 | |
Keith Hui | 0e0fdbe | 2020-04-29 12:47:41 -0400 | [diff] [blame] | 13 | sdram_initialize(0); |
Kyösti Mälkki | 7a95575 | 2020-01-07 12:18:24 +0200 | [diff] [blame] | 14 | cbmem_initialize_empty(); |
| 15 | } |