Skip to content
Snippets Groups Projects
Forked from Reform / reform-boundary-uboot
28800 commits behind the upstream repository.
user avatar
Hector Palacios authored
The calloc() call was allocating space for the sizeof the struct
pointer rather than for the struct contents.
Besides, since this buffer is passed to mmc for writing and some
platforms may use cache, the legacy_mbr struct should be cache-aligned.

Signed-off-by: default avatarHector Palacios <hector.palacios@digi.com>
Tested-by: default avatarLukasz Majewski <l.majewski@samsung.com>
61fcc7d2
History