Dear Deven Balani,

In message 
<bd9d98b4d828e1499d717dba564a1f270b7bf92...@eu1rdcrdc1wx031.exi.nxp.com> you 
wrote:
>
> I have a reference board design which allows user to select one of the NOR =
> or NAND flash as onboard boot devices via a jumper setting. I have a regist=
> er setting in the hardware which can be used to identify the boot device ty=
> pe (NAND or NOR) during execution of bootloader.

Please use shorter lines - accepted line length is some 70 characters
or so.

> I'm interested in using u-boot to automatically check the boot device type =
> (NAND or NOR) during startup, load/store environment from the detected (NAN=
> D or NOR) flash device and enable supported u-boot commands for that flash =
> device.

That's not needed.

> I need some advice on, how this mechanism is supported in u-boot?
> 
> In other words, Is it possible to support both NAND and NOR flash as boot d=
> evices in one binary image of u-boot?

No, this doesn't work. You need two different images.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected]
Es gibt immer genug fuer die Beduerfnisse aller, aber  niemals  genug
fuer die Gier einzelner.                                    -- Ghandi
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to