From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Wed, 14 Nov 2012 14:08:31 +0100 Subject: [U-Boot] [PATCH v2] mx51evk: Fix build error when CONFIG_VIDEO is disabled In-Reply-To: <1352550532-3178-1-git-send-email-agust@denx.de> References: <4FDF706F.20004@gmail.com> <1352550532-3178-1-git-send-email-agust@denx.de> Message-ID: <20121114140831.5b79cb2c@wker> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, On Sat, 10 Nov 2012 13:28:52 +0100 Anatolij Gustschin wrote: > From: Vikram Narayanan > > The inclusion of LCD patch into mx51evk breaks the build when > CONFIG_VIDEO is disabled. Fix this by splitting the video related > stuff to a new file. > > Also rename the function lcd_iomux to setup_iomux_lcd to make the > namings aligned with the other iomux functions. > > Signed-off-by: Vikram Narayanan > Signed-off-by: Anatolij Gustschin > Cc: Fabio Estevam > Cc: Stefano Babic > --- > Changes in v2: > - rebased on current master > - added common file mx5_video.h for function prorotypes > > arch/arm/include/asm/imx-common/mx5_video.h | 21 +++++++ > board/freescale/mx51evk/Makefile | 4 +- > board/freescale/mx51evk/mx51evk.c | 57 +------------------ > board/freescale/mx51evk/mx51evk_video.c | 81 +++++++++++++++++++++++++++ > 4 files changed, 107 insertions(+), 56 deletions(-) > create mode 100644 arch/arm/include/asm/imx-common/mx5_video.h > create mode 100644 board/freescale/mx51evk/mx51evk_video.c Applied to video/master, thanks! Anatolij