On Fri, May 30, 2008 at 08:49:46AM +0200, Wolfgang Grandegger wrote:
> Some TQM85xx boards could be equipped with up to 1 GiB (NOR) flash
> memory and therefore a modified memory map is required and setup by
> the board loader. This patch adds an appropriate DTS file.
> 
> Signed-off-by: Wolfgang Grandegger <[EMAIL PROTECTED]>
> ---
[...]
> +/* NAND support must be enabled in U-Boot before Linux can use it

nand/fsl_upm.c can detect this in run-time. That is, if BRx/ORx aren't
configured, fsl_upm_find() will return ENODEV/ENOENT/EINVAL, depending
on what exactly is mis-configured.

> +             [EMAIL PROTECTED],0 {
> +                     #address-cells = <0>;
> +                     #size-cells = <0>;
> +                     compatible = "fsl,upm-nand";
> +                     reg = <3 0x0 0x800>;
> +                     fsl,upm-addr-offset = <0x10>;
> +                     fsl,upm-cmd-offset = <0x08>;
> +                     chip-delay = <25>; // in micro-seconds
> +
> +                     [EMAIL PROTECTED] {
> +                             #address-cells = <1>;
> +                             #size-cells = <1>;
> +
> +                             [EMAIL PROTECTED] {
> +                                         label = "fs";
> +                                         reg = <0x00000000 0x01000000>;
> +                             };
> +                     };
> +             };
> +*/
> +     };

-- 
Anton Vorontsov
email: [EMAIL PROTECTED]
irc://irc.freenode.net/bd2
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to