summaryrefslogtreecommitdiffstats
path: root/tools/Makefile
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2020-11-30 13:14:23 +0100
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2020-11-30 18:32:09 +0100
commit540a2bcec1389a3a31c23b5275e73186be6102b2 (patch)
tree07f3ea229b6ad8e396c2a0076b0932fa27d61368 /tools/Makefile
parentb7eac19a3d91fae05250688ed4047c1a5d68dd42 (diff)
downloadu-boot-540a2bcec1389a3a31c23b5275e73186be6102b2.tar.gz
u-boot-540a2bcec1389a3a31c23b5275e73186be6102b2.tar.xz
u-boot-540a2bcec1389a3a31c23b5275e73186be6102b2.zip
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>
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/Makefile b/tools/Makefile
index 51123fd929..253a6b9706 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -206,6 +206,9 @@ hostprogs-y += proftool
hostprogs-$(CONFIG_STATIC_RELA) += relocate-rela
hostprogs-$(CONFIG_RISCV) += prelink-riscv
+hostprogs-$(CONFIG_ARCH_OCTEON) += update_octeon_header
+update_octeon_header-objs := update_octeon_header.o lib/crc32.o
+
hostprogs-y += fdtgrep
fdtgrep-objs += $(LIBFDT_OBJS) common/fdt_region.o fdtgrep.o