15 May, 2012
1 commit
-
This change adds initial support for NXP LPC32x0 SoC series.
Signed-off-by: Vladimir Zapolskiy
Cc: Albert ARIBAUD
Acked-by: Marek Vasut
17 Apr, 2012
2 commits
-
Signed-off-by: Marek Vasut
Cc: Stefano Babic
Cc: Albert ARIBAUD -
We certainly don't want the compiler to reorganise the code for dcache flushing.
Signed-off-by: Marek Vasut
Cc: Stefano Babic
Cc: Albert ARIBAUD
Acked-by: Mike Frysinger
Acked-by: Stefano Babic
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 -
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
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
29 Mar, 2012
3 commits
-
Signed-off-by: Marek Vasut
Cc: Stefano Babic -
Signed-off-by: Marek Vasut
Cc: Stefano Babic
Acked-by: Stefano Babic -
Fix:
common/libcommon.o: In function `cread_line':
/home/ag/git/u-boot/common/main.c:695: undefined reference to `get_ticks'
/home/ag/git/u-boot/common/main.c:695: undefined reference to `get_tbclk'
/home/ag/git/u-boot/common/main.c:698: undefined reference to `get_ticks'Signed-off-by: Anatolij Gustschin
Cc: Alessandro Rubini
Acked-by: Marek Vasut
Acked-by: Alessandro Rubini
27 Mar, 2012
7 commits
-
Instead of compiling the function and using the result as a constant, simply use
the constant.NOTE: This patch works around bug:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52546
Signed-off-by: Marek Vasut
Cc: Stefano Babic
Cc: Tom Rini -
Cut down the VDDIO/VDDA regulator stabilization delays to 500 uS. That should be
enough according to the datasheet and bootlets.Signed-off-by: Marek Vasut
Cc: Wolfgang Denk
Cc: Detlev Zundel
Cc: Stefano Babic
Cc: Robert Deliën
Cc: Fabio Estevam
Cc: Matthias Fuchs -
Enables all fourteen address lines for DRAM
Signed-off-by: Marek Vasut
Acked-by: Marek Vasut
Tested-by: Marek Vasut -
This patch fixes erroneous 32-bit access to registers
hw_clkctrl_frac0 and hw_clkctrl_frac1.Signed-off-by: Robert Delien
Acked-by: Marek Vasut
Tested-by: Marek Vasut -
This patch renames mx28_register to mx28_register_32 in order to
prepare for the introduction of an 8-bit register, mx28_register_8.Signed-off-by: Robert Delien
Acked-by: Marek Vasut
Tested-by: Marek Vasut -
Reformat the data so it's easier to navigate through them.
Signed-off-by: Marek Vasut
-
This patch replaces the use of magice numbers for scratch register
addresses with earlier defined register definitions.Signed-off-by: Robert Delien
13 Mar, 2012
1 commit
-
All boards are using the gen_atmel_mci driver now, so no need
to carry the old driver around.Signed-off-by: Sven Schnelle
Signed-off-by: Andreas Bießmann
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 -
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
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 -
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 -
Signed-off-by: Stefano Babic
-
Signed-off-by: Marek Vasut
Cc: Wolfgang Denk
Cc: Detlev Zundel
Cc: Stefano Babic
Cc: Fabio Estevam -
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 -
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
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 -
Signed-off-by: Christian Riesch
Cc: Albert Aribaud
Cc: Tom Rini
Acked-by: Heiko Schocher
Tested-by: Heiko Schocher -
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 -
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.htmlAccording 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 -
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 -
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 -
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 -
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 -
after http://patchwork.ozlabs.org/patch/136415/ was applied. All Marvell
build fails with below errorcommon/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
-
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 -
Showing CPU frequency during boot is useful information.
Signed-off-by: Fabio Estevam
Acked-by: Marek Vasut
Acked-by: Stefano Babic -
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 -
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 -
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
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