tools: sunxi: Add spl image builder
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 27 Feb 2017 17:22:02 +0000 (18:22 +0100)
committerJagan Teki <jagan@amarulasolutions.com>
Fri, 7 Apr 2017 05:53:45 +0000 (11:23 +0530)
commit594b4cc732f8f45d855ff435ef68fa4afc153844
tree94246b3d56f4160c6c0bbf0bc9da828a2a6bf664
parent71d2c07028ce87d3aeca4e1220fb6dcbfd7bb22f
tools: sunxi: Add spl image builder

This program generates raw SPL images that can be flashed on the NAND with
the ECC and randomizer properly set up.

This has been copied (and tweaked to find the right headers) from the
sunxi-tools (https://github.com/linux-sunxi/sunxi-tools) upstream
repository, commit 1c3a6ca5.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
tools/.gitignore
tools/Makefile
tools/sunxi-spl-image-builder.c [new file with mode: 0644]