From: Wolfgang Denk Date: Mon, 25 Jul 2016 15:26:28 +0200 Subject: [U-Boot] confused by "upgrade_available=0\0" in include/configs/taurus.h In-Reply-To: References: <20160722220136.5F967100539@atlas.denx.de> <20160725045452.5990E100539@atlas.denx.de> Message-ID: <20160725132628.09B06100A6B@atlas.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Robert, In message you wrote: > > i'm not sure it's as bad as it looks, since those macros are used > specifically in drivers/bootcount/Makefile: You are right, and apparently it is working fine so far. But it is confusing, and... > obj-$(CONFIG_SOC_DA8XX) += bootcount_davinci.o > obj-$(CONFIG_BOOTCOUNT_AM33XX) += bootcount_davinci.o ..this would make more sense to me if it was called CONFIG_BOOTCOUNT_DAVINCI Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Do not simplify the design of a program if a way can be found to make it complex and wonderful.