1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-10-26 16:13:55 +01:00
Files
u-boot-megous/cmd
Kurban Mallachiev 957f51e863 elf: fix cache flushing in 'bootelf -p' command
Currently there are two problems in 'bootelf -p' (load elf by segments)
command:
- bss section is not flushed, so booted elf can have non zero values
  in bss;
- at least on ARM there are 'CACHE: Misaligned operation at
  range...' warnings

Use p_memsz instead of p_filesz during cache flushing for elf segment.
p_filesz doesn't include zero initialized memory (e.g. bss section),
which also should be flushed.

Align these cache flushes to line boundaries.

Signed-off-by: Kurban Mallachiev <mallachiev@ispras.ru>
2019-02-19 08:55:43 -05:00
..
2017-02-08 15:56:28 -05:00
2018-08-11 09:16:08 +02:00
2017-07-03 17:35:28 -04:00
2018-05-23 17:30:05 -04:00
2018-12-04 19:44:57 +01:00
2018-09-25 21:49:18 -04:00
2018-09-23 21:55:30 +02:00
2018-09-11 11:00:54 +02:00
2017-08-16 08:30:24 -04:00
2019-01-15 15:28:43 -05:00
2018-09-28 18:27:33 +02:00
2018-11-16 16:51:56 -05:00
2019-01-15 15:28:44 -05:00
2018-05-08 09:07:35 -04:00
2019-01-15 15:28:44 -05:00
2019-01-15 15:28:44 -05:00
2019-01-15 15:28:44 -05:00
2018-09-28 20:22:36 -04:00
2018-07-02 14:14:20 -05:00
2019-01-15 15:28:44 -05:00