mx6: Expand bmode to support ecspi3 boot
Subsystems (3)
Fabio Estevam
reviewerPATCH 1/1 mx6: Expand bmode to support ecspi3 boot
From: Fabio Estevam <[email protected]>
Currently, the bmode command only supports booting from ecspi1.
Expand it to also support booting from ecspi3.
Signed-off-by Fabio Estevam <[email protected]>
--- arch/arm/mach-imx/mx6/soc.c | 4 ++++ 1 file changed, 4 insertions(+)
arch/arm/mach-imx/mx6/soc.c +4 -0
@@ -585,6 +585,10 @@ const struct boot_mode soc_boot_modes[] = { {"ecspi1:1", MAKE_CFGVAL(0x30, 0x00, 0x00, 0x18)}, {"ecspi1:2", MAKE_CFGVAL(0x30, 0x00, 0x00, 0x28)}, {"ecspi1:3", MAKE_CFGVAL(0x30, 0x00, 0x00, 0x38)}, + {"ecspi3:0", MAKE_CFGVAL(0x30, 0x00, 0x00, 0x0a)}, + {"ecspi3:1", MAKE_CFGVAL(0x30, 0x00, 0x00, 0x1a)}, + {"ecspi3:2", MAKE_CFGVAL(0x30, 0x00, 0x00, 0x2a)}, + {"ecspi3:3", MAKE_CFGVAL(0x30, 0x00, 0x00, 0x3a)},/* 4 bit bus width */ {"esdhc1", MAKE_CFGVAL(0x40, 0x20, 0x00, 0x00)}, {"esdhc2", MAKE_CFGVAL(0x40, 0x28, 0x00, 0x00)},
Signature · 1 line
2.34.1
Quoted 9 lines
Subject: [PATCH] mx6: Expand bmode to support ecspi3 boot
From: Fabio Estevam <[email protected]>
Currently, the bmode command only supports booting from ecspi1.
Expand it to also support booting from ecspi3.
Signed-off-by Fabio Estevam <[email protected]>
Acked-by Peng Fan <[email protected]>