bootblock: Provide some common prototypes
The split of bootblock initialisation to cpu, northbridge and southbridge is not specific to intel at all, create new header <arch/bootblock.h> as AMD will want some of these too. Change-Id: I702cc6bad4afee4f61acf58b9155608b28eb417e Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/37429 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
|
||||
#include <bootblock_common.h>
|
||||
#include <cpu/intel/car/bootblock.h>
|
||||
#include <arch/bootblock.h>
|
||||
#include <cpu/x86/bist.h>
|
||||
|
||||
static uint32_t saved_bist;
|
||||
|
@@ -1,21 +0,0 @@
|
||||
/*
|
||||
* This file is part of the coreboot project.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; version 2 of the License.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#ifndef _CPU_INTEL_CAR_BOOTBLOCK_H
|
||||
#define _CPU_INTEL_CAR_BOOTBLOCK_H
|
||||
|
||||
void bootblock_early_cpu_init(void);
|
||||
void bootblock_early_northbridge_init(void);
|
||||
void bootblock_early_southbridge_init(void);
|
||||
|
||||
#endif
|
@@ -13,6 +13,7 @@
|
||||
|
||||
#include <stdint.h>
|
||||
#include <arch/cpu.h>
|
||||
#include <arch/bootblock.h>
|
||||
#include <cpu/x86/msr.h>
|
||||
#include <cpu/x86/mtrr.h>
|
||||
#include <arch/io.h>
|
||||
@@ -21,7 +22,6 @@
|
||||
#include "haswell.h"
|
||||
|
||||
#include <southbridge/intel/lynxpoint/pch.h>
|
||||
#include <cpu/intel/car/bootblock.h>
|
||||
|
||||
static void set_flex_ratio_to_tdp_nominal(void)
|
||||
{
|
||||
|
@@ -12,11 +12,11 @@
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
#include <arch/bootblock.h>
|
||||
#include <arch/cpu.h>
|
||||
#include <cpu/x86/msr.h>
|
||||
#include <arch/io.h>
|
||||
#include <halt.h>
|
||||
#include <cpu/intel/car/bootblock.h>
|
||||
|
||||
#include "model_206ax.h"
|
||||
|
||||
|
Reference in New Issue
Block a user