aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/broadwell/include
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-06-16 16:57:21 +0200
committerFelix Held <felix-coreboot@felixheld.de>2021-08-02 15:29:10 +0000
commit12fc21b1cffcd8541abb534e2957f7f467e1667b (patch)
treea82f7c413d5b6fd227e94d14a10859aa8101580d /src/soc/intel/broadwell/include
parent94aa18f527eb1aba7be653a7c20b40cdeeb895c7 (diff)
soc/intel/broadwell: Rename `ramstage.h`
This file only contains the `broadwell_run_reference_code()` function prototype (either a declaration or an inline stub definition). Rename this file to refcode.h and only include it where necessary. Tested with BUILD_TIMELESS=1, Purism Librem 13 v1 remains identical. Change-Id: I6513f45b8914a84312b27ef4860870a89fd0aab3 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/55582 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/broadwell/include')
-rw-r--r--src/soc/intel/broadwell/include/soc/refcode.h (renamed from src/soc/intel/broadwell/include/soc/ramstage.h)7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/soc/intel/broadwell/include/soc/ramstage.h b/src/soc/intel/broadwell/include/soc/refcode.h
index 3900c7339e..19c2e49bcd 100644
--- a/src/soc/intel/broadwell/include/soc/ramstage.h
+++ b/src/soc/intel/broadwell/include/soc/refcode.h
@@ -1,10 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#ifndef _BROADWELL_RAMSTAGE_H_
-#define _BROADWELL_RAMSTAGE_H_
-
-#include <device/device.h>
-#include <soc/intel/broadwell/chip.h>
+#ifndef BROADWELL_REFCODE_H
+#define BROADWELL_REFCODE_H
#if CONFIG(HAVE_REFCODE_BLOB)
void broadwell_run_reference_code(void);