[PATCH v4 2/7] dts: imx8mm-uboot: Add support to pack FlexSPI Header using binman

2022-07-07 Thread Mamta Shukla
Add definition for FSPI configuration block and subsequently new offsets for u-boot-spl and u-boot-itb for CONFIG_FSPI_HEADER option. Signed-off-by: Mamta Shukla Signed-off-by: Thomas Haemmerle Tested-by: Adam Ford Reviewed-by: Fabio Estevam --- v2: -No changes v3: -Fix Checkpatch ERROR

[PATCH v4 1/7] tools: mkimage: Add support to generate FlexSPI Header for i.MX8m

2022-07-07 Thread Mamta Shukla
Add struct with Flex SPI Configuration Block and enable generating fspi header using mkimage. Refer i.MX 8M Mini Application Processor Reference Manual for detailed information about parameters for FlexSPI Configuration block. Signed-off-by: Mamta Shukla Signed-off-by: Thomas Haemmerle Tested

[PATCH v4 0/7] Add support for FlexSPI Boot for i.MX8m

2022-07-07 Thread Mamta Shukla
in v4: -Add condition for CONFIG_SYS_UBOOT_BASE for mmc/sd card build -Define QPSI0_AMBA_BASE in imx-regs.h since it is imx8mm specific Mamta Shukla (7): tools: mkimage: Add support to generate FlexSPI Header for i.MX8m dts: imx8mm-uboot: Add support to pack FlexSPI Header using binman configs

[PATCH v4 7/7] doc: board: nxp: Add instructions to boot from QSPI

2022-07-07 Thread Mamta Shukla
Add instructions to build and boot from QSPI Flash Signed-off-by: Mamta Shukla Signed-off-by: Thomas Haemmerle Tested-by: Adam Ford Reviewed-by: Fabio Estevam --- v2: -No changes v3: -Fix Checkpatch Error for trailing whitespace v4: -No changes doc/board/nxp/imx8mm_evk.rst | 37

[PATCH v4 3/7] configs: Add config for enabling FSPI boot option for i.MX8m

2022-07-07 Thread Mamta Shukla
Add imx8mm_evk_fspi_defconfig to build QSPI boot image. This config is based on imx8mm_evk_defconfig with addtional config options for FSPI Header,SPL offset and imx-image config to boot from FSPI. Signed-off-by: Mamta Shukla Signed-off-by: Thomas Haemmerle Tested-by: Adam Ford Reviewed

[PATCH v4 5/7] configs: imx8mm: Define CONFIG_SYS_UBOOT_BASE for i.MX8m

2022-07-07 Thread Mamta Shukla
o define CONFIG_SYS_UBOOT_BASE in multiple board header files for i.MX8MM, it is not specified. Specify offset of flattened image tree blob (needs to be set to same value as specified in 'binman' node), base address of QSPI0 and size of FlexSPI configuration block. Signed-off-by: Mamta Shukla Signed-of

[PATCH v4 4/7] board: freescale: Add QSPI Boot support in spl for i.MX8m

2022-07-07 Thread Mamta Shukla
Add QSPI Boot option in u-boot-spl for i.MX8m EVK. Signed-off-by: Mamta Shukla Signed-off-by: Thomas Haemmerle Tested-by: Adam Ford Reviewed-by: Fabio Estevam --- v2: -No changes v3: -No changes v4: -No changes board/freescale/imx8mm_evk/spl.c | 2 ++ 1 file changed, 2 insertions

[PATCH v4 6/7] board: freescale: Add entry for imx8mm_evk_fspi_defconfig

2022-07-07 Thread Mamta Shukla
Add entry for imx8mm_evk_fspi_defconfig in board/freescale/imx8mm_evk/MAINTAINERS Signed-off-by: Mamta Shukla Signed-off-by: Thomas Haemmerle Tested-by: Adam Ford Reviewed-by: Fabio Estevam --- v2: -No changes v3: -No changes v4: -No changes board/freescale/imx8mm_evk/MAINTAINERS | 1

[PATCH v5 7/7] doc: board: nxp: Add instructions to boot from QSPI

2022-07-12 Thread Mamta Shukla
Add instructions to build and boot from QSPI Flash Signed-off-by: Mamta Shukla Signed-off-by: Thomas Haemmerle Tested-by: Adam Ford Reviewed-by: Fabio Estevam --- v2: -No changes v3: -Fix Checkpatch Error for trailing whitespace v4: -No changes v5: -No changes doc/board/nxp

[PATCH v5 0/7] Add support for FlexSPI Boot for i.MX8m

2022-07-12 Thread Mamta Shukla
BLY__ in source files") -Sync config with commit e092e3250270 ("Prepare v2022.07") Mamta Shukla (7): tools: mkimage: Add support to generate FlexSPI Header for i.MX8m dts: imx8mm-uboot: Add support to pack FlexSPI Header using binman configs: Add config for enabling FSPI bo

[PATCH v5 2/7] dts: imx8mm-uboot: Add support to pack FlexSPI Header using binman

2022-07-12 Thread Mamta Shukla
Add definition for FSPI configuration block and subsequently new offsets for u-boot-spl and u-boot-itb for CONFIG_FSPI_HEADER option. Signed-off-by: Mamta Shukla Signed-off-by: Thomas Haemmerle Tested-by: Adam Ford Reviewed-by: Fabio Estevam --- v2: -No changes v3: -Fix Checkpatch ERROR

[PATCH v5 3/7] configs: Add config for enabling FSPI boot option for i.MX8m

2022-07-12 Thread Mamta Shukla
Add imx8mm_evk_fspi_defconfig to build QSPI boot image. This config is based on imx8mm_evk_defconfig with addtional config options for FSPI Header,SPL offset and imx-image config to boot from FSPI. Signed-off-by: Mamta Shukla Signed-off-by: Thomas Haemmerle Tested-by: Adam Ford Reviewed

[PATCH v5 1/7] tools: mkimage: Add support to generate FlexSPI Header for i.MX8m

2022-07-12 Thread Mamta Shukla
Add struct with Flex SPI Configuration Block and enable generating fspi header using mkimage. Refer i.MX 8M Mini Application Processor Reference Manual for detailed information about parameters for FlexSPI Configuration block. Signed-off-by: Mamta Shukla Signed-off-by: Thomas Haemmerle Tested

[PATCH v5 5/7] configs: imx8mm: Define CONFIG_SYS_UBOOT_BASE for i.MX8m

2022-07-12 Thread Mamta Shukla
o define CONFIG_SYS_UBOOT_BASE in multiple board header files for i.MX8MM, it is not specified. Specify offset of flattened image tree blob (needs to be set to same value as specified in 'binman' node), base address of QSPI0 and size of FlexSPI configuration block. Signed-off-by: Mamta Shukla Signed-of

[PATCH v5 4/7] board: freescale: Add QSPI Boot support in spl for i.MX8m

2022-07-12 Thread Mamta Shukla
Add QSPI Boot option in u-boot-spl for i.MX8m EVK. Signed-off-by: Mamta Shukla Signed-off-by: Thomas Haemmerle Tested-by: Adam Ford Reviewed-by: Fabio Estevam --- v2: -No changes v3: -No changes v4: -No changes v5: -No changes board/freescale/imx8mm_evk/spl.c | 2 ++ 1 file changed, 2

[PATCH v5 6/7] board: freescale: Add entry for imx8mm_evk_fspi_defconfig

2022-07-12 Thread Mamta Shukla
Add entry for imx8mm_evk_fspi_defconfig in board/freescale/imx8mm_evk/MAINTAINERS Signed-off-by: Mamta Shukla Signed-off-by: Thomas Haemmerle Tested-by: Adam Ford Reviewed-by: Fabio Estevam --- v2: -No changes v3: -No changes v4: -No changes v5: -No changes board/freescale/imx8mm_evk

[PATCH v6 0/7] Add support for FlexSPI Boot for i.MX8m

2022-07-12 Thread Mamta Shukla
76 ("configs: Resync with savedefconfig") -Add more detail to commit message to introduce imx8mm_evk_fspi_defconfig -Fix commit id used for sync: commit 36b661dc919d ("Merge branch 'next'") Mamta Shukla (7): tools: mkimage: Add support to generate FlexSPI Header for i.MX8m dts: i

[PATCH v6 6/7] board: freescale: Add entry for imx8mm_evk_fspi_defconfig

2022-07-12 Thread Mamta Shukla
Add entry for imx8mm_evk_fspi_defconfig in board/freescale/imx8mm_evk/MAINTAINERS Signed-off-by: Mamta Shukla Signed-off-by: Thomas Haemmerle Tested-by: Adam Ford Reviewed-by: Fabio Estevam --- v2: -No changes v3: -No changes v4: -No changes v5: -No changes v6: -No changes board

[PATCH v6 5/7] configs: imx8mm: Define CONFIG_SYS_UBOOT_BASE for i.MX8m

2022-07-12 Thread Mamta Shukla
o define CONFIG_SYS_UBOOT_BASE in multiple board header files for i.MX8MM, it is not specified. Specify offset of flattened image tree blob (needs to be set to same value as specified in 'binman' node), base address of QSPI0 and size of FlexSPI configuration block. Signed-off-by: Mamta Shukla Signed-of

[PATCH v6 1/7] tools: mkimage: Add support to generate FlexSPI Header for i.MX8m

2022-07-12 Thread Mamta Shukla
Add struct with Flex SPI Configuration Block and enable generating fspi header using mkimage. Refer i.MX 8M Mini Application Processor Reference Manual for detailed information about parameters for FlexSPI Configuration block. Signed-off-by: Mamta Shukla Signed-off-by: Thomas Haemmerle Tested

[PATCH v6 3/7] configs: Add config for enabling FSPI boot option for i.MX8m

2022-07-12 Thread Mamta Shukla
. Signed-off-by: Mamta Shukla Signed-off-by: Thomas Haemmerle Tested-by: Adam Ford Reviewed-by: Fabio Estevam Reviewed-by: Andrey Zhizhikin --- v2: -Remove extra line in commit message -Remove extra line in imx8mm_evk_fspi_defconfig -New patch in series to add an entry for imx8mm_evk_fspi_defconfig

[PATCH v6 7/7] doc: board: nxp: Add instructions to boot from QSPI

2022-07-12 Thread Mamta Shukla
Add instructions to build and boot from QSPI Flash Signed-off-by: Mamta Shukla Signed-off-by: Thomas Haemmerle Tested-by: Adam Ford Reviewed-by: Fabio Estevam --- v2: -No changes v3: -Fix Checkpatch Error for trailing whitespace v4: -No changes v5: -No changes v6: -No changes doc/board

[PATCH v6 4/7] board: freescale: Add QSPI Boot support in spl for i.MX8m

2022-07-12 Thread Mamta Shukla
Add QSPI Boot option in u-boot-spl for i.MX8m EVK. Signed-off-by: Mamta Shukla Signed-off-by: Thomas Haemmerle Tested-by: Adam Ford Reviewed-by: Fabio Estevam --- v2: -No changes v3: -No changes v4: -No changes v5: -No changes v6: -No changes board/freescale/imx8mm_evk/spl.c | 2 ++ 1

[PATCH v6 2/7] dts: imx8mm-uboot: Add support to pack FlexSPI Header using binman

2022-07-12 Thread Mamta Shukla
Add definition for FSPI configuration block and subsequently new offsets for u-boot-spl and u-boot-itb for CONFIG_FSPI_HEADER option. Signed-off-by: Mamta Shukla Signed-off-by: Thomas Haemmerle Tested-by: Adam Ford Reviewed-by: Fabio Estevam --- v2: -No changes v3: -Fix Checkpatch ERROR

[PATCH 0/5] Add support for FLexSPI Boot for i.MX8m

2022-06-03 Thread Mamta Shukla
This series of patch adds support for generating FlexSPI Header file and booting from QSPI on i.MX8m. Mamta Shukla (5): tools: mkimage: Add support to generate FlexSPI Header for i.MX8m dts: imx8mm-uboot: Add support to pack FlexSPI Header using binman configs: Add config for enabling

[PATCH 3/5] configs: Add config for enabling FSPI boot option for i.MX8m

2022-06-03 Thread Mamta Shukla
Add imx8mm_evk_fspi_defconfig to build QSPI boot image. This config is based on imx8mm_evk_defconfig with addtional config options for FSPI Header,SPL offset and imx-image config to boot from FSPI. Signed-off-by: Mamta Shukla Signed-off-by: Thomas Haemmerle --- .../imx8mm_evk/imximage-8mm

[PATCH 1/5] tools: mkimage: Add support to generate FlexSPI Header for i.MX8m

2022-06-03 Thread Mamta Shukla
Add struct with Flex SPI Configuration Block and enable generating fspi header using mkimage. Refer i.MX 8M Mini Application Processor Reference Manual for detailed information about parameters for FlexSPI Configuration block. Signed-off-by: Mamta Shukla Signed-off-by: Thomas Haemmerle

[PATCH 2/5] dts: imx8mm-uboot: Add support to pack FlexSPI Header using binman

2022-06-03 Thread Mamta Shukla
Add definition for FSPI configuration block and subsequently new offsets for u-boot-spl and u-boot-itb for CONFIG_FSPI_HEADER option. Signed-off-by: Mamta Shukla Signed-off-by: Thomas Haemmerle --- arch/arm/dts/imx8mm-u-boot.dtsi | 22 +- 1 file changed, 21 insertions(+), 1

[PATCH 5/5] configs: imx8mm: Define CONFIG_SYS_UBOOT_BASE for i.MX8m

2022-06-03 Thread Mamta Shukla
o define CONFIG_SYS_UBOOT_BASE in multiple board header files for i.MX8MM, it is not specified. Specify offset of flattened image tree blob (needs to be set to same value as specified in 'binman' node), base address of QSPI0 and size of FlexSPI configuration block. Signed-off-by: Mamta Shukla S

[PATCH 4/5] board: freescale: Add QSPI Boot support in spl for i.MX8m

2022-06-03 Thread Mamta Shukla
Add QSPI Boot option in u-boot-spl for i.MX8m EVK. Signed-off-by: Mamta Shukla Signed-off-by: Thomas Haemmerle --- board/freescale/imx8mm_evk/spl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/freescale/imx8mm_evk/spl.c b/board/freescale/imx8mm_evk/spl.c index 7eeec6c485

[PATCH v2 3/7] configs: Add config for enabling FSPI boot option for i.MX8m

2022-06-09 Thread Mamta Shukla
Add imx8mm_evk_fspi_defconfig to build QSPI boot image. This config is based on imx8mm_evk_defconfig with addtional config options for FSPI Header,SPL offset and imx-image config to boot from FSPI. Signed-off-by: Mamta Shukla Signed-off-by: Thomas Haemmerle --- v2: -Remove extra line in commit

[PATCH v2 1/7] tools: mkimage: Add support to generate FlexSPI Header for i.MX8m

2022-06-09 Thread Mamta Shukla
Add struct with Flex SPI Configuration Block and enable generating fspi header using mkimage. Refer i.MX 8M Mini Application Processor Reference Manual for detailed information about parameters for FlexSPI Configuration block. Signed-off-by: Mamta Shukla Signed-off-by: Thomas Haemmerle --- v2

[PATCH v2 0/7] Add support for FLexSPI Boot for i.MX8m

2022-06-09 Thread Mamta Shukla
to add an entry for imx8mm_evk_fspi_defconfig in board/freescale/imx8mm_evk/MAINTAINERS -New patch in series to add instructions to build and boot from QSPI Flash Mamta Shukla (7): tools: mkimage: Add support to generate FlexSPI Header for i.MX8m dts: imx8mm-uboot: Add support to pack FlexSPI

[PATCH v2 2/7] dts: imx8mm-uboot: Add support to pack FlexSPI Header using binman

2022-06-09 Thread Mamta Shukla
Add definition for FSPI configuration block and subsequently new offsets for u-boot-spl and u-boot-itb for CONFIG_FSPI_HEADER option. Signed-off-by: Mamta Shukla Signed-off-by: Thomas Haemmerle --- (no changes since v1) arch/arm/dts/imx8mm-u-boot.dtsi | 22 +- 1 file

[PATCH v2 5/7] configs: imx8mm: Define CONFIG_SYS_UBOOT_BASE for i.MX8m

2022-06-09 Thread Mamta Shukla
o define CONFIG_SYS_UBOOT_BASE in multiple board header files for i.MX8MM, it is not specified. Specify offset of flattened image tree blob (needs to be set to same value as specified in 'binman' node), base address of QSPI0 and size of FlexSPI configuration block. Signed-off-by: Mamta Shukla S

[PATCH v2 7/7] doc: board: nxp: Add instructions to boot from QSPI

2022-06-09 Thread Mamta Shukla
Add instructions to build and boot from QSPI Flash. Signed-off-by: Mamta Shukla Signed-off-by: Thomas Haemmerle --- doc/board/nxp/imx8mm_evk.rst | 38 ++-- 1 file changed, 36 insertions(+), 2 deletions(-) diff --git a/doc/board/nxp/imx8mm_evk.rst b/doc/board

[PATCH v2 4/7] board: freescale: Add QSPI Boot support in spl for i.MX8m

2022-06-09 Thread Mamta Shukla
Add QSPI Boot option in u-boot-spl for i.MX8m EVK. Signed-off-by: Mamta Shukla Signed-off-by: Thomas Haemmerle --- (no changes since v1) board/freescale/imx8mm_evk/spl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/freescale/imx8mm_evk/spl.c b/board/freescale/imx8mm_evk/spl.c

[PATCH v2 6/7] board: freescale: Add entry for imx8mm_evk_fspi_defconfig

2022-06-09 Thread Mamta Shukla
Add entry for imx8mm_evk_fspi_defconfig in board/freescale/imx8mm_evk/MAINTAINERS Signed-off-by: Mamta Shukla Signed-off-by: Thomas Haemmerle --- board/freescale/imx8mm_evk/MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/board/freescale/imx8mm_evk/MAINTAINERS b/board/freescale

[PATCH v3 2/7] dts: imx8mm-uboot: Add support to pack FlexSPI Header using binman

2022-06-09 Thread Mamta Shukla
Add definition for FSPI configuration block and subsequently new offsets for u-boot-spl and u-boot-itb for CONFIG_FSPI_HEADER option. Signed-off-by: Mamta Shukla Signed-off-by: Thomas Haemmerle --- v2: -No changes v3: -Fix Checkpatch ERROR: code indent should use tabs where possible arch/arm

[PATCH v3 5/7] configs: imx8mm: Define CONFIG_SYS_UBOOT_BASE for i.MX8m

2022-06-09 Thread Mamta Shukla
o define CONFIG_SYS_UBOOT_BASE in multiple board header files for i.MX8MM, it is not specified. Specify offset of flattened image tree blob (needs to be set to same value as specified in 'binman' node), base address of QSPI0 and size of FlexSPI configuration block. Signed-off-by: Mamta Shukla Signed-of

[PATCH v3 7/7] doc: board: nxp: Add instructions to boot from QSPI

2022-06-09 Thread Mamta Shukla
Add instructions to build and boot from QSPI Flash. Signed-off-by: Mamta Shukla Signed-off-by: Thomas Haemmerle --- v2: -No changes v3: -Fix Checkpatch Error for trailing whitespace doc/board/nxp/imx8mm_evk.rst | 37 ++-- 1 file changed, 35 insertions(+), 2

[PATCH v3 6/7] board: freescale: Add entry for imx8mm_evk_fspi_defconfig

2022-06-09 Thread Mamta Shukla
Add entry for imx8mm_evk_fspi_defconfig in board/freescale/imx8mm_evk/MAINTAINERS Signed-off-by: Mamta Shukla Signed-off-by: Thomas Haemmerle --- v2: -No changes v3: -No changes board/freescale/imx8mm_evk/MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/board/freescale

[PATCH v3 4/7] board: freescale: Add QSPI Boot support in spl for i.MX8m

2022-06-09 Thread Mamta Shukla
Add QSPI Boot option in u-boot-spl for i.MX8m EVK. Signed-off-by: Mamta Shukla Signed-off-by: Thomas Haemmerle --- v2: -No changes v3: -No changes board/freescale/imx8mm_evk/spl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/freescale/imx8mm_evk/spl.c b/board/freescale

[PATCH v3 3/7] configs: Add config for enabling FSPI boot option for i.MX8m

2022-06-09 Thread Mamta Shukla
Add imx8mm_evk_fspi_defconfig to build QSPI boot image. This config is based on imx8mm_evk_defconfig with addtional config options for FSPI Header,SPL offset and imx-image config to boot from FSPI. Signed-off-by: Mamta Shukla Signed-off-by: Thomas Haemmerle --- v2: -Remove extra line in commit

[PATCH v3 1/7] tools: mkimage: Add support to generate FlexSPI Header for i.MX8m

2022-06-09 Thread Mamta Shukla
Add struct with Flex SPI Configuration Block and enable generating fspi header using mkimage. Refer i.MX 8M Mini Application Processor Reference Manual for detailed information about parameters for FlexSPI Configuration block. Signed-off-by: Mamta Shukla Signed-off-by: Thomas Haemmerle --- v2

[PATCH v3 0/7] Add support for FlexSPI Boot for i.MX8m

2022-06-09 Thread Mamta Shukla
to add an entry for imx8mm_evk_fspi_defconfig in board/freescale/imx8mm_evk/MAINTAINERS -New patch in series to add instructions to build and boot from QSPI Flash Changes in v3: -Fix Checkpatch ERROR: code indent should use tabs where possible -Fix Checkpatch ERROR for trailing spaces Mamta Shukla