From: Jean-Christophe PLAGNIOL-VILLARD Date: Sun, 26 Oct 2008 12:56:24 +0100 Subject: [U-Boot] [PATCH 5/5] lcd: Let the board code show board-specific info In-Reply-To: <49039C55.2050102@denx.de> References: <1220278882-26029-1-git-send-email-haavard.skinnemoen@atmel.com> <1220278882-26029-2-git-send-email-haavard.skinnemoen@atmel.com> <1220278882-26029-3-git-send-email-haavard.skinnemoen@atmel.com> <1220278882-26029-4-git-send-email-haavard.skinnemoen@atmel.com> <1220278882-26029-5-git-send-email-haavard.skinnemoen@atmel.com> <49039C55.2050102@denx.de> Message-ID: <20081026115624.GA29128@game.jcrosoft.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 00:23 Sun 26 Oct , Anatolij Gustschin wrote: > Haavard Skinnemoen wrote: > > The information displayed when CONFIG_LCD_INFO is set is inherently > > board-specific, so it should be done by the board code. The current code > > dealing with this only handles two cases, and is already a horrible mess > > of #ifdeffery. > > > > Yes, this duplicates some code, but it also allows boards to print more > > board-specific information; this used to be very difficult. > > > > Signed-off-by: Haavard Skinnemoen > > --- > > board/atmel/at91cap9adk/at91cap9adk.c | 29 ++++++++++ > > board/atmel/at91sam9261ek/at91sam9261ek.c | 29 ++++++++++ > > board/atmel/at91sam9263ek/at91sam9263ek.c | 29 ++++++++++ > > board/atmel/at91sam9rlek/at91sam9rlek.c | 29 ++++++++++ > > board/lwmon/lwmon.c | 29 ++++++++++ > > board/tqc/tqm8xx/tqm8xx.c | 26 +++++++++ > > common/lcd.c | 84 ++--------------------------- > > include/lcd.h | 2 + > > 8 files changed, 178 insertions(+), 79 deletions(-) > > Jean-Christophe, you ACKed this patch in > http://lists.denx.de/pipermail/u-boot/2008-October/042389.html. > > Should it go through u-boot-video repository or do you intend to > pick it up? > > Note that it needs some fixes: > s/CFG_MAX_NAND_DEVICE/CONFIG_SYS_MAX_NAND_DEVICE Apply it I'll pull your tree when you've done Best Regards, J.