Hi Michael,

On Fri, Aug 24, 2018 at 4:55 PM, Michael Grzeschik <[email protected]> wrote:

> I get that it is not safe to toggle bits if the clock is not
> there. We could check for the bootsource. Is it possible to
> ensure that we are started by imx-usb-loader?

It is possible to determine if we have started via USB download mode.

Check the is_boot_from_usb() implementation in U-Boot for a reference.

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to