linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Scott Wood <scottwood@freescale.com>
To: Haijun Zhang <Haijun.Zhang@freescale.com>
Cc: Jerry Huang <Chang-Ming.Huang@freescale.com>,
	AFLEMING@freescale.com, Haijun Zhang <Haijun.Zhang@freescale.com>,
	linuxppc-dev@lists.ozlabs.org,
	Xie Xiaobo-R63061 <X.Xie@freescale.com>
Subject: Re: [PATCH 2/2 V4] powerpc/85xx: add the P1020RDB-PD DTS support
Date: Thu, 11 Jul 2013 15:34:18 -0500	[thread overview]
Message-ID: <1373574858.8183.267@snotra> (raw)
In-Reply-To: <1373423097-27866-1-git-send-email-Haijun.Zhang@freescale.com> (from Haijun.Zhang@freescale.com on Tue Jul  9 21:24:57 2013)

On 07/09/2013 09:24:57 PM, Haijun Zhang wrote:
> +		nand@1,0 {
> +			#address-cells =3D <1>;
> +			#size-cells =3D <1>;
> +			compatible =3D "fsl,p1020-fcm-nand",
> +				     "fsl,elbc-fcm-nand";
> +			reg =3D <0x1 0x0 0x40000>;
> +
> +			partition@0 {
> +				/* This location must not be altered  */
> +				/* 1MB for u-boot Bootloader Image */
> +				reg =3D <0x0 0x00100000>;
> +				label =3D "NAND U-Boot Image";
> +				read-only;
> +			};
> +
> +			partition@100000 {
> +				/* 1MB for DTB Image */
> +				reg =3D <0x00100000 0x00100000>;
> +				label =3D "NAND DTB Image";
> +			};
> +
> +			partition@200000 {
> +				/* 4MB for Linux Kernel Image */
> +				reg =3D <0x00200000 0x00400000>;
> +				label =3D "NAND Linux Kernel Image";
> +			};
> +
> +			partition@600000 {
> +				/* 96MB for File System Image */
> +				reg =3D <0x00600000 0x06000000>;
> +				label =3D "NAND FILE System Image";
> +			};

This accounts for 102 MiB of the flash.  The rest is just unused?  Why =20
not increase the filesystem partition?

Also, why capitalize "FILE"?

> +		spi@7000 {
> +			flash@0 {
> +				#address-cells =3D <1>;
> +				#size-cells =3D <1>;
> +				compatible =3D "spansion,s25sl12801";
> +				reg =3D <0>;
> +				/* input clock */
> +				spi-max-frequency =3D <40000000>;
> +
> +				partition@0 {
> +					/* 512KB for u-boot Bootloader =20
> Image */
> +					reg =3D <0x0 0x00080000>;
> +					label =3D "SPI U-Boot Image";
> +					read-only;
> +				};
> +
> +				partition@80000 {
> +					/* 512KB for DTB Image*/
> +					reg =3D <0x00080000 0x00080000>;
> +					label =3D "SPI DTB Image";
> +				};
> +
> +				partition@100000 {
> +					/* 4MB for Linux Kernel Image */
> +					reg =3D <0x00100000 0x00400000>;
> +					label =3D "SPI Linux Kernel =20
> Image";
> +				};
> +
> +				partition@500000 {
> +					/* 7MB for FS System Image */
> +					reg =3D <0x00500000 0x00700000>;
> +					label =3D "SPI File System Image";
> +				};
> +			};

Likewise.

-Scott=

      reply	other threads:[~2013-07-11 20:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-10  2:24 [PATCH 2/2 V4] powerpc/85xx: add the P1020RDB-PD DTS support Haijun Zhang
2013-07-11 20:34 ` Scott Wood [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1373574858.8183.267@snotra \
    --to=scottwood@freescale.com \
    --cc=AFLEMING@freescale.com \
    --cc=Chang-Ming.Huang@freescale.com \
    --cc=Haijun.Zhang@freescale.com \
    --cc=X.Xie@freescale.com \
    --cc=linuxppc-dev@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).