commit | 40478c26a1f489d4b99b51a9bbaac793de668119 | [log] [tgz] |
---|---|---|
author | Sherry Zhang <sherry.zhang2@arm.com> | Thu Jan 20 18:28:18 2022 +0800 |
committer | David Hu <david.hu@arm.com> | Thu Mar 10 09:27:53 2022 +0100 |
tree | ac4c1467aec6209ce1c083d21077c7cb775df121 | |
parent | 593946f7e3141c61ecbff713f307e7c391608621 [diff] |
Platform: Move data_width_byte variable from RAM to Flash If the const variable is defined as local variable, then it is stored in Flash and loaded to RAM(stack) when it runs. If it is defined as file static, its runtime address will be allocated in Flash. So copy to RAM is avoided and Flash cost remains the same. Signed-off-by: Sherry Zhang <sherry.zhang2@arm.com> Change-Id: I701a6cf01abc5a6d587aa7c263dec0a221487e5c