Skip to content
Snippets Groups Projects
  1. Nov 15, 2016
  2. Nov 14, 2016
  3. Nov 13, 2016
    • Stefan Roese's avatar
      video: bmp: Fix compilation errors with CONFIG_BMP_xxBPP enabled · 22bb1a7a
      Stefan Roese authored
      
      Compiling the 'bmp' command with DM and having one of the following macros
      enabled:
      
      CONFIG_BMP_16BPP, CONFIG_BMP_24BPP ONFIG_BMP_32BPP
      
      generates this error:
      
      drivers/video/video_bmp.c: In function ‘video_bmp_display’:
      drivers/video/video_bmp.c:315:22: error: ‘lcd_line_length’ undeclared (first use in this function)
          fb -= width * 2 + lcd_line_length;
                                ^
      
      This patch moves to using the correct variable instead and enables the
      'bmp' command for DM again.
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Anatolij Gustschin <agust@denx.de>
      22bb1a7a
    • Marek Vasut's avatar
      net: write enetaddr down to hardware on env_callback · 73d570a7
      Marek Vasut authored
      
      If mac-address is changed using "setenv ethaddr ...." command the new
      mac-adress also must be written into the responsible ethernet driver.
      This fixes the legacy ethernet handling.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Hannes Schmelzer <oe5hpm@oevsv.at>
      Cc: Joe Hershberger <joe.hershberger@ni.com>
      Cc: Tom Rini <trini@konsulko.com>
      Reviewed-by: default avatarHannes Schmelzer <oe5hpm@oevsv.at>
      73d570a7
Loading