From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] configs: Migrate CONFIG_NR_DRAM_BANKS
Date: Fri, 17 Aug 2018 08:46:36 -0400 [thread overview]
Message-ID: <20180817124636.GI30947@bill-the-cat> (raw)
In-Reply-To: <aaaf844a-ed19-e290-33bc-d78c2da57427@monstr.eu>
On Fri, Aug 17, 2018 at 08:17:45AM +0200, Michal Simek wrote:
> Hi Tom,
>
> On 17.8.2018 03:12, Tom Rini wrote:
> > We have the following cases:
> > - CONFIG_NR_DRAM_BANKS was defined, migrate normally
> > - CONFIG_NR_DRAM_BANKS_MAX was defined and then used for
> > CONFIG_NR_DRAM_BANKS after a check, just migrate it over now.
> > - CONFIG_NR_DRAM_BANKS was very oddly defined on p2771-0000-* (to 1024 +
> > 2), set this to 8.
> >
> > Signed-off-by: Tom Rini <trini@konsulko.com>
> > ---
>
> zynq-common.h contained
>
> #ifndef CONFIG_NR_DRAM_BANKS
> # define CONFIG_NR_DRAM_BANKS 1
> #endif
>
> that's why I expect you wanted to use default setup which is 4.
> We had this code there only for handling use case with additional bank
> connected to programmable logic which is unused now.
> Anyway will be the best to use 1 for all current zynq boards.
>
> Also the similar thing happened with zynqmp boards where we had default
> setup 2 and it was changed to 4.
>
> #ifndef CONFIG_NR_DRAM_BANKS
> # define CONFIG_NR_DRAM_BANKS 2
> #endif
>
> Code was there to handle mini configurations which use 1 bank all the time.
>
> I checked microblaze and zynqmp-mini and zynqmp-r5 and they are fine.
OK, sorry about that. But, a question. What happens / what to we lose
/ get wrong by having them be set to 4 (or say 8 on the ARMv8 parts) ?
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180817/41441656/attachment.sig>
next prev parent reply other threads:[~2018-08-17 12:46 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-17 1:12 [U-Boot] [PATCH] configs: Migrate CONFIG_NR_DRAM_BANKS Tom Rini
2018-08-17 2:04 ` Tom Rini
2018-08-17 6:17 ` Michal Simek
2018-08-17 12:46 ` Tom Rini [this message]
2018-08-17 12:03 ` Adam Ford
2018-08-17 12:45 ` Tom Rini
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=20180817124636.GI30947@bill-the-cat \
--to=trini@konsulko.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.