Skip to content
Snippets Groups Projects
Commit fc9c810e authored by Ye Li's avatar Ye Li
Browse files

imx9: Add iMX91P and iMX91 support


Since iMX91P and iMX91 uses 384KB OCRAM, update to new address
for SPL and ATF

Signed-off-by: default avatarYe Li <ye.li@nxp.com>
parent 64ffa726
No related branches found
Tags imx_6.1.22_imx91p_er1
No related merge requests found
......@@ -9,6 +9,9 @@ SRCS = src/imx8qxb0.c src/mkimage_imx8.c
ifneq ($(findstring iMX8M,$(SOC)),)
SOC_DIR = iMX8M
endif
ifneq ($(findstring iMX9,$(SOC)),)
SOC_DIR = iMX9
endif
ifeq ($(SOC),iMX8DX)
SOC_DIR = iMX8QX
endif
......
......@@ -21,8 +21,13 @@ LC_REVISION = $(shell echo $(REV) | tr ABC abc)
AHAB_IMG = mx93$(LC_REVISION)-ahab-container.img
MCU_IMG = m33_image.bin
ifeq ($(SOC),iMX91)
SPL_LOAD_ADDR ?= 0x204A0000
ATF_LOAD_ADDR ?= 0x204C0000
else
SPL_LOAD_ADDR ?= 0x2049A000
ATF_LOAD_ADDR ?= 0x204E0000
endif
FCB_LOAD_ADDR ?= $(ATF_LOAD_ADDR)
TEE_LOAD_ADDR ?= 0x96000000
UBOOT_LOAD_ADDR ?= 0x80200000
......@@ -102,7 +107,7 @@ fcb.bin: FORCE
clean:
@rm -f $(MKIMG) u-boot-atf-container.img u-boot-spl-ddr.bin u-boot-spl-ddr-qb.bin u-boot-hash.bin
@rm -rf extracted_imgs
@echo "imx8ulp clean done"
@echo "imx9 clean done"
flash_singleboot: $(MKIMG) $(AHAB_IMG) u-boot-spl-ddr.bin u-boot-atf-container.img
./$(MKIMG) -soc IMX9 -append $(AHAB_IMG) -c -ap u-boot-spl-ddr.bin a35 $(SPL_LOAD_ADDR) -out flash.bin
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment