15 May, 2012

1 commit


17 Apr, 2012

2 commits


16 Apr, 2012

2 commits

  • This fixes the issue where mxs_dma_init() was called either twice or never,
    without introducing any new init hooks.

    The idea is to allow each and every device using the APBH DMA block to
    configure and request only the channels it uses, instead of making it call init
    for all the channels as is now.

    The common DMA block init part, which only configures the block, is then called
    from CPUs arch_cpu_init() call.

    NOTE: This patch depends on:

    http://patchwork.ozlabs.org/patch/150957/

    Signed-off-by: Marek Vasut
    Cc: Stefano Babic
    Cc: Wolfgang Denk
    Cc: Detlev Zundel
    Cc: Fabio Estevam
    Tested-by: Fabio Estevam

    Marek Vasut
     
  • Misaligned warnings are useful to debug faulty drivers.
    A misaligned warning is printed also when the driver
    is correct - use debug() instead of printf().

    Signed-off-by: Stefano Babic
    CC: Albert Aribaud
    CC: Mike Frysinger
    CC: Marek Vasut
    Acked-by: Marek Vasut

    Stefano Babic
     

30 Mar, 2012

1 commit

  • Each cpu directory currently has its own .lds file. This is only needed
    in most cases because the start.o file is in a different subdir.

    Now that we can factor out this difference, we can move most cpus over
    to the common .lds file.

    Signed-off-by: Simon Glass

    Simon Glass
     

29 Mar, 2012

3 commits


27 Mar, 2012

7 commits


13 Mar, 2012

1 commit


07 Mar, 2012

2 commits

  • Boards can select either the 'built-in' parser or the hush parser. We
    should not call builtin_run_command() if we are using the hush parser.
    We use run_command() instead, since it knows how to call the correct
    parser.

    Signed-off-by: Simon Glass
    Acked-by: Mike Frysinger

    Simon Glass
     
  • The current run_command() is only one of the parsing options - the other
    is hush. We should not call run_command() when the hush parser is being
    used. So we rename this function to better explain its purpose.

    Signed-off-by: Simon Glass
    Acked-by: Mike Frysinger

    Simon Glass
     

28 Feb, 2012

6 commits

  • In commit 2d575e46859dd9127a9cec731ace77523e6ea2ab a separate header
    file was introduced for the DM6467T EVM, include/configs/davinci_dm6467Tevm.h.
    The substantial difference between the davinci_dm6467evm and the
    davinci_dm6467Tevm configuration is a single bit in the hardware revision
    that is passed to the Linux kernel and davinci_dm6467evm has
    REFCLK_FREQ = 27000000 where as davinci_dm6467Tevm.h has a
    REFCLK_FREQ = 33000000.

    This patch removes include/configs/davinci_dm6467Tevm.h. Instead the
    include/configs/davinci_dm6467evm.h configuration is used for DM6467T EVMs and
    renamed CFG_REFCLK_FREQ to CONFIG_REFCLK_FREQ and CONFIG_REFCLK_FREQ is defined
    in boards.cfg.

    Signed-off-by: Prabhakar Lad
    Cc: Tom Rini

    prabhakar.csengg@gmail.com
     
  • check for the return status for eth_getenv_enetaddr_by_index()
    and eth_setenv_enetaddr() functions and print appropriate message
    on failure.

    Signed-off-by: Manjunath Hadli
    Cc: Tom Rini
    Cc: Mike Frysinger
    Cc: Wolfgang Denk
    Acked-by: Mike Frysinger

    Hadli, Manjunath
     
  • Signed-off-by: Stefano Babic

    Stefano Babic
     
  • Signed-off-by: Marek Vasut
    Cc: Wolfgang Denk
    Cc: Detlev Zundel
    Cc: Stefano Babic
    Cc: Fabio Estevam

    Marek Vasut
     
  • This patch fixes booting i.MX28 CPUs via USB download.
    In this mode the CPU's bootrom implements a USB HID device that
    accepts a bootstream.

    When downloading the bootstream via USB, first the SPL code is
    received and executed. Then the u-boot image is received and
    called.

    The USB bootmode is interrupt driven.

    This patch fixes two things:

    1) The ARM's fast interrupt mode is disabled when the SPL code
    has been run. So save and restore the CPSR register.

    2) Save and restore c1 control register: the exception vector
    location needs to be set back to bootrom space to make the USB
    interrupts work again. The SPL code needs to change this
    option for the ram size probing.

    Signed-off-by: Matthias Fuchs
    Acked-by: Marek Vasut

    Matthias Fuchs
     
  • The DC power STS shouldn't be checked if booting off 5V supply.

    Signed-off-by: Marek Vasut
    Cc: Wolfgang Denk
    Cc: Detlev Zundel
    Cc: Stefano Babic
    Cc: Robert Deliën
    Cc: Fabio Estevam
    Cc: Matthias Fuchs

    Marek Vasut
     

12 Feb, 2012

14 commits

  • This patch moves hawkboard to the new spl infrastructure from the
    older nand_spl one.

    Removed the hawkboard_nand_config build option -- The spl code now
    gets compiled with hawkboard_config, after building the main u-boot
    image, using the CONFIG_SPL_TEXT_BASE. Modified the README.hawkboard
    to reflect the same.

    Signed-off-by: Sughosh Ganu
    Signed-off-by: Heiko Schocher
    Cc: Heiko Schocher
    Cc: Christian Riesch
    Cc: Sudhakar Rajashekhara
    Cc: Tom Rini
    Acked-by: Christian Riesch

    Sughosh Ganu
     
  • Signed-off-by: Christian Riesch
    Cc: Albert Aribaud
    Cc: Tom Rini
    Acked-by: Heiko Schocher
    Tested-by: Heiko Schocher

    Christian Riesch
     
  • The V bit of the c1 register of CP15 should not be cleared on DA850
    SoCs since they have no valid memory at 0x00000000. This patch
    introduces a configuration option CONFIG_SYS_EXCEPTION_VECTORS_HIGH
    that allows setting the correct value for the V bit.

    Signed-off-by: Christian Riesch
    Reported-by: Sughosh Ganu
    Cc: Albert Aribaud
    Cc: Tom Rini
    Cc: Sughosh Ganu
    Cc: Heiko Schocher

    Christian Riesch
     
  • The current implementation invalidates the data cache before turning it
    off and causes problems on the hawkboard. See the discussion in
    http://lists.denx.de/pipermail/u-boot/2012-January/115212.html

    According to the ARM926EJ-S Technical Reference Manual, the cache should
    be flushed instead.

    Also fix the comments to match code.

    Signed-off-by: Sughosh Ganu

    Rebased and corrected commit message.

    Signed-off-by: Christian Riesch
    Cc: Albert Aribaud
    Cc: Tom Rini
    Acked-by: Heiko Schocher
    Tested-by: Heiko Schocher

    Sughosh Ganu
     
  • This patch reverts commit ca4b55800ed74207c35271bf7335a092d4955416
    "arm, arm926ejs: always do cpu critical inits" since it impacts all
    arm926ejs based configurations and caused problems, e.g., with
    the hawkboard.

    Instead the patch removes the CONFIG_SKIP_LOWLEVEL_INIT defines
    from the board configurations that need low level initialization.

    Signed-off-by: Christian Riesch
    Cc: Albert Aribaud
    Cc: Tom Rini
    Cc: Heiko Schocher
    Acked-by: Heiko Schocher
    Tested-by: Heiko Schocher

    Christian Riesch
     
  • The low level initialization code in
    arch/arm/cpu/arm926ejs/davinci/lowlevel_init.S was written for
    DM644X SoCs only. This patch makes the lowlevel_init function in this
    file a dummy function for SoCs other than DM644X.

    Signed-off-by: Christian Riesch
    Cc: Tom Rini
    Cc: Sergey Kubushyn
    Acked-by: Heiko Schocher
    Tested-by: Heiko Schocher

    Christian Riesch
     
  • add support for printing various clock frequency info found
    in SOC such as ARM core frequency, DSP core frequency and DDR
    frequency as part of bdinfo command.

    Signed-off-by: Manjunath Hadli
    Cc: Tom Rini

    Hadli, Manjunath
     
  • remove the macro CONFIG_DISPLAY_CPUINFO as it is no longer
    required. This is because clock info will be printed as part
    'bdinfo' command and also remove support print_cpuinfo() as it will
    no longer be called.

    Signed-off-by: Manjunath Hadli
    Cc: Tom Rini

    Hadli, Manjunath
     
  • after http://patchwork.ozlabs.org/patch/136415/ was applied. All Marvell
    build fails with below error

    common/libcommon.o: In function `cread_line':
    /home/uboot/src/u-boot-arm/common/main.c:717: undefined reference to `get_ticks'
    /home/uboot/src/u-boot-arm/common/main.c:717: undefined reference to `get_tbclk'
    /home/uboot/src/u-boot-arm/common/main.c:720: undefined reference to `get_ticks'

    The same is fixed for Kirkwood, ARMADA100, pantheon and orion5x SoCs

    Signed-off-by: Prafulla Wadaskar

    Prafulla Wadaskar
     
  • The decompressor expects the L2 cache to be disabled. This fixes booting
    some kernels, which have CONFIG_ARM_PATCH_PHYS_VIRT enabled.

    Signed-off-by: Michael Walle
    Acked-by: Prafulla Wadaskar
    Cc: Albert ARIBAUD
    Cc: Prafulla Wadaskar
    Cc: Wolfgang Denk

    Michael Walle
     
  • Showing CPU frequency during boot is useful information.

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

    Fabio Estevam
     
  • This patch modifies mxcmmc.c to be used
    not only by i.MX27 but also by i.MX31 boards.
    Both use the same SD controller, but have different
    clock set-ups.
    The i.MX27 imx_get_XXXclock functions are made static to
    generic.c and a public mxc_get_clock() function
    is provided. Pins, base address and prototypes for
    an i.MX31 specific board_init_mmc() are provided.
    Some of the i.MX27 clock getters are unused and marked
    as such to avoid warnings (./MAKEALL -s mx27), but
    the code was left in for future use.

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

    Helmut Raiger
     
  • The Buffer Logic of VPSS is Not Reset by System Reset Pin, see
    http://www.ti.com/lit/er/sprz316b/sprz316b.pdf chapter Advisory 1.2.1
    on page 9. Add workaroundcode proposed in the errata.

    Signed-off-by: Heiko Schocher
    Cc: Sandeep Paulraj
    Cc: Tom Rini

    Heiko Schocher
     
  • The OMAP-L138 has a pre-divider available on PLL0.

    Add support to da850_lowlevel.c for configuring PLL0's pre-divider. This is
    to achieve certain OPP's -- e.g. the 372MHz OPP used also by Linux.

    Signed-off-by: Ben Gardiner
    Cc: Christian Riesch
    CC: Heiko Schocher
    Cc: Sandeep Paulraj
    Cc: Tom Rini
    Cc: Albert ARIBAUD
    Acked-by: Heiko Schocher
    Acked-by: Christian Riesch

    Ben Gardiner
     

16 Jan, 2012

1 commit

  • There are 2 locations in the power init code for the mx28 where IRQs are not being cleared because incorrect methods to clear those bits were being used. This was causing my board to get stuck waiting for POWER_CTRL_VDD5V_DROOP_IRQ to clear. Using the correct method to clear the IRQs fixes it.

    Signed-off-by: Zach Sadecki
    Cc: Wolfgang Denk
    Cc: Stefano Babic
    Acked-by: Marek Vasut

    Zach Sadecki