Skip to content
Snippets Groups Projects
  1. Apr 01, 2013
    • York Sun's avatar
      Consolidate bool type · 472d5460
      York Sun authored
      
      'bool' is defined in random places. This patch consolidates them into a
      single header file include/linux/types.h, using stdbool.h introduced in C99.
      
      All other #define, typedef and enum are removed. They are all consistent with
      true = 1, false = 0.
      
      Replace FALSE, False with false. Replace TRUE, True with true.
      Skip *.py, *.php, lib/* files.
      
      Signed-off-by: default avatarYork Sun <yorksun@freescale.com>
      472d5460
  2. Mar 29, 2013
  3. Mar 27, 2013
  4. Mar 25, 2013
  5. Mar 24, 2013
  6. Mar 22, 2013
  7. Mar 21, 2013
    • 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
    • Jeroen Hofstee's avatar
      lcd, pxafb: move the pxafb to drivers/video · 0698095a
      Jeroen Hofstee authored
      
      Since the lcd code was compiled unconditionally for pxa also add
      CONFIG_PXA_LCD to the boards using this framebuffer. Since
      driver/video contains video and lcd drivers, add lcd to the name
      to make clear it belongs to common/lcd.c.
      
      cc: Anatolij Gustschin <agust@denx.de>
      cc: Cliff Brake <cliff.brake@gmail.com>
      cc: Marek Vasut <marek.vasut@gmail.com>
      Acked-by: default avatarMarek Vasut <marex@denx.de>
      Signed-off-by: default avatarJeroen Hofstee <jeroen@myspectrum.nl>
      0698095a
    • Jeroen Hofstee's avatar
      lcd, mpc8xx: move the mpc8xx driver to drivers/video · 59155f4c
      Jeroen Hofstee authored
      
      Since the lcd code was compiled unconditionally in arch also
      add CONFIG_MPC8XX_LCD to the boards using this driver.
      
      cc: Anatolij Gustschin <agust@denx.de>
      cc: Wolfgang Denk <wd@denx.de>
      Signed-off-by: default avatarJeroen Hofstee <jeroen@myspectrum.nl>
      59155f4c
    • 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
  8. Mar 20, 2013
    • Stephen Warren's avatar
      ARM: rpi_b: enable SD controller, add related env/cmds · 131a1e60
      Stephen Warren authored
      
      Enable the SD controller driver for the Raspberry Pi. Enable a number
      of useful MMC, partition, and filesystem-related commands. Set up the
      environment to provide standard locations for loading a kernel, DTB,
      etc. Provide a boot command that loads and executes boot.scr.uimg from
      the SD card; this is written considering future extensibilty to USB
      storage.
      
      Signed-off-by: default avatarStephen Warren <swarren@wwwdotorg.org>
      131a1e60
    • Stephen Warren's avatar
      video: add a driver for the bcm2835 · 6be3c9fc
      Stephen Warren authored
      
      The firmware running on the bcm2835 SoC's VideoCore CPU manages the
      display controller. Add a simple "LCD" driver that communicates with the
      firmware using the property mailbox protocol. This configures the
      display and frame-buffer to match whatever physical resolution the
      firmware chosen when booting, which is typically the native resolution
      of the attached display device, presumably unless otherwise specified
      in config.txt on the boot media.
      
      Enable this driver in the Raspberry Pi board configuration.
      
      Signed-off-by: default avatarStephen Warren <swarren@wwwdotorg.org>
      Acked-by: default avatarAnatolij Gustschin <agust@denx.de>
      6be3c9fc
    • Stephen Warren's avatar
      ARM: rpi_b: disable rpi_b dcache explicitly · 38baa4f6
      Stephen Warren authored
      
      There appears to be no implementation of flush_dcache_range() for
      ARM1176, so explicitly disable dcache support to avoid references to
      that function from the LCD core in the next patch. This was presumably
      not noticed before simply because no drivers for the rpi_b were
      attempting DMA.
      
      Signed-off-by: default avatarStephen Warren <swarren@wwwdotorg.org>
      38baa4f6
  9. Mar 19, 2013
  10. Mar 18, 2013
Loading