[U-Boot] [PATCH] configs: Migrate CONFIG_NR_DRAM_BANKS

Tom Rini trini at konsulko.com
Fri Aug 17 12:45:43 UTC 2018


On Fri, Aug 17, 2018 at 07:03:04AM -0500, Adam Ford wrote:
> On Thu, Aug 16, 2018 at 8:14 PM Tom Rini <trini at konsulko.com> 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 at konsulko.com>
> > ---
> 
> What are the chances of using defaults based on architectures?  The
> number of defconfig changes can go down, and those that need changes
> that differ from their standard architecture can still do it.

Well, one of the things I'm wondering about is how many places really
need / benefit from using something other than 4 or 8 and dropping the
usage of 1/2/3/6/7 and just defaulting to 8 if 64bit, else 4.

-- 
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/5261cf49/attachment.sig>


More information about the U-Boot mailing list