>> /* >> * With the Secure Monitor at 0x0, its reset vector must also >> * then point off to the correct "out-of-reset entry function." >> */ >> #define CONFIG_SECURE_MONITOR_RESET_FUNCTION _myplatform_cpu_entry >> #define CONFIG_ARMV7_SECURE_BASE 0x0 >> >> That _myplatform_cpu_entry corresponds to your sunxi_cpu_entry code. > > Yup, makes sense. Nit-pick: make the _secure_reset a weak symbol that > your platform code will overload, just like the rest of the PSCI > stuff. Saves the #ifdef horror; ;-)
Oh, good idea. I'll add that bit in. Thanks! >> So, yeah, I know that isn't a proper patch and all. :-) I'm just >> sending you more information to ponder for this patch series! If you >> would like to generalize your patch this way, please feel free to do >> so. If not, I can send a proper patch after this hits mainline or so. > > My prefered way would be indeed to have a proper patch on top of this to > handle the "coming out of reset" case. You'll get proper credit for the > idea! :-) Will do. Thanks, jdl _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot