From: York Sun <yorksun@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3] powerpc/85xx: enable some P1/P2 boards mtdparts for nor flash
Date: Tue, 14 Oct 2014 11:31:52 -0700 [thread overview]
Message-ID: <543D6C18.5000602@freescale.com> (raw)
In-Reply-To: <D016B5DC.14EED%yorksun@freescale.com>
On 08/17/2014 07:43 PM, York Sun wrote:
> Yangbo,
>
> On 8/17/14 7:03 PM, "Yangbo Lu" <yangbo.lu@freescale.com> wrote:
>
>> Enable these boards mtdparts for nor flash:
>> p1020rdb-pd, p1021rdb-pc, p1022ds, p1025twr, and p2020rdb-pc.
>>
>> Signed-off-by: Xie Xiaobo <X.Xie@freescale.com>
>> Signed-off-by: Yangbo Lu <yangbo.lu@freescale.com>
>> Cc: York Sun <yorksun@freescale.com>
>> Cc: Scott Wood <scottwood@freescale.com>
>> ---
>> Changes for v2:
>> - changed commit message
>> - fixed max line length problem in code
>> Changes for v3:
>> - added a Cc to York Sun
>> ---
>> include/configs/P1022DS.h | 12 ++++++++++++
>> include/configs/p1_p2_rdb_pc.h | 31 +++++++++++++++++++++++++++++++
>> include/configs/p1_twr.h | 12 ++++++++++++
>> 3 files changed, 55 insertions(+)
>>
>> diff --git a/include/configs/P1022DS.h b/include/configs/P1022DS.h
>> index 139d4fe..4480270 100644
>> --- a/include/configs/P1022DS.h
>> +++ b/include/configs/P1022DS.h
>> @@ -620,6 +620,18 @@
>> #endif
>>
>> /*
>> + * Dynamic MTD Partition support with mtdparts
>> + */
>> +#define CONFIG_MTD_DEVICE
>> +#define CONFIG_MTD_PARTITIONS
>> +#define CONFIG_CMD_MTDPARTS
>> +#define CONFIG_FLASH_CFI_MTD
>> +#define MTDIDS_DEFAULT "nor0=e8000000.nor"
>> +#define MTDPARTS_DEFAULT "mtdparts=e8000000.nor:48m(ramdisk)," \
>> + "14m(diagnostic),2m(dink),6m(kernel),58112k(fs)," \
>> + "512k(dtb),768k(u-boot)"
>> +
>
> Don't you need to consider both 32- and 36-bit physical address for the
> flash base here? The same comment applies to p1_p2_rdb_pc.h as well.
>
Please respond.
York
prev parent reply other threads:[~2014-10-14 18:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-18 2:03 [U-Boot] [PATCH v3] powerpc/85xx: enable some P1/P2 boards mtdparts for nor flash Yangbo Lu
2014-08-18 2:43 ` York Sun
2014-10-14 18:31 ` York Sun [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=543D6C18.5000602@freescale.com \
--to=yorksun@freescale.com \
--cc=u-boot@lists.denx.de \
/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