diff options
Diffstat (limited to 'src/mainboard/cavium/cn8100_sff_evb')
-rw-r--r-- | src/mainboard/cavium/cn8100_sff_evb/romstage.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/mainboard/cavium/cn8100_sff_evb/romstage.c b/src/mainboard/cavium/cn8100_sff_evb/romstage.c index e8e5cd6f90..7bb53e3de3 100644 --- a/src/mainboard/cavium/cn8100_sff_evb/romstage.c +++ b/src/mainboard/cavium/cn8100_sff_evb/romstage.c @@ -14,34 +14,24 @@ * */ -#include <arch/exception.h> -#include <cbmem.h> -#include <romstage_handoff.h> +#include <arch/stages.h> #include <soc/sdram.h> #include <soc/timer.h> #include <soc/mmu.h> #include <stdlib.h> -#include <console/console.h> -#include <program_loading.h> #include <libbdk-hal/bdk-config.h> #include <string.h> extern const struct bdk_devicetree_key_value devtree[]; -void main(void) +void platform_romstage_main(void) { watchdog_poke(0); - console_init(); - exception_init(); - bdk_config_set_fdt(devtree); sdram_init(); soc_mmu_init(); watchdog_poke(0); - - cbmem_initialize_empty(); - run_ramstage(); } |