[FOSS_TLK]kernel: re-org boot_params_t for better alignment
Re-jig the boot_params_t structure for better alignment. The current
arrangement allows all the variables to be aligned at 8-bytes with
no need for padding.
Change-Id: If0c12843205a42ef0217203aaae1ff5c7714ec29
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/752882
Reviewed-by: Automatic_Commit_Validation_User
diff --git a/include/kernel/boot_params.h b/include/kernel/boot_params.h
index 8aa0482..e1f5872 100644
--- a/include/kernel/boot_params.h
+++ b/include/kernel/boot_params.h
@@ -61,12 +61,12 @@
/* Structure for boot params */
typedef struct boot_params {
uint32_t version;
+ uint32_t uart_id;
+ uint32_t chip_uid[4];
uint64_t pmem;
uint64_t pmem_size;
uint64_t emem;
uint64_t emem_size;
- uint32_t chip_uid[4];
- uint32_t uart_id;
uint64_t tsec_carveout;
uint64_t tsec_size;
uint64_t dtb_load_addr;