diff options
| author | Rajeshwari Birje <[email protected]> | 2013-12-26 09:44:27 +0530 |
|---|---|---|
| committer | Minkyu Kang <[email protected]> | 2013-12-30 16:50:35 +0900 |
| commit | 0fcac1abde69a81ab1f773e41df612525c7d322a (patch) | |
| tree | 6258ddd30ba41d5b3aa24fc2dab4d7086511567e /include | |
| parent | 76dd9b6a63cb67343116aa6d99e7f922b214e729 (diff) | |
SPL: EXYNOS: Prepare for variable size SPL support
When variable size SPL is used, the BL1 expects the SPL to be
encapsulated differently: instead of putting the checksum at a fixed
offset in the SPL blob, prepend the blob with a header including the
size and the checksum.
The enhancements include
- adding a command line option, '--vs' to indicate the need for the
variable size encapsulation
- padding the fixed size encapsulated blob with 0xff instead of random
memory contents
- do not silently truncate the input file, report error instead
- no need to explicitly closing files/freeing memory, this all happens
on exit; removing cleanups it makes code clearer
- profuse commenting
- modify Makefile to allow enabling the new feature per board
Signed-off-by: Vadim Bendebury <[email protected]>
Signed-off-by: Rajeshwari S Shinde <[email protected]>
Acked-by: Simon Glass <[email protected]>
Signed-off-by: Minkyu Kang <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/configs/smdk5420.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/configs/smdk5420.h b/include/configs/smdk5420.h index 9eab7d6b862..447f8e58105 100644 --- a/include/configs/smdk5420.h +++ b/include/configs/smdk5420.h @@ -19,6 +19,8 @@ #define CONFIG_ARCH_DEVICE_TREE exynos5420 +#define CONFIG_VAR_SIZE_SPL + #define CONFIG_SYS_SDRAM_BASE 0x20000000 #define CONFIG_SYS_TEXT_BASE 0x23E00000 @@ -31,7 +33,11 @@ /* select serial console configuration */ #define CONFIG_SERIAL3 /* use SERIAL 3 */ +#ifdef CONFIG_VAR_SIZE_SPL +#define CONFIG_SPL_TEXT_BASE 0x02024410 +#else #define CONFIG_SPL_TEXT_BASE 0x02024400 +#endif #define CONFIG_BOOTCOMMAND "mmc read 20007000 451 2000; bootm 20007000" |
