24 Sep, 2014

1 commit

  • MXC SPI driver has a feature whereas a GPIO line can be used to force CS high
    across multiple transactions. This is set up by embedding the GPIO information
    in the CS value:

    cs = (cs | gpio << 8)

    This merge of cs and gpio data into one value breaks the sf probe command:
    if the use of gpio is required, invoking "sf probe " will not work, because
    the CS argument doesn't have the GPIO information in it. Instead, the user must
    use "sf probe << 8>". For example, if bank 2 gpio 30 is used to force
    cs high on cs 0, bus 0, then instead of typing "sf probe 0" the user now must
    type "sf probe 15872".

    This is inconsistent with the description of the sf probe command, and forces
    the user to be aware of implementaiton details.

    Fix this by introducing a new board function: board_spi_cs_gpio(), which will
    accept a naked CS value, and provide the driver with the relevant GPIO, if one
    is necessary.

    Cc: Eric Nelson
    Cc: Eric Benard
    Cc: Fabio Estevam
    Cc: Tim Harvey
    Cc: Stefano Babic
    Cc: Tom Rini
    Cc: Marek Vasut
    Reviewed-by: Marek Vasut
    Signed-off-by: Nikita Kiryanov
    Reviewed-by: Jagannadha Sutradharudu Teki

    Nikita Kiryanov
     

05 Nov, 2013

1 commit


15 Oct, 2013

1 commit


24 Jul, 2013

1 commit


10 Dec, 2012

1 commit


19 Nov, 2012

1 commit

  • The mx5 lowlevel_init.S contains board-specific code based on the reference
    design. Let's keep it since it avoids creating new lowlevel_init files and it
    may be used by many boards. But add a config to make it optional in order not to
    cause issues on boards not following this part of the reference design.

    Signed-off-by: Benoît Thébaudeau
    Cc: Stefano Babic
    Cc: Matt Sealey
    Acked-by: Stefano Babic

    Benoît Thébaudeau
     

14 Nov, 2012

1 commit


16 Oct, 2012

1 commit


01 Sep, 2012

2 commits


10 Aug, 2012

1 commit


10 Jul, 2012

2 commits


21 Jun, 2012

2 commits


27 Mar, 2012

1 commit


07 Dec, 2011

1 commit

  • The serial driver for iMX SOCs is continuosly changed if a
    new SOC or not yet used port is used. CONFIG_SYS__
    defines were used only to find the base address for the selected UART.
    Instead of that, move the base address to the board configuration
    file and drop all #ifdef from driver.

    Signed-off-by: Stefano Babic
    CC: Marek Vasut
    CC: Wolfgang Denk
    CC: Fabio Estevam
    CC: Helmut Raiger
    CC: John Rigby
    CC: Matthias Weisser
    CC: Jason Liu
    Acked-by: Jason Liu

    Stefano Babic
     

05 Nov, 2011

1 commit


04 Nov, 2011

2 commits

  • Add the MACH type to the configuration file. Maybe the board
    will be not pushed into linux ML, but it remains compatible
    with older kernels.

    Signed-off-by: Stefano Babic

    Stefano Babic
     
  • Rename mc13783-rtc so that it can be used for both MC13783 and MC13892 PMICs.

    efikamx board, for example, does use a MC13892 PMIC, but the RTC selection is currently made as:

    #define CONFIG_RTC_MC13783

    ,which is not very obvious.

    Let the MC13783 and MC13892 RTC be selected by:

    #define CONFIG_RTC_MC13XXX

    Signed-off-by: Fabio Estevam
    Acked-by: Stefano Babic

    Fabio Estevam
     

28 Oct, 2011

4 commits

  • * 'master' of git://git.denx.de/u-boot-arm:
    ARM: Add Calxeda Highbank platform
    dkb: make mmc command as default enabled
    Marvell: dkb: add mmc support
    ARM: pantheon: add mmc definition
    davinci: remove config.mk file from the sources
    ARM:AM33XX: Add support for TI AM335X EVM
    ARM:AM33XX: Added timer support
    ARM:AM33XX: Add emif/ddr support
    ARM:AM33XX: Add clock definitions
    ARM:AM33XX: Added support for AM33xx
    omap3/emif4: fix registers definition
    davinci: remove obsolete macro CONFIG_EMAC_MDIO_PHY_NUM
    davinci: emac: add support for more than 1 PHYs
    davinci: emac: add new features to autonegotiate for EMAC
    da850evm: Move LPSC configuration to board_early_init_f()
    omap4_panda: Build in cmd_gpio support on panda
    omap: Don't use gpio_free to change direction to input
    mmc: omap: Allow OMAP_HSMMC[23]_BASE to be unset
    OMAP3: overo : Add environment variable optargs to bootargs
    OMAP3: overo: Move ethernet CS4 configuration to execute based on board id
    OMAP3: overo : Use ttyO2 instead of ttyS2.
    da830: add support for NAND boot mode
    dm36x: revert cache disable patch
    dm644X: revert cache disable patch
    devkit8000: Add malloc space
    omap: spl: fix build break due to changes in FAT
    OMAP3 SPL: Provide weak omap_rev_string
    omap: beagle: Use ubifs instead of jffs2 for nand boot
    omap: overo: Disable pull-ups on camera PCLK, HS and VS signals
    omap: overo: Configure mux for gpio10
    SPL: Add DMA library
    omap3: Add interface for omap3 DMA
    omap3: Add DMA register accessors
    omap3: Add Base register for DMA
    arm, davinci: add missing LSPC define for MMC/SD1
    U-Boot/SPL: omap4: Make ddr pre-calculated timings as default.
    DaVinci: correct MDSTAT.STATE mask
    omap4: splitting padconfs into common, 4430 and 4460
    omap4: adding revision detection for 4460 ES1.1
    omap4: replacing OMAP4_CONTROL with OMAP4430_CONTROL
    gplug: fixed build error as a result of code cleanup patch
    kirkwood_spi: add dummy spi_init()
    gpio: mvmfp: reduce include platform file
    ARM: orion5x: reduce dependence of including platform file
    serial: reduce include platform file for marvell chip
    ARM: kirkwood: reduce dependence of including platform file
    ARM: armada100: reduce dependence of including platform file
    ARM: pantheon: reduce dependence of including platform file
    Armada100: Add env storage support for Marvell gplugD
    Armada100: Add SPI flash support for Marvell gplugD
    Armada100: Add SPI support for Marvell gplugD
    SPI: Add SPI driver support for Marvell Armada100
    dreamplug: initial board support.
    imx: fix coding style
    misc: pmic: drop old Freescale's pmic driver
    MX31: mx31pdk: use new pmic driver
    MX31: mx31ads: use new pmic driver
    MX31: mx31_litekit: use new pmic driver
    MX5: mx53evk: use new pmic driver
    MX5: mx51evk: use new pmic driver
    MX35: mx35pdk: use new pmic driver
    misc: pmic: addI2C support to pmic_fsl driver
    misc: pmic: use I2C_SET_BUS in pmic I2C
    MX5: efikamx/efikasb: use new pmic driver
    MX3: qong: use new pmic driver
    RTC: Switch mc13783 to generic pmic code
    MX5: vision2: use new pmic driver
    misc: pmic: Freescale PMIC switches to generic PMIC driver
    misc:pmic:samsung Enable PMIC driver at GONI target
    misc:pmic:max8998 MAX8998 support at a new PMIC driver.
    misc:pmic:core New generic PMIC driver
    mx31pdk: Remove unneeded config
    mx31: provide readable WEIM CS accessor
    MX51: vision2: Set global macros
    I2C: Add i2c_get/set_speed() to mxc_i2c.c
    ARM: Update mach-types
    devkit8000: Add config to enable SPL MMC boot
    devkit8000: protect board_mmc_init
    arm, post: add missing post_time_ms for arm
    cosmetic, post: Codingstyle cleanup
    arm, logbuffer: make it compileclean
    tegra2: Enable MMC for Seaboard
    tegra2: Add more pinmux functions
    tegra2: Rename PIN_ to PINGRP_
    tegra2: Add more clock functions
    tegra2: Clean up board code a little
    tegra2: Rename CLOCK_PLL_ID to CLOCK_ID

    Wolfgang Denk
     
  • This renames BOARD_LATE_INIT to CONFIG_BOARD_LATE_INIT.
    Along the way it removes some leftover

    #define BOARD_LATE_INIT 1

    and adds some basic documentation for board specific
    callbacks in README.

    Signed-off-by: Helmut Raiger
    Acked-by: Stefano Babic

    Helmut Raiger
     
  • Switch to new pmic generic driver.

    Signed-off-by: Stefano Babic

    Stefano Babic
     
  • Adapt vision2 to the current u-boot version. Drop
    own macros to set global data and use the common ones.

    Signed-off-by: Stefano Babic

    Stefano Babic
     

13 Oct, 2011

1 commit

  • The framebuffer driver for MX5 is based on CONFIG_LCD.
    In the current implementation, there is a serious bug
    because the required memory is allocated before
    relocation, but the driver knows only later which is
    the resolution of the display. The patch switches the driver
    to CONFIG_VIDEO and the memory is allocated by the driver itself.

    We also need to switch the vision2 board code and config file
    in the same commit so that this commit will be bisectable.

    Signed-off-by: Stefano Babic
    CC: Anatolij Gustschin
    Tested-by: Stefano Babic
    Signed-off-by: Anatolij Gustschin

    Stefano Babic
     

06 Oct, 2011

1 commit


01 Oct, 2011

1 commit


04 Sep, 2011

1 commit

  • CONFIG_L2_OFF is obsolete after the following commit:

    e47f2db5371047eb9bcd115fee084e6a8a92a239
    armv7: rename cache related CONFIG flags
    Replace the cache related CONFIG flags with more meaningful
    names. Following are the changes:
    CONFIG_L2_OFF -> CONFIG_SYS_L2CACHE_OFF

    Since imx5 does not provide L2 cache operations(Enable/Disable)
    Simply remove CONFIG_L2_OFF and CONFIG_SYS_L2CACHE_OFF

    Signed-off-by: Jason Liu
    Cc:Stefano Babic
    Acked-by: Stefano Babic

    Jason Liu
     

04 Jul, 2011

1 commit

  • Replace the cache related CONFIG flags with more meaningful
    names. Following are the changes:

    CONFIG_L2_OFF -> CONFIG_SYS_L2CACHE_OFF
    CONFIG_SYS_NO_ICACHE -> CONFIG_SYS_ICACHE_OFF
    CONFIG_SYS_NO_DCACHE -> CONFIG_SYS_DCACHE_OFF

    Signed-off-by: Aneesh V
    V2:
    * Changed CONFIG_L2_OFF -> CONFIG_SYS_NO_L2CACHE
    V4:
    * Changed all three flags to the final names suggested as above
    and accordingly changed the commit message

    Aneesh V
     

23 May, 2011

1 commit


13 May, 2011

1 commit


02 Feb, 2011

1 commit


30 Oct, 2010

2 commits

  • For ARM systems, before ELF relocation was introduced,
    CONFIG_SKIP_RELOCATE_UBOOT coul be used to prevent *COPYING* the
    U-Boot image from whereever it was loaded to it's link address
    (CONFIG_SYS_TEXT_BASE). The name was badly chosen, as no relocation
    was performed at all, it was just a memcpy().

    With ELF relocation, this does not work like that any more, and
    related boards need to be fixed anyway. So don't keep this relict any
    longer.

    Signed-off-by: Wolfgang Denk
    Tested-by: Heiko Schocher
    Tested-by: Reinhard Meyer

    Wolfgang Denk
     
  • When this define was introduced, the idea was to provide a soft
    migration path for ARM boards to get adapted to the new relocation
    support. However, other recent changes led to a different
    implementation (ELF relocation), where this no longer works. By now
    CONFIG_SYS_ARM_WITHOUT_RELOC does not only not help any more, but it
    actually hurts because it obfuscates the actual code by sprinkling it
    with lots of dead and non-working debris.

    So let's make a clean cut and drop CONFIG_SYS_ARM_WITHOUT_RELOC.

    Signed-off-by: Wolfgang Denk
    Tested-by: Heiko Schocher
    Tested-by: Reinhard Meyer

    Wolfgang Denk
     

27 Oct, 2010

2 commits

  • CONFIG_SYS_GBL_DATA_SIZE has always been just a bad workarond for not
    being able to use "sizeof(struct global_data)" in assembler files.
    Recent experience has shown that manual synchronization is not
    reliable enough. This patch renames CONFIG_SYS_GBL_DATA_SIZE into
    GENERATED_GBL_DATA_SIZE which gets automatically generated by the
    asm-offsets tool. In the result, all definitions of this value can be
    deleted from the board config files. We have to make sure that all
    files that reference such data include the new file.

    No other changes have been done yet, but it is obvious that similar
    changes / simplifications can be done for other, related macro
    definitions as well.

    Signed-off-by: Wolfgang Denk
    Acked-by: Kumar Gala

    Wolfgang Denk
     
  • CONFIG_SYS_INIT_RAM_END was a misnomer as it suggests this might be
    some end address; to make the meaning more clear we rename it into
    CONFIG_SYS_INIT_RAM_SIZE

    No other code changes are performed in this patch, only minor editing
    of white space (due to the changed length) and the comments was done,
    where noticed.

    Note that the code for the PATI and cmi_mpc5xx board configurations
    looks seriously broken. Last known maintainers on Cc:

    Signed-off-by: Wolfgang Denk
    Cc: Denis Peter
    Cc: Martin Winistoerfer
    Acked-by: Kumar Gala

    Wolfgang Denk
     

22 Oct, 2010

1 commit


18 Oct, 2010

1 commit


07 Oct, 2010

1 commit