Skip to content
Snippets Groups Projects
  1. Oct 15, 2012
    • Fabio Estevam's avatar
      mx6q: Add basic support for mx6qsabreauto · 7dd6545d
      Fabio Estevam authored
      
      mx6qsabreauto is a board based on mx6q SoC with the following features:
      - 2GB of DDR3
      - 2 USB ports
      - 1 HDMI output port
      - SPI NOR
      - 2 LVDS LCD ports
      - Gigabit Ethernet
      - Camera
      - eMMC and SD card slot
      - Multichannel Audio
      - CAN
      - SATA
      - NAND
      - PCIE
      - Video Input
      
      Add very basic support for it.
      
      Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
      7dd6545d
    • Fabio Estevam's avatar
      configs: mx6: Add a common config file · bcfc7118
      Fabio Estevam authored
      
      Add a common mx6 config file that can be shared between some mx6 boards.
      
      Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
      bcfc7118
    • Fabio Estevam's avatar
      mx6qsabresd: Add Ethernet support · a0d21fc0
      Fabio Estevam authored
      
      mx6qsabresd has a AR8031 Gigabit PHY.
      
      Add support for it.
      
      Also increase CONFIG_SYS_MALLOC_LEN so that FEC buffer allocation does not fail.
      
      Tested on 1Gbp and 100Mbps networks.
      
      Suggested-by: default avatarKim Phillips <kim.phillips@freescale.com>
      Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
      Acked-by: default avatarKim Phillips <kim.phillips@freescale.com>
      a0d21fc0
    • Fabio Estevam's avatar
      mx6: Add basic support for mx6qsabresd board. · 7891e258
      Fabio Estevam authored
      
      mx6qsabresd is a board based on mx6q SoC with the following features:
      - 1GB of DDR3
      - 1 USB OTG port
      - 1 HDMI output port
      - SPI NOR
      - LVDS panel
      - Gigabit Ethernet
      - Camera Connector
      - eMMC and SD card slot
      - Audio
      
      Add very basic support for it.
      
      Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
      7891e258
    • Stephen Warren's avatar
      tegra: enable CONFIG_CMD_PART · 01ca2865
      Stephen Warren authored
      
      This is extremely likely to be used from the boot.scr that Tegra's default
      bootcmd locates and executes.
      
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      Signed-off-by: default avatarTom Warren <twarren@nvidia.com>
      01ca2865
    • Tom Warren's avatar
      Tegra20: Move some include files to arch-tegra for sharing with Tegra30 · 150c2493
      Tom Warren authored
      
      The move is pretty straight-forward. ap20.h and tegra20.h were renamed to ap.h and tegra.h.
      Some files remain in arch-tegra20 but 'include' a file in 'arch-tegra' with #defines & structs
      that will be common between T20 and T30 HW. HW-specific #defines, etc. stay in the 'arch-tegra20'
      'root' file.
      
      All boards build OK w/MAKEALL -s tegra20. Checkpatch.pl runs clean. Seaboard works OK.
      
      Signed-off-by: default avatarTom Warren <twarren@nvidia.com>
      150c2493
    • Thierry Reding's avatar
      tegra: Rename Medcom to Medcom-Wide · 66b796a5
      Thierry Reding authored
      
      Medcom is the marketing name for an older, PXA-based version of the same
      device. In order to avoid confusion, rename the Tegra-based version to
      the new marketing name.
      
      Signed-off-by: default avatarThierry Reding <thierry.reding@avionic-design.de>
      Acked-by: default avatarStephen Warren <swarren@nvidia.com>
      Signed-off-by: default avatarTom Warren <twarren@nvidia.com>
      66b796a5
    • Simon Glass's avatar
      input: Allow key ghosting filter to be disabled · 71dc6bca
      Simon Glass authored
      
      Some keyboards will not need a key ghosting filter, so make this feature
      optional.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      71dc6bca
    • Simon Glass's avatar
      input: Separate out keyboard repeat/delay from init · 1b1d3e64
      Simon Glass authored
      
      It is inconvenient to have to specify the keyboard repeat and delay at
      init time if it is not yet available, so move this into a separate
      function.
      
      Some drivers will want to do this when their keyboard init routine
      is actually called.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      1b1d3e64
    • Pavel Herrmann's avatar
      sata.h: Make all sata/ata drivers include <sata.h> · e46a4350
      Pavel Herrmann authored
      
      - block_dev_desc_t says that block_(read|write) take lbaint_t for blkcnt
        not ulong.
      - We also move the extern of sata_dev_desc into <sata.h>
      - Remove now duplicate declarations from driver-specific headers.
      
      Signed-off-by: default avatarTom Rini <trini@ti.com>
      Signed-off-by: default avatarPavel Herrmann <morpheus.ibis@gmail.com>
      e46a4350
    • Tom Rini's avatar
      ide.h: Make ide_(read|write) match block_dev_desc_t block_(read|write) · 4ac8f8e0
      Tom Rini authored
      
      block_dev_desc_t says that block_(read|write) take lbaint_t for blkcnt
      not ulong
      
      Signed-off-by: default avatarTom Rini <trini@ti.com>
      4ac8f8e0
    • Lukasz Dalek's avatar
      usb.h: Add udc_disconnect prototype to usb.h · e5f24753
      Lukasz Dalek authored
      
      PXA25x gadget implements common function usb_disconnect().
      This patch adds this function prototype into usb.h for boards using it.
      
      Signed-off-by: default avatarLukasz Dalek <luk0104@gmail.com>
      e5f24753
    • Lucas Stach's avatar
      usb: ulpi: add indicator configuration function · 141288b3
      Lucas Stach authored
      
      Allows for easy configuration of the VBUS indicator related ULPI
      config bits.
      
      Also move the external indicator setup from ulpi_set_vbus() to
      the new function.
      
      Signed-off-by: default avatarLucas Stach <dev@lynxeye.de>
      Acked-by: default avatarIgor Grinberg <grinberg@compulab.co.il>
      141288b3
    • Lucas Stach's avatar
      usb: lowlevel interface change to support multiple controllers · c7e3b2b5
      Lucas Stach authored
      
      Carry an index in the lowlevel usb functions to make specify the
      respective usb controller.
      
      Also pass through an controller struct from lowlevel_init to the
      creation of the root usb device of this controller.
      
      Signed-off-by: default avatarLucas Stach <dev@lynxeye.de>
      Reviewed-by: default avatarMarek Vasut <marex@denx.de>
      c7e3b2b5
    • Stefan Roese's avatar
      ppc4xx: Remove AP1000 board support · a821d08d
      Stefan Roese authored
      
      As the board seems to be unmaintained for some time, lets remove
      the support in mainline completely.
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: James MacAulay <james.macaulay@amirix.com>
      Acked-by: default avatarMarek Vasut <marex@denx.de>
      a821d08d
    • Stefan Roese's avatar
      ppc4xx: Remove ML2 board support · dee9c534
      Stefan Roese authored
      
      As the board seems to be unmaintained for some time, lets remove
      the support in mainline completely.
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Peter De Schrijver <p2@mind.be>
      Acked-by: default avatarMarek Vasut <marex@denx.de>
      dee9c534
    • Stefan Roese's avatar
      ppc4xx: Remove IOP480 support · 99bcad18
      Stefan Roese authored
      
      Since the IOP480 (PPC401/3 variant from PLX) is only used on 2
      boards that are not actively maintained, lets remove support
      for it completely. This way the ppc4xx code will get a bit cleaner.
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Acked-by: default avatarMatthias Fuchs <matthias.fuchs@esd.eu>
      Acked-by: default avatarMarek Vasut <marex@denx.de>
      99bcad18
    • Marek Vasut's avatar
      serial: Remove CONFIG_SERIAL_MULTI from remaining sources · 036036d7
      Marek Vasut authored
      
      Remove the parts depending either on disabled CONFIG_SERIAL_MULTI
      or ifdefs around CONFIG_SERIAL_MULTI parts since CONFIG_SERIAL_MULTI
      is now enabled by default.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Anatolij Gustschin <agust@denx.de>
      Cc: Stefan Roese <sr@denx.de>
      036036d7
    • Marek Vasut's avatar
      serial: Remove CONFIG_SERIAL_MULTI from config files · bffe31c1
      Marek Vasut authored
      
      Remove any notion of CONFIG_SERIAL_MULTI from board config files.
      Since CONFIG_SERIAL_MULTI is now enabled by default, it is useless
      to specify this config option in the board config files. Therefore
      remove it.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Anatolij Gustschin <agust@denx.de>
      Cc: Stefan Roese <sr@denx.de>
      Signed-off-by: default avatarTom Rini <trini@ti.com>
      bffe31c1
    • Marek Vasut's avatar
      serial: bfin: Flip the jtag serial console to CONFIG_SERIAL_MULTI · 41651cab
      Marek Vasut authored
      
      Rework the emulation of serial console via JTAG from simple ad-hoc
      implementation of serial port routines to CONFIG_SERIAL_MULTI and
      enable CONFIG_SERIAL_MULTI unconditionally for blackfin.
      
      In order for the JTAG serial console to take precedence over all
      other serial ports available in system, implement override for
      default_serial_console call returning this JTAG serial console.
      
      This brings in a bit of a growth of size, but eventually will allow
      us to unconditionally enable CONFIG_SERIAL_MULTI throughout the whole
      U-Boot and maintain only one serial subsystem.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Mike Frysinger <vapier@gentoo.org>
      41651cab
    • Marek Vasut's avatar
      serial: zoom2: Remove zoom2 serial prototypes from serial.h · 425101e1
      Marek Vasut authored
      
      Remove the prototypes for zoom2_serial_deviceN from serial.h . This
      can't be done right away, as they are referenced from the zoom2
      config file. Therefore, adjust the code so the config file only
      specifies number of the port. Then, replace the simple return in
      default_serial_console() with a switch across possible values, which
      returns the zoom2_serial_deviceN . With such adjustment in place,
      the exported prototypes in serial.h can be safely removed.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      425101e1
    • Marek Vasut's avatar
      serial: bfin: Adjust serial_register_bfin_uart() · 5ae1de0d
      Marek Vasut authored
      
      Rename the serial_register_bfin_uart() to bfin_initialize_serial()
      to be consistent with the rest of the naming. Next, remove it's
      prototype from serial.h and properly insert it into serial.c as
      the rest of the serial initialization functions.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Mike Frysinger <vapier@gentoo.org>
      5ae1de0d
    • Marek Vasut's avatar
      serial: bfin: Remove the bfin_serialN_device exports from serial.h · c513d7e5
      Marek Vasut authored
      
      Remove the exports from serial.h as they are only used in the blackfin
      serial driver. Furthermore, they are only used for registration, which
      is handled already inside that driver and default_serial_port() call,
      which is also handled in that driver.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Mike Frysinger <vapier@gentoo.org>
      c513d7e5
    • Marek Vasut's avatar
      serial: ns16550: Move serial registration from serial_initialize() · abc0ed8d
      Marek Vasut authored
      
      Move the registration of eserialN_device ports from default
      serial_initialize() into driver specific function called from
      serial_initialize(). This slims down the serial_initialize() call
      to a bare tracker of all possible serial port registration routines
      in U-Boot.
      
      The newly implemented ns16550_serial_initialize() function, which is
      implemented inside of the ns16550 serial driver allows encapsulation
      of eserialN_device within the ns16550 serial driver itself.
      
      Also, remove the exports of eserialN_device from include/serial.h
      as they are no longer needed. This is simply because the implementation of
      default_serial_console() is wrapped into the ns16550 serial driver and
      the default console is picked by CONFIG_SERIAL<N> macro in config file.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Anatolij Gustschin <agust@denx.de>
      Cc: Stefan Roese <sr@denx.de>
      Cc: Mike Frysinger <vapier@gentoo.org>
      Cc: Michal Simek <monstr@monstr.eu>
      abc0ed8d
    • Marek Vasut's avatar
      serial: mpc512x: Move serial registration from serial_initialize() · 918327c8
      Marek Vasut authored
      
      Move the registration of serialN_device ports from default
      serial_initialize() into driver specific function called from
      serial_initialize(). This slims down the serial_initialize() call
      to a bare tracker of all possible serial port registration routines
      in U-Boot.
      
      The newly implemented mpc512x_serial_initialize() function, which is
      implemented inside of the mpc512x serial driver allows encapsulation
      of serialN_device within the mpc512x serial driver itself.
      
      Also, remove the exports of serialN_device from include/serial.h
      as they are no longer needed. This is simply because the implementation of
      default_serial_console() is wrapped into the mpx512x serial driver and
      the default console is picked by CONFIG_SERIAL<N> macro in config file.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Anatolij Gustschin <agust@denx.de>
      Cc: Stefan Roese <sr@denx.de>
      918327c8
    • Marek Vasut's avatar
      serial: microblaze: Move serial registration from serial_initialize() · 87d69229
      Marek Vasut authored
      
      Move the registration of xuartlite_serialN_device ports from
      default serial_initialize() into driver specific function called from
      serial_initialize(). This slims down the serial_initialize() call
      to a bare tracker of all possible serial port registration routines
      in U-Boot.
      
      The newly implemented xuartlite_serial_initialize() function, which is
      implemented inside of the serial_xuartlite driver allows encapsulation
      of xuartlite_serialN_device within the serial_xuartlite driver itself.
      
      Also, remove the exports of xuartlite_serialN_device from include/serial.h
      as they are no longer needed. This is simply because the implementation of
      default_serial_console() is wrapped into the serial_xuartlite driver and
      the default console is picked by CONFIG_SERIAL<N> macro in config file.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Michal Simek <monstr@monstr.eu>
      87d69229
    • Tom Rini's avatar
      serial: zynq: Move serial registration from serial_initialize() · 51d8102f
      Tom Rini authored
      
      Move the registration of zynq_serialN_device ports from default
      serial_initialize() into driver specific function called from
      serial_initialize(). This slims down the serial_initialize() call
      to a bare tracker of all possible serial port registration routines
      in U-Boot.
      
      The newly implemented zynq_serial_initialize() function, which is
      implemented inside of the serial_zynq driver allows encapsulation
      of zynq_serialN_device within the serial_zynq driver itself.
      
      Also, remove the exports of zynq_serialN_device from include/serial.h
      as they are no longer needed. This is simply because the implementation of
      default_serial_console() is wrapped into the serial_zynq driver and
      the default console is picked by CONFIG_SERIAL<N> macro in config file.
      
      Signed-off-by: default avatarTom Rini <trini@ti.com>
      51d8102f
    • Marek Vasut's avatar
      serial: s5p: Move serial registration from serial_initialize() · b4980515
      Marek Vasut authored
      
      Move the registration of s5p_serialN_device ports from default
      serial_initialize() into driver specific function called from
      serial_initialize(). This slims down the serial_initialize() call
      to a bare tracker of all possible serial port registration routines
      in U-Boot.
      
      The newly implemented s5p_serial_initialize() function, which is
      implemented inside of the serial_s5p driver allows encapsulation
      of s5p_serialN_device within the serial_s5p driver itself.
      
      Also, remove the exports of s5p_serialN_device from include/serial.h
      as they are no longer needed. This is simply because the implementation of
      default_serial_console() is wrapped into the serial_s5p driver and
      the default console is picked by CONFIG_SERIAL<N> macro in config file.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Minkyu Kang <mk7.kang@samsung.com>
      b4980515
    • Marek Vasut's avatar
      serial: pxa: Move serial registration from serial_initialize() · 1fe5c110
      Marek Vasut authored
      
      Move the registration of serial_XXuart ports from default
      serial_initialize() into driver specific function called from
      serial_initialize(). This slims down the serial_initialize() call
      to a bare tracker of all possible serial port registration routines
      in U-Boot.
      
      The newly implemented pxa_serial_initialize() function, which is
      implemented inside of the serial_pxa driver allows encapsulation
      of serial_XXuart within the serial_pxa driver itself.
      
      Also, remove the exports of serial_XXuart from include/serial.h
      as they are no longer needed. This is simply because the implementation of
      default_serial_console() is wrapped into the serial_pxa driver and
      the default console is picked by CONFIG_CONS_IDX macro in config file.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      1fe5c110
    • Marek Vasut's avatar
      serial: s3c24xx: Move serial registration from serial_initialize() · 28af6385
      Marek Vasut authored
      
      Move the registration of s3c24xx_serialN_device ports from
      default serial_initialize() into driver specific function called from
      serial_initialize(). This slims down the serial_initialize() call
      to a bare tracker of all possible serial port registration routines
      in U-Boot.
      
      The newly implemented s3c24xx_serial_initialize() function, which is
      implemented inside of the serial_s3c24xx driver allows encapsulation
      of s3c24xx_serialN_device within the serial_s3c24xx driver itself.
      
      Also, remove the exports of s3c24xx_serialN_device from include/serial.h
      as they are no longer needed. This is simply because the implementation of
      default_serial_console() is wrapped into the serial_s3c24xx driver and
      the default console is picked by CONFIG_SERIAL<N> macro in config file.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: C Nauman <cnauman@diagraph.com>
      28af6385
    • Marek Vasut's avatar
      serial: mpc512x: Properly define CONFIG_SYS_PSC3 in config files · bfb31279
      Marek Vasut authored
      
      Some of the boards using the mpc512x serial driver didn't properly
      define which PSC console to use. This caused breakage when building
      with CONFIG_SERIAL_MULTI enabled. Fix this by defining the default
      PSC console.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Anatolij Gustschin <agust@denx.de>
      Cc: Stefan Roese <sr@denx.de>
      bfb31279
    • Marek Vasut's avatar
      serial: pxa: Make use of default_serial_console in serial_pxa · ce6971cd
      Marek Vasut authored
      
      Make use of the newly implemented weak default_serial_console in
      the serial_pxa driver. This removes all reimplementations of this
      function from board files.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      ce6971cd
    • Marek Vasut's avatar
      serial: Rename .init() and .uninit() in serial_device · 89143fb3
      Marek Vasut authored
      
      Rename .init() to .start() and .uninit() to .stop() in struct
      serial_device. This allows aligning struct serial_device with
      closer to struct stdio_dev. The real goal here is to allow
      these two structures to converge together and eventually make
      one to be a superset of the other.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Signed-off-by: default avatarTom Rini <trini@ti.com>
      89143fb3
    • Marek Vasut's avatar
      serial: Coding style cleanup of struct serial_device · 78322d63
      Marek Vasut authored
      
      Do a simple cleanup of the struct serial_device and align it with
      current coding style. Checkpatch now reports no errors.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      78322d63
    • Marek Vasut's avatar
      COMMON: Use __stringify() instead of rest of implementations · 51926d5e
      Marek Vasut authored
      
      Fix up the rest of implementations of __stringify().
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Wolfgang Denk <wd@denx.de>
      51926d5e
    • Marek Vasut's avatar
      COMMON: Use __stringify() instead of MK_STR() · 5368c55d
      Marek Vasut authored
      
      Kill multiple occurances and redeclaration of MK_STR
      in favor of __stringify().
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Wolfgang Denk <wd@denx.de>
      Signed-off-by: default avatarTom Rini <trini@ti.com>
      5368c55d
    • Marek Vasut's avatar
      COMMON: Use __stringify() instead of xstr() · 93ea89f0
      Marek Vasut authored
      
      Kill multiple occurances and redeclaration of xstr in favor of __stringify().
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Wolfgang Denk <wd@denx.de>
      93ea89f0
    • Marek Vasut's avatar
      COMMON: Add __stringify() function · 9aed5080
      Marek Vasut authored
      
      Copied from Linux kernel:
      commit 8f7c2c37319a81ef4c2bfdec67b1ccd5744d97e4
      Date:   Wed Apr 8 16:58:57 2009 +0800
      
      Pull in the __stringify() macro from Linux kernel. This macro is usually used to
      convert numbers to strings at preprocessor level, yet it is not limited only to
      that. This is useful as it allows higher usage of puts() in favour of printf().
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Wolfgang Denk <wd@denx.de>
      9aed5080
    • Tom Rini's avatar
      gth2: Remove this platform · 61c0d6ae
      Tom Rini authored
      
      After taking with the former maintainer, delete this platform.  The
      patch is from the former maintainer.
      
      Signed-off-by: default avatarTom Rini <trini@ti.com>
      61c0d6ae
  2. Oct 12, 2012
Loading