diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2016-10-10 08:31:06 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-10-10 08:31:06 +0200 |
commit | c5fc5de3fe5c0ab41d1b81ee5bf24ea8fedfe307 (patch) | |
tree | 99dcf05f5cc2e049c98fe794592e350a2a1fc9bf /arch/arm/include | |
parent | 23aa3d6ffb70e1dbc2594d6cba8a49e9fe8dbb3d (diff) | |
parent | aadf261cd6932918dede79add72953fd56df2996 (diff) | |
download | barebox-c5fc5de3fe5c0ab41d1b81ee5bf24ea8fedfe307.tar.gz barebox-c5fc5de3fe5c0ab41d1b81ee5bf24ea8fedfe307.tar.xz |
Merge branch 'for-next/arm'
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/barebox-arm.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/arm/include/asm/barebox-arm.h b/arch/arm/include/asm/barebox-arm.h index 0acdfa3dbc..061296a476 100644 --- a/arch/arm/include/asm/barebox-arm.h +++ b/arch/arm/include/asm/barebox-arm.h @@ -164,6 +164,13 @@ static inline unsigned long arm_mem_barebox_image(unsigned long membase, static void __naked noinline __##name \ (uint32_t arg0, uint32_t arg1, uint32_t arg2) - +/* + * When using compressed images in conjunction with relocatable images + * the PBL code must pick a suitable place where to uncompress the barebox + * image. For doing this the PBL code must know the size of the final + * image including the BSS segment. The BSS size is unknown to the PBL + * code, so define a maximum BSS size here. + */ +#define MAX_BSS_SIZE SZ_1M #endif /* _BAREBOX_ARM_H_ */ |