Re: [U-Boot] Can I load uEnv.txt conditionally, based on the boot source?

2015-02-12 Thread Brian Smucker
Hello, That would be the most obvious thing, wouldn't it. I thought of that, but am not sure of the answer in u-boot. Thanks, Brian On 2/11/2015 12:09 AM, Joe Hershberger wrote: On Tue, Feb 10, 2015 at 7:18 PM, Brian Smucker <mailto:b...@bsmucker.eu.org>> wrote: > &

[U-Boot] Can I load uEnv.txt conditionally, based on the boot source?

2015-02-11 Thread Brian Smucker
Hello, I was wondering if there is a way to tell what the boot source is? My am335x SOC can boot to the mmc or the flash, based on the status of a digital line. I would like to load the uEnv.txt, only if booting from SD card (mmc). I notice at least in some codebases that the automatic loadi