]> git.dujemihanovic.xyz Git - u-boot.git/commit
mips: octeon: tools: Add update_octeon_header tool
authorStefan Roese <sr@denx.de>
Mon, 30 Nov 2020 12:14:23 +0000 (13:14 +0100)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Mon, 30 Nov 2020 17:32:09 +0000 (18:32 +0100)
commit540a2bcec1389a3a31c23b5275e73186be6102b2
tree07f3ea229b6ad8e396c2a0076b0932fa27d61368
parentb7eac19a3d91fae05250688ed4047c1a5d68dd42
mips: octeon: tools: Add update_octeon_header tool

Add a tool to update or insert an Octeon specific header into the U-Boot
image. This is needed e.g. for booting via SPI NOR, eMMC and NAND.

While working on this, move enum cvmx_board_types_enum and
cvmx_board_type_to_string() to cvmx-bootloader.h and remove the
unreferenced (unsupported) board definition.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Aaron Williams <awilliams@marvell.com>
Cc: Chandrakala Chavva <cchavva@marvell.com>
Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
arch/mips/mach-octeon/include/mach/cvmx-bootinfo.h
arch/mips/mach-octeon/include/mach/cvmx-bootloader.h [new file with mode: 0644]
tools/.gitignore
tools/Makefile
tools/update_octeon_header.c [new file with mode: 0644]