15 Apr, 2013
3 commits
-
Signed-off-by: Tom Rini
14 Apr, 2013
10 commits
-
Signed-off-by: Albert ARIBAUD
-
This target wants to check full SPL size, BSS included.
Remove CONFIG_SPL_MAX_SIZE definition and instead define
CONFIG_SPL_MAX_FOOTPRINT.Signed-off-by: Albert ARIBAUD
-
This target wants to check full SPL size, BSS included.
Remove CONFIG_SPL_MAX_SIZE definition and instead define
CONFIG_SPL_MAX_FOOTPRINT.Signed-off-by: Albert ARIBAUD
-
This target wants to check full SPL size, BSS included.
Remove CONFIG_SPL_MAX_SIZE definition and instead define
CONFIG_SPL_MAX_FOOTPRINT.Signed-off-by: Albert ARIBAUD
-
Remove SPL-related ASSERT() in arch/arm/cpu/u-boot.lds
as this file is never used for SPL builds.Rewrite the ASSERT() in arch/arm/cpu/u-boot-spl.lds
to separately test image (text,data,rodata...) size,
BSS size, and full footprint each against its own max,
and make Tegra boards check full footprint.Also, output section mmutable is not used in SPL builds.
Remove it.Finally, update README regarding the (now homogeneous)
semantics of CONFIG_SPL_[BSS_]MAX_SIZE and add the new
CONFIG_SPL_MAX_FOOTPRINT macro.Signed-off-by: Albert ARIBAUD
Reported-by: Benoît Thébaudeau -
Rework the waiting for transfer completion loop condition
to continue waiting until both Transfer Complete and DMA End
interrupts occur. Checking of DLA bit in Present State register
looks not needed in addition to interrupts status checking,
so it can be removed from the condition. Also, DMA Error
condition is added to the list of data errors, checked in the loop.Signed-off-by: Andrew Gabbasov
-
The cache should invalidate the read buffer for
the SD card interface after the transfer complete,
not command-complete.Tested-by: Andrew Gabbasov
Signed-off-by: Eric Nelson -
Commit 3ebd1cbc introduced compiler-generated __bss_start
and __bss_end__ and commit c23561e7 rewrote all __bss_end__
as __bss_end. Their merge caused silent and harmless but
potentially bug-inducing clashes between compiler- and linker-
generated __bss_end symbols.Make __bss_end and __bss_start compiler-only, and create
__bss_base and __bss_limit for linker-only use.Signed-off-by: Albert ARIBAUD
Reported-by: Benoît Thébaudeau
13 Apr, 2013
20 commits
-
The glitch in the SPI clock line, which commit 3cea335c34 (spi: mxc_spi: Fix spi
clock glitch durant reset) solved, is back now and itwas re-introduced by
commit d36b39bf0d (spi: mxc_spi: Fix ECSPI reset handling).Actually the glitch is happening due to always toggling between slave mode
and master mode by configuring the CHANNEL_MODE bits in this reset function.Since the spi driver only supports master mode, set the mode for all channels
always to master mode in order to have a stable, "glitch-free" SPI clock line.Signed-off-by: Fabio Estevam
-
Signed-off-by: Otavio Salvador
Acked-by: Fabio Estevam -
When swi instruction is executed, it is expected to get message
"software interrupt" in console and dump registers and reboot, as
do_software_interrupt() in arch/arm/lib/interrupts.c.
But, actually it causes data abort accessing wrong address in get_bad_stack_swi
macro in arch/arm/cpu/v7/start.S.
This patch fixes this problem.The same mistake in arch/arm/cpu/{arm1136,arm1176,pxa}/start.S.
Signed-off-by: Tetsuyuki Kobayashi
-
TPM command library implements a subset of TPM commands defined in TCG
Main Specification 1.2 that are useful for implementing secure boot.
More TPM commands could be added out of necessity.You may exercise these commands through the 'tpm' command. However, the
raw TPM commands are too primitive for writing secure boot in command
interpreter scripts; so the 'tpm' command also provides helper functions
to make scripting easier.For example, to define a counter in TPM non-volatile storage and
initialize it to zero:$ tpm init
$ tpm startup TPM_ST_CLEAR
$ tpm nv_define d 0x1001 0x1
$ tpm nv_write d 0x1001 0And then increment the counter by one:
$ tpm nv_read d 0x1001 i
$ setexpr.l i $i + 1
$ tpm nv_write d 0x1001 $iSigned-off-by: Che-Liang Chiou
-
This is used on some Exynos 5250 variants.
Signed-off-by: Simon Glass
-
Add a driver for the I2C TPM from Infineon.
Signed-off-by: Che-Liang Chiou
Signed-off-by: Rong Chang
Signed-off-by: Tom Wai-Hong Tam
Signed-off-by: Simon Glass -
When building for the Sandbox version, the casts in this change are
necessary to avoid compilation issues.Signed-off-by: Taylor Hutt
Signed-off-by: Simon Glass
Reviewed-by: Simon Glass -
This enables the device tree library on the Integrator platforms
so we can pass a device tree when booting.Signed-off-by: Linus Walleij
-
As this board has NAND and supports YAFFS2, add CONFIG_MD_NAND_YAFFS
Cc: David Müller
Signed-off-by: Tom Rini
Acked-by: David Müller -
Conflicts:
drivers/video/exynos_fb.c -
ext3 should not be used on SD cards, so use ext4 instead.
Cc: Sricharan R
Signed-off-by: Tom Rini -
The processor is hopefully running with M(ega)Hz and not with m(illi)Hz.
Signed-off-by: Manfred Huber
-
This reverts commit 239cb9d904cfa8ab50d840a47b3306189d695c75.
Signed-off-by: Stefan Roese
-
This reverts commit 81a4f7098ba137ea1961cb997ca16d57de2b3483.
Signed-off-by: Stefan Roese
-
The previous timings were done on the internal-only A1 board which has
different DDR part than all later revs. The timings need a slight
adjustment to be correct in all cases with later revs.Signed-off-by: Tom Rini
-
This board is from a u-boot point of view a mixture between kmnusa and
a standard km_kirkwood board. We have our u-boot environment in the spi
NOR flash, but we have a direct connection between the kirkwood and the
piggy. A FPGA is connected via the PCIe interface. So we only have to
select the specific features in the board setup.Signed-off-by: Holger Brunck
cc: Valentin Longchamp
cc: Prafulla Wadaskar
Acked-By: Prafulla Wadaskar -
Switch from 1-bit ecc to 4-bit ecc.
Signed-off-by: Holger Brunck
cc: Valentin Longchamp
cc: Prafulla Wadaskar
Acked-By: Prafulla Wadaskar -
commit 9660e442 cosmetic: s/BOARD_LATE_INIT/CONFIG_BOARD_LATE_INIT
removes BOARD_LATE_INIT and uses CONFIG_BOARD_LATE_INIT instead.
Therefore we have to use this define.Signed-off-by: Holger Brunck
cc: Valentin Longchamp
cc: Prafulla Wadaskar
Acked-by: Prafulla Wadaskar -
If CONFIG_NAND_ECC_BCH is set use 4-bit error correction code instead of
the 1-bit error correction code on the NAND device.Signed-off-by: Gerlando Falauto
Signed-off-by: Holger Brunck
cc: Valentin Longchamp
cc: Prafulla Wadaskar
Acked-by: Prafulla Wadaskar
Acked-by: Scott Wood
12 Apr, 2013
7 commits
-
The conversion of mx31pdk to SPL NAND fixed the boot issue, but we start seeing
resets in loop, which prevents us from reaching the U-boot prompt.Until the proper fix can be identified, disable watchdog, so that mx31pdk
can be functional again.Signed-off-by: Fabio Estevam
Acked-by: Stefano Babic -
Let all ARM linker scripts handle properly -ffunction-sections
and -fdata-sections. This will be useful for future changes in order to create
symbol-specific sections in common .S files.Signed-off-by: Benoît Thébaudeau
-
Following the removal of the smdk6400 board, the MMU setup code in
arm1176/start.S becomes unused, so remove it. It will still be possible to
restore it later from the Git history if necessary, in which case it should be
moved out of the relocate_code() function.Signed-off-by: Benoît Thébaudeau
-
Signed-off-by: Benoît Thébaudeau
-
Following the removal of the smdk6400 board, the s3c64xx SoC becomes unused, so
remove associated code. It will still be possible to restore it later from the
Git history if necessary.Signed-off-by: Benoît Thébaudeau
-
This reverts commit 1285a2808a254f3d1a809c1a541f0c0f746e03d7 since the migration
of boards from Makefile to boards.cfg is now complete.Signed-off-by: Benoît Thébaudeau