This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3352: U-boot load from different NAND locations

Part Number: AM3352

HI,

I am trying to have two u-boot's (minimal u-boot and advanced u-boot) on my RAW Nand, in a custom board based on AM3352.
I would like to boot to U-boot1 or U-boot2 based on a gpio value in SPL stage. Can someone kindly let me know, if this is possible to do and if it is right to do something like this ?

SPL -- GPIO23 (GPIO INPUT) =1 -> Boot U-boot1
SPL -- GPIO23 (GPIO INPUT) =0 -> Boot U-boot2

I think for this to happen, I've to set the u-boot address location as a runtime value in the SPL stage, right ?

Thanks in advance.