From: Wolfgang Denk Date: Wed, 12 Jul 2017 15:07:16 +0200 Subject: [U-Boot] [PATCH 06/14] powerpc: Remove unneccessary #ifdefs in reginfo In-Reply-To: References: Message-ID: <20170712130716.5B632120259@gemini.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 Christophe Leroy, In message you wrote: > reginfo command is calling mpc8xx_reginfo(), mpc85xx_reginfo() > or mpc86xx_reginfo() based on CONFIG_ symbol. > As those 3 functions can't me defined at the same time, let's > rename them mpc8xxx_reginfo() to avoid the #ifdefs This is indeed a tempting idea, but MPC8xx is a totally different thing than MPC8xxxx, so the chosen name is misleading and should be avoided. > Lets all remove the #ifdefs around the U_BOOT_CMD as this > file is only compiled when CONFIG_CMD_REGINFO is defined Has this change been tested / verified against all other boards / architectures? 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 I will also, for an appropriate fee, certify that your keyboard is object-oriented, and that the bits on your hard disk are template- compatible. - Jeffrey S. Haemer in <411akr$3ga@cygnus.com>