broadwell: Create ram stage header file
Put some generic ramstage function prototypes into the a new header at broadwell/ramstage.h for easy access. Some of these functions are defined in a later commit. This file also contains the exported 'broadwell_pci_ops' that can be used by ramstage drivers and is defined in broadwell/chip.c BUG=chrome-os-partner:28234 TEST=None Change-Id: Idfa1f9ab46d1bf4efbefea46548f97653786e6f1 Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/198741 Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
31c91e811b
commit
93dde85f98
2 changed files with 38 additions and 2 deletions
|
|
@ -68,8 +68,6 @@ void intel_cpu_haswell_finalize_smm(void);
|
|||
/* Configure power limits for turbo mode */
|
||||
void set_power_limits(u8 power_limit_1_time);
|
||||
int cpu_config_tdp_levels(void);
|
||||
struct bus;
|
||||
void bsp_init_and_start_aps(struct bus *cpu_bus);
|
||||
/* Determine if HyperThreading is disabled. The variable is not valid until
|
||||
* setup_ap_init() has been called. */
|
||||
extern int ht_disabled;
|
||||
|
|
|
|||
38
src/soc/intel/broadwell/broadwell/ramstage.h
Normal file
38
src/soc/intel/broadwell/broadwell/ramstage.h
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
/*
|
||||
* This file is part of the coreboot project.
|
||||
*
|
||||
* Copyright (C) 2014 Google Inc.
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#ifndef _BROADWELL_RAMSTAGE_H_
|
||||
#define _BROADWELL_RAMSTAGE_H_
|
||||
|
||||
#include <device/device.h>
|
||||
#include <chip.h>
|
||||
|
||||
void broadwell_init_pre_device(void *chip_info);
|
||||
void broadwell_init_cpus(device_t dev);
|
||||
void broadwell_pch_enable_dev(device_t dev);
|
||||
|
||||
#if CONFIG_HAVE_REFCODE_BLOB
|
||||
void broadwell_run_reference_code(void);
|
||||
#else
|
||||
static inline void broadwell_run_reference_code(void) { }
|
||||
#endif
|
||||
|
||||
extern struct pci_operations broadwell_pci_ops;
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue