All versions of barebox_arm_entry (in uncompress.c, start.c and start-pbl.c) appear to be doing exacty the same thing. So move the definition into a separate file and use IS_ENABLED macro to avoid re-definition. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
19 lines
425 B
C
19 lines
425 B
C
#ifndef __ENTRY_H__
|
|
#define __ENTRY_H__
|
|
|
|
#include <common.h>
|
|
|
|
void __noreturn barebox_non_pbl_start(unsigned long membase,
|
|
unsigned long memsize,
|
|
void *boarddata);
|
|
|
|
void __noreturn barebox_multi_pbl_start(unsigned long membase,
|
|
unsigned long memsize,
|
|
void *boarddata);
|
|
|
|
void __noreturn barebox_single_pbl_start(unsigned long membase,
|
|
unsigned long memsize,
|
|
void *boarddata);
|
|
|
|
#endif
|