From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Fri, 17 Aug 2018 08:45:43 -0400 Subject: [U-Boot] [PATCH] configs: Migrate CONFIG_NR_DRAM_BANKS In-Reply-To: References: <1534468351-1820-1-git-send-email-trini@konsulko.com> Message-ID: <20180817124543.GH30947@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Aug 17, 2018 at 07:03:04AM -0500, Adam Ford wrote: > On Thu, Aug 16, 2018 at 8:14 PM 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 > > --- > > 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: