[U-Boot] [PATCH] board: freescale: ls1012ardb: Add command to switch QSPI bank

Scott Wood oss at buserror.net
Thu Apr 19 06:47:39 UTC 2018


On Mon, 2018-04-16 at 08:40 +0530, Calvin Johnson wrote:
> On Fri, Apr 13, 2018 at 12:18 AM, Jagdish Gediya <jagdish.gediya at nxp.com>
> wrote:
> > Add command "boot_bank X" to switch the boot bank to either
> > 1 or 2.
> 
> Are these functions required as this can be handled by new env vars to
> switch banks?

If you're going to add something new, a command is much more pleasant than env
vars -- particularly if you stick to something like the familiar interfaces
("pix altbank", "qix altbank", etc), and include reporting of which bank was
booted from if it's not there already.  Of course, a fully standardized
interface would be even better.

I'm assuming this hardware isn't at all compatible with pixis/qixis?

-Scott



More information about the U-Boot mailing list