diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/Makefile b/arch/arm/Makefile index 52087ecc09..24b5d98686 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile @@ -41,6 +41,20 @@ endif $(Q)ln -fsn proc-armv include/asm-arm/proc @touch $@ +uboot.netx: uboot.bin + $(Q)scripts/gen_netx_image -i uboot.bin -o uboot.netx \ + --sdramctrl=$(CONFIG_NETX_SDRAM_CTRL) \ + --sdramtimctrl=$(CONFIG_NETX_SDRAM_TIMING_CTRL) \ + --memctrl=$(CONFIG_NETX_MEM_CTRL) \ + --entrypoint=$(CONFIG_TEXT_BASE) \ + --cookie=$(CONFIG_NETX_COOKIE); + +ifeq ($(machine-y),netx) +KBUILD_IMAGE := u-boot.netx +endif + +all: $(KBUILD_IMAGE) + archprepare: maketools PHONY += maketools |