npcm8xx: Fix u-boot copy size

The size word before the U-Boot magic number only accounts or the size
starting from the U-Boot magic number and onwards, and not for the 512-byte
header before it. This would cause us to not copy the last 512 bytes of
U-Boot.

Signed-off-by: Joe Komlodi <komlodi@google.com>
1 file changed
tree: c07619a0e80412c570024f1a233da48ca2d2ba00
  1. ast27x0/
  2. lib/
  3. npcm7xx/
  4. npcm8xx/
  5. .gitignore
  6. CONTRIBUTING.md
  7. LICENSE
  8. README.md
README.md

Virtual Boot ROM for NPCM and ASPEED SoCs

This repository contains simple Boot ROMs for Nuvoton and ASPEED based BMC images that are intended to be used by QEMU when emulating NPCM and ASPEED based machines.

Subdirectories

npcm7xx: This subdir contains Boot ROM for NPCM7XX, a 32-bit ARM image. npcm8xx: This subdir contains Boot ROM for NPCM8XX, a 64-bit ARM image. ast27x0: This subdir contains Boot ROM for AST27X0, a 64-bit ARM image.