aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Rutland <mark.rutland@arm.com>2021-07-29 10:25:10 +0100
committerMark Rutland <mark.rutland@arm.com>2021-08-02 15:36:52 +0100
commit378bbbec05c5c1d8b136ecd3a487e6f60d119c83 (patch)
tree46f4f8fb57fe546f34ab5ca206e3f208de652e5e
parenta003b043db9bc9d09b8273817b7b1ece1efd7d87 (diff)
downloadboot-wrapper-aarch64-378bbbec05c5c1d8b136ecd3a487e6f60d119c83.tar.gz
Rename `spin.h` -> `boot.h`
In `spin.h` we have function prototypes provided by `boot.c`. For clarity, let's align the naming. There should be no functional change as a result of this patch. Signed-off-by: Mark Rutland <mark.rutland@arm.com> Reviewed-by: Andre Przywara <andre.przywara@arm.com>
-rw-r--r--boot_common.c2
-rw-r--r--include/boot.h (renamed from include/spin.h)6
-rw-r--r--psci.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/boot_common.c b/boot_common.c
index d48b7e1..eada179 100644
--- a/boot_common.c
+++ b/boot_common.c
@@ -6,8 +6,8 @@
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE.txt file.
*/
+#include <boot.h>
#include <cpu.h>
-#include <spin.h>
extern unsigned long entrypoint;
extern unsigned long dtb;
diff --git a/include/spin.h b/include/boot.h
index 15bbe27..d75e013 100644
--- a/include/spin.h
+++ b/include/boot.h
@@ -1,13 +1,13 @@
/*
- * include/spin.h
+ * include/boot.h
*
* Copyright (C) 2015 ARM Limited. All rights reserved.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE.txt file.
*/
-#ifndef __SPIN_H
-#define __SPIN_H
+#ifndef __BOOT_H
+#define __BOOT_H
#include <compiler.h>
diff --git a/psci.c b/psci.c
index df5b0f2..a0e8700 100644
--- a/psci.c
+++ b/psci.c
@@ -10,9 +10,9 @@
#include <stdint.h>
#include <bakery_lock.h>
+#include <boot.h>
#include <cpu.h>
#include <psci.h>
-#include <spin.h>
#ifndef CPU_IDS
#error "No MPIDRs provided"