From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Sat, 24 Jan 2015 09:01:15 -0600 Subject: [U-Boot] [PATCH 1/2] arm: ls102xa: Add dummy gpio.h to enable CONFIG_OF_CONTROL In-Reply-To: <1418192223-3899-1-git-send-email-ruchika.gupta@freescale.com> References: <1418192223-3899-1-git-send-email-ruchika.gupta@freescale.com> Message-ID: <54C3B3BB.3090404@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 12/10/2014 12:17 AM, Ruchika Gupta wrote: > If CONFIG_OF_CONTROL is enabled, lib/fdtdec.c is compiled. > It includes and then includes > . As a result, all the SoCs that enable > CONFIG_OF_CONTROL must have even if they > do not support GPIO. > > The right fix would be to split the lib/fdtdec.c to remove > dependency on GPIO.This commit adds a dummy > to support OF_CONTROL for LS102x platform. This dummy header > will be removed after FDT-GPIO stuff is fixed correctly. > > Signed-off-by: Ruchika Gupta > --- Applied to u-boot-fsl-qoriq master branch, awaiting upstream. York