Revert "gen_app_partitions.py: make generated/app_smem_*.ld files deterministic"

This reverts commit 725abdf430 which did get rid of randomness in the
order of the partition _names_ as claimed but regressed commit
212ec9a29a / feature #14121 and broke the previous size order which I
missed. Huge thanks to Sigvart Hovland for spotting this in a post-merge
but prompt code review. Proper fix in the next commit.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
This commit is contained in:
Marc Herbert 2019-06-27 15:30:55 -07:00 committed by Andrew Boie
parent 70aa383018
commit 85bc0d2fe5

View file

@ -162,7 +162,7 @@ def parse_elf_file(partitions):
def generate_final_linker(linker_file, partitions):
string = linker_start_seq
size_string = ''
for partition, item in sorted(partitions.items()):
for partition, item in partitions.items():
string += data_template.format(partition)
if LIB in item:
for lib in item[LIB]: