blob: 8d3adb4bdaf9610cbf740a5a5feb99028e26972e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef _STM32MP_MACH_ENTRY_H_
#define _STM32MP_MACH_ENTRY_H_
#include <linux/kernel.h>
#include <asm/barebox-arm.h>
static __always_inline void stm32mp_cpu_lowlevel_init(void)
{
unsigned long stack_top;
arm_cpu_lowlevel_init();
stack_top = (unsigned long)__image_end + get_runtime_offset() + CONFIG_STACK_SIZE;
stack_top = ALIGN(stack_top, 16);
arm_setup_stack(stack_top);
}
void __noreturn stm32mp1_barebox_entry(void *boarddata);
#endif
|