]> git.sur5r.net Git - u-boot/commit
Fix misaligned buffer in env_fat_save
authorAlex Kiernan <alex.kiernan@gmail.com>
Wed, 7 Feb 2018 20:01:54 +0000 (20:01 +0000)
committerTom Rini <trini@konsulko.com>
Mon, 12 Feb 2018 20:31:18 +0000 (15:31 -0500)
commitcda87ec5587261cc813b404f713b102afede0800
treed050ecac6806f58e2da30075d9b005e05843947b
parentf3177d02f33472352b022adbaf5c47cceebc930d
Fix misaligned buffer in env_fat_save

When saving the environment on a platform which has DMA alignment
larger than the natural alignment, env_fat_save triggers a debug
message in file_fat_write:

  Saving Environment to FAT... writing uboot.env
  FAT: Misaligned buffer address (9df1c8e0)
  OK

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
env/fat.c