Thanks Biyong Sun.
"bmode" was not exact fit for our application, but helped us to find out un-documented registers for a solution.
Here is the description of what we have done:
- SRC_SBMR1 register reflects the status of Boot Mode Pins :
BOOT_CFG4[7:0], BOOT_CFG3[7:0], BOOT_CFG2[7:0], BOOT_CFG1[7:0]
- At reset, if SRC_GPR10[28] is 0, SRC_SBMR1 will determine the boot device, which are driven by Boot Mode Pins.
- At reset, if SRC_GPR10[28] is 1, ROM will use SRC_GPR9 as Boot Config values. (not the SRC_SBMR1 values)
By changing SRC_GPR9 & 10 registers, we can choose the Boot mode by Soft Reset.
Selcuk