summaryrefslogtreecommitdiff
path: root/src/soc/samsung
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2024-03-30 09:59:56 +0100
committerFelix Held <felix-coreboot@felixheld.de>2024-04-09 09:20:59 +0000
commit9d6333c839fe5a4932b3cb47d824f81295302e2c (patch)
tree175a137a366f0cdcce1440a237f8f7c34cb34290 /src/soc/samsung
parentff40cf438e784633c81ecd77820e219b7caf1f0b (diff)
soc/samsung: Move 'inline' between storage class and type
Change-Id: Iccdb4770890751b7f9d1b35248fe57993342fd50 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/81593 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <ericllai@google.com>
Diffstat (limited to 'src/soc/samsung')
-rw-r--r--src/soc/samsung/exynos5420/smp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/samsung/exynos5420/smp.c b/src/soc/samsung/exynos5420/smp.c
index 13e9489161..92c51756f7 100644
--- a/src/soc/samsung/exynos5420/smp.c
+++ b/src/soc/samsung/exynos5420/smp.c
@@ -64,14 +64,14 @@ volatile struct exynos5420_cpu_states
* switching), we are not sure if the destination is Thumb or ARM mode.
* So a BX command is required.
*/
-inline static void jump_bx(void *address)
+static inline void jump_bx(void *address)
{
asm volatile ("bx %0" : : "r"(address));
/* never returns. */
}
/* Extracts arbitrary bits from a 32-bit unsigned int. */
-inline static uint32_t get_bits(uint32_t value, uint32_t start, uint32_t len)
+static inline uint32_t get_bits(uint32_t value, uint32_t start, uint32_t len)
{
return ((value << (sizeof(value) * 8 - len - start)) >>
(sizeof(value) * 8 - len));