From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Sat, 12 Jun 2010 10:35:12 +0200 Subject: [U-Boot] [PATCH v2] video: cfb_console: add weak default video_set_lut() In-Reply-To: <1276330806-7997-1-git-send-email-agust@denx.de> References: <1272740717-8878-1-git-send-email-agust@denx.de> <1276330806-7997-1-git-send-email-agust@denx.de> Message-ID: <20100612103512.33eb2356@wker> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sat, 12 Jun 2010 10:20:06 +0200 Anatolij Gustschin wrote: > Do not enforce drivers to provide empty video_set_lut() > if they do not implement indexed color (8 bpp) frame > buffer support. Add default function to the cfb_console > driver and remove empty video_set_lut() functions. > > Signed-off-by: Anatolij Gustschin > --- > v2: - unfortunately in the first patch video_set_lut() > definition was misplaced and so dependent on > CONFIG_CMD_BMP or CONFIG_SPLASH_SCREEN. Now, > make the function definition unconditional. > > arch/powerpc/cpu/mpc512x/diu.c | 14 -------------- > board/freescale/mpc8610hpcd/mpc8610hpcd_diu.c | 9 --------- > drivers/video/cfb_console.c | 12 ++++++++++++ > drivers/video/sm501.c | 13 ------------- > 4 files changed, 12 insertions(+), 36 deletions(-) Applied to u-boot-video/next. Anatolij