From: Ian Campbell Date: Wed, 06 Aug 2014 08:18:04 +0100 Subject: [U-Boot] [PATCH 1/2] sunxi: Replace CONFIG_SUN[457]I ifdefs with SOC_IS_SUN[457]I() calls In-Reply-To: <1407036363-29620-2-git-send-email-siarhei.siamashka@gmail.com> References: <1407036363-29620-1-git-send-email-siarhei.siamashka@gmail.com> <1407036363-29620-2-git-send-email-siarhei.siamashka@gmail.com> Message-ID: <1407309484.23472.49.camel@dagon.hellion.org.uk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, 2014-08-03 at 06:26 +0300, Siarhei Siamashka wrote: > This is a purely mechanical conversion, replacing the ifdefs and > preparing the code for the use of runtime Allwinner SoC type > detection (within Allwinner A10/A13/A20 family). > > Similar 'board_is_xxx()' calls are used for TI hardware. I think this should be either soc_is_sunXi() giving the appearance of a function of SOC_IS_SUNxI giving the appearance of a variable. Other than that assuming the conversion is mechanical I think it is fine. Ian.