u-boot/disk
Lukasz Majewski bb021013ba gpt: Use cache aligned buffers for gpt_h and gpt_e
Before this patch one could receive following errors when executing
"gpt write" command on machine with cache enabled:

display5 factory > gpt write mmc ${mmcdev} ${partitions}
Writing GPT:
CACHE: Misaligned operation at range [4ef8f7f0, 4ef8f9f0]
CACHE: Misaligned operation at range [4ef8f9f8, 4ef939f8]
CACHE: Misaligned operation at range [4ef8f9f8, 4ef939f8]
CACHE: Misaligned operation at range [4ef8f7f0, 4ef8f9f0]
success!

To alleviate this problem - the calloc()s have been replaced with
malloc_cache_aligned() and memset().

After those changes the buffers are properly aligned (with both start
address and size) to SoC cache line.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
2017-11-06 09:59:01 -05:00
..
Kconfig SPARC: Remove 2017-04-05 13:52:20 -04:00
Makefile disk: convert CONFIG_EFI_PARTITION to Kconfig 2017-01-28 08:47:42 -05:00
part.c disk: Provide API to get partition by name for specific type 2017-10-06 11:28:17 -04:00
part_amiga.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
part_amiga.h disk: convert CONFIG_ISO_PARTITION to Kconfig 2017-01-28 08:47:35 -05:00
part_dos.c disk: part_dos: Use the original allocation scheme for the SPL case 2017-10-05 10:45:33 -04:00
part_dos.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
part_efi.c gpt: Use cache aligned buffers for gpt_h and gpt_e 2017-11-06 09:59:01 -05:00
part_iso.c iso: Reduce verbosity on test and info calls 2017-10-16 09:42:51 -04:00
part_iso.h iso: Make little endian and 64bit safe 2016-04-18 17:11:33 -04:00
part_mac.c part: mac: Suppress the error message after reading ddb 2017-09-07 10:44:33 -04:00
part_mac.h disk: convert CONFIG_ISO_PARTITION to Kconfig 2017-01-28 08:47:35 -05:00