Skip to content
Snippets Groups Projects
  1. Jan 10, 2015
  2. Dec 08, 2014
  3. Nov 25, 2014
  4. Nov 23, 2014
  5. Nov 12, 2014
  6. Oct 29, 2014
    • Georges Savoundararadj's avatar
      kconfig: arm: introduce symbol for ARM CPUs · 2e07c249
      Georges Savoundararadj authored
      
      This commit introduces a Kconfig symbol for each ARM CPU:
      CPU_ARM720T, CPU_ARM920T, CPU_ARM926EJS, CPU_ARM946ES, CPU_ARM1136,
      CPU_ARM1176, CPU_V7, CPU_PXA, CPU_SA1100.
      Also, it adds the CPU feature Kconfig symbol HAS_VBAR which is selected
      for CPU_ARM1176 and CPU_V7.
      
      For each target, the corresponding CPU is selected and the definition of
      SYS_CPU in the corresponding Kconfig file is removed.
      
      Also, it removes redundant "string" type in some Kconfig files.
      
      Signed-off-by: default avatarGeorges Savoundararadj <savoundg@gmail.com>
      Acked-by: default avatarAlbert ARIBAUD <albert.u.boot@aribaud.net>
      Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
      2e07c249
  7. Oct 16, 2014
  8. Aug 11, 2014
  9. Aug 10, 2014
  10. Jul 23, 2014
    • Simon Glass's avatar
      stdio: Pass device pointer to stdio methods · 709ea543
      Simon Glass authored
      
      At present stdio device functions do not get any clue as to which stdio
      device is being acted on. Some implementations go to great lengths to work
      around this, such as defining a whole separate set of functions for each
      possible device.
      
      For driver model we need to associate a stdio_dev with a device. It doesn't
      seem possible to continue with this work-around approach.
      
      Instead, add a stdio_dev pointer to each of the stdio member functions.
      
      Note: The serial drivers have the same problem, but it is not strictly
      necessary to fix that to get driver model running. Also, if we convert
      serial over to driver model the problem will go away.
      
      Code size increases by 244 bytes for Thumb2 and 428 for PowerPC.
      
      22: stdio: Pass device pointer to stdio methods
             arm: (for 2/2 boards)  all +244.0  bss -4.0  text +248.0
         powerpc: (for 1/1 boards)  all +428.0  text +428.0
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      Acked-by: default avatarMarek Vasut <marex@denx.de>
      Reviewed-by: default avatarMarek Vasut <marex@denx.de>
      709ea543
  11. Mar 18, 2014
  12. Feb 03, 2014
  13. Nov 12, 2013
    • Anatolij Gustschin's avatar
      lcd: allow overriding lcd_get_size() · cefa4717
      Anatolij Gustschin authored
      
      Remove the redundant lcd_line_length initialisation which
      sneaked in when an earlier version of the patch of commit
      6d330719 has been rebased.
      
      Some lcd drivers need to setup lcd_line_length not from the
      panel_info parameters but by different means. Make the
      lcd_get_size() weak to allow setting lcd_line_length in
      a driver specific way.
      
      Signed-off-by: default avatarAnatolij Gustschin <agust@denx.de>
      Cc: Stephen Warren <swarren@wwwdotorg.org>
      cefa4717
  14. Oct 14, 2013
  15. Aug 12, 2013
  16. Jul 24, 2013
  17. Jul 08, 2013
  18. Jul 01, 2013
  19. Jun 05, 2013
    • Stephen Warren's avatar
      lcd: add functions to set up simplefb device tree · 6a195d2d
      Stephen Warren authored
      
      simple-framebuffer is a new device tree binding that describes a pre-
      configured frame-buffer memory region and its format. The Linux kernel
      contains a driver that supports this binding. Implement functions to
      create a DT node (or fill in an existing node) with parameters that
      describe the framebuffer format that U-Boot is using.
      
      This will be immediately used by the Raspberry Pi board in U-Boot, and
      likely will be used by the Samsung ARM ChromeBook support soon too. It
      could well be used by many other boards (e.g. Tegra boards with built-in
      LCD panels, which aren't yet supported by the Linux kernel).
      
      Signed-off-by: default avatarStephen Warren <swarren@wwwdotorg.org>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      6a195d2d
  20. Mar 29, 2013
  21. Mar 21, 2013
    • Andre Renaud's avatar
      Fix bitmap offsets for non 8-bit LCDs · 317461c1
      Andre Renaud authored
      
      Currently bitmap logos don't interpret the X coordinate
      correctly if the bpp is anything other than 8.
      
      Signed-off-by: default avatarAndre Renaud <andre@bluewatersys.com>
      317461c1
    • Jeroen Hofstee's avatar
      common/lcd.c: move the macro's to the c file · a5796c51
      Jeroen Hofstee authored
      
      Hide the console macros since some reference global data which is
      no longer present.
      
      cc: Anatolij Gustschin <agust@denx.de>
      Signed-off-by: default avatarJeroen Hofstee <jeroen@myspectrum.nl>
      a5796c51
    • Jeroen Hofstee's avatar
      common/lcd: cosmetic: clean up a bit · 6b035141
      Jeroen Hofstee authored
      
       - Make the brackets of the function calls more consistent
       - Remove really unnecessary brackets
       - Removes the extern from the function definitions
       - Remove curly brackets from single line statements
       - Remove lcd_setmem proto since it is already in common.h
       - Cleanup comments, remove useless comments
       - Remove NOT_USED_SO_FAR ifdef
       - Cleanup coding style
      
      cc: Anatolij Gustschin <agust@denx.de>
      Signed-off-by: default avatarJeroen Hofstee <jeroen@myspectrum.nl>
      [agust: rebased the original patch]
      Signed-off-by: default avatarAnatolij Gustschin <agust@denx.de>
      6b035141
    • Jeroen Hofstee's avatar
      common/lcd.c: remove global lcd_base · 00a0ca59
      Jeroen Hofstee authored
      
      lcd_base is available as gd->fb_base as well, there is no need
      to keep a seperate copy.
      
      For completeness the ack of Bo Shen is for the atmel part.
      Cc: Alessandro Rubini <rubini@unipv.it>
      Cc: Anatolij Gustschin <agust@denx.de>
      Cc: Bo Shen <voice.shen@atmel.com>
      Cc: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
      Cc: Kyungmin Park <kyungmin.park@samsung.com>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Minkyu Kang <mk7.kang@samsung.com>
      Cc: Nikita Kiryanov <nikita@compulab.co.il>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Stelian Pop <stelian@popies.net>
      Cc: Tom Warren <twarren@nvidia.com>
      Acked-by: default avatarBo Shen <voice.shen@atmel.com>
      Signed-off-by: default avatarJeroen Hofstee <jeroen@myspectrum.nl>
      [agust: also fix cm_t35 board while rebasing]
      Signed-off-by: default avatarAnatolij Gustschin <agust@denx.de>
      00a0ca59
    • Jeroen Hofstee's avatar
      common/lcd.c: cleanup use of global variables · f1d205a1
      Jeroen Hofstee authored
      
      console_col, console_row, lcd_line_length, lcd_console_address had
      to be declared in board / driver specific code, but were not actually
      used there on many boards. Get rid of the global variables.
      
      for completeness, the ack of Bo Shen is for the atmel part
      Cc: Alessandro Rubini <rubini@unipv.it>
      Cc: Anatolij Gustschin <agust@denx.de>
      Cc: Bo Shen <voice.shen@atmel.com>
      Cc: Kyungmin Park <kyungmin.park@samsung.com>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Minkyu Kang <mk7.kang@samsung.com>
      Cc: Nikita Kiryanov <nikita@compulab.co.il>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Stelian Pop <stelian@popies.net>
      Cc: Tom Warren <twarren@nvidia.com>
      Acked-by: default avatarBo Shen <voice.shen@atmel.com>
      Signed-off-by: default avatarJeroen Hofstee <jeroen@myspectrum.nl>
      [agust: rebased and fixed cm_t35 board]
      Signed-off-by: default avatarAnatolij Gustschin <agust@denx.de>
      f1d205a1
    • Wolfgang Denk's avatar
      common/lcd.c: cleanup use of global variables · 46d1d5dd
      Wolfgang Denk authored
      
      lcd_color_fg and lcd_color_bg had to be declared in board specific
      code, but were not actually used there; in addition, we have getter /
      setter functions for these, which were not used either.
      
      Get rid of the global variables, and use the getter function where
      needed (so far no setter calls are needed).
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Cc: Alessandro Rubini <rubini@unipv.it>
      Cc: Anatolij Gustschin <agust@denx.de>
      Cc: Bo Shen <voice.shen@atmel.com>
      Cc: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
      Cc: Kyungmin Park <kyungmin.park@samsung.com>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Minkyu Kang <mk7.kang@samsung.com>
      Cc: Nikita Kiryanov <nikita@compulab.co.il>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Stelian Pop <stelian@popies.net>
      Cc: Tom Warren <twarren@nvidia.com>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      Acked-by: default avatarJeroen Hofstee <jeroen@myspectrum.nl>
      [agust: also fixed cm_t35 board while rebasing]
      Signed-off-by: default avatarAnatolij Gustschin <agust@denx.de>
      46d1d5dd
  22. Mar 20, 2013
    • Stephen Warren's avatar
      lcd: calculate line_length after lcd_ctrl_init() · 6d330719
      Stephen Warren authored
      
      When an LCD driver is actually driving a regular external display, e.g.
      an HDMI monitor, the display resolution might not be known until the
      display controller has initialized, i.e. during lcd_ctrl_init(). However,
      lcd.c calculates lcd_line_length before calling this function, thus
      relying on a hard-coded resolution in struct panel_info.
      
      Instead, defer this calculation until after lcd_ctrl_init() has had the
      chance to dynamically determine the resolution. This needs to happen
      before lcd_clear(), since the value is used there.
      
      grep indicates that no code outside lcd.c uses this lcd_line_length; in
      particular, no lcd_ctrl_init() implementations read it.
      
      Signed-off-by: default avatarStephen Warren <swarren@wwwdotorg.org>
      Acked-by: default avatarAnatolij Gustschin <agust@denx.de>
      6d330719
  23. Mar 11, 2013
  24. Mar 08, 2013
    • Nikita Kiryanov's avatar
      lcd: add option for board specific splash screen preparation · 581bb419
      Nikita Kiryanov authored
      
      Currently there is no logical place to put the code that prepares the
      splash image data. The splash image data should be ready in memory
      before bmp_display() is called, and after the environment is ready
      (since lcd.c looks for the splash image in an address specified by
      the environment variable "splashimage").
      
      Our window of opportunity in board_init_r() is therefore: between
      env_relocate() and bmp_display(), and from the available options
      only the lcd related functions in drv_lcd_init() seem appropriate
      for such lcd oriented code.
      
      Add the option to prepare the splash image data in lcd_logo() right
      before it is sent to be displayed.
      
      Cc: Anatolij Gustschin <agust@denx.de>
      Cc: Jeroen Hofstee <jeroen@myspectrum.nl>
      Signed-off-by: default avatarNikita Kiryanov <nikita@compulab.co.il>
      Signed-off-by: default avatarIgor Grinberg <grinberg@compulab.co.il>
      581bb419
  25. Jan 14, 2013
  26. Nov 19, 2012
  27. Nov 06, 2012
Loading