13 Dec, 2013
17 commits
-
PLATFORM_RELFLAGS += -meabi
PLATFORM_CPPFLAGS += -ffixed-r2
were defined in all arch/powerpc/${CPU}/config.mk.This commit moves them to arch/powerpc/config.mk.
Signed-off-by: Masahiro Yamada
-
The documentation suggested the arguments where passed over r3-r6
while the code below simply does that over r0-r3.Cc: Kumar Gala
-
Signed-off-by: Masahiro Yamada
-
Signed-off-by: Tom Rini
-
Since part_info size became 64bit we need to use lldiv here.
Signed-off-by: Tom Rini
-
Cc: Marek Vasut
Signed-off-by: Tom Rini
Acked-by: Marek Vasut -
Cc: Michal Simek
Signed-off-by: Tom Rini -
Commit 8dfafdde88eb ("Introduce common timer functions") created a
common definition of usec_to_tick() which had a couple problems:static unsigned long long usec_to_tick(unsigned long usec)
{
uint64_t tick = usec * get_tbclk();That likely overflows.
usec *= get_tbclk();
That was an attempt to fix it by performing the multiply after the
promotion of usec to 64-bit, but was applied to the wrong variable,
which was never used.This patch fixes these issues. A user-visible symptom of the problem was
the e.g. "dhcp zImage" using an ASIX USB Ethernet dongle would print:Waiting for Ethernet connection... unable to connect.
... with no delay before "unable to connect". There are likely other
symptoms.Signed-off-by: Stephen Warren
Acked-by: Rob Herring -
These four generated files depends on neither {spl,tpl}-autoconf.mk
nor autoconf.mk.dep.Signed-off-by: Masahiro Yamada
-
Some editors such as Emacs can highlight source files.
But their parser algorithm is not perfect.If you use one double-quotation alone, some editor cannot
handle it nicely and mark source lines as a string by mistake.It is preferable to use two double-quotations as a pair.
Signed-off-by: Masahiro Yamada
-
The build rules of
- include/autoconf.mk.dep
- include/autoconf.mk
- include/spl-autoconf.mk
- include/tpl-autoconf.mk
were not nice.They created empty files (which are never updated)
if an error occurs during preprocessing.Signed-off-by: Masahiro Yamada
-
Add a test for dumpimage.
Signed-off-by: Guilherme Maciel Ferreira
Signed-off-by: Simon Glass -
Given a multi-file image created through the mkimage's -d option:
$ mkimage -A x86 -O linux -T multi -n x86 -d vmlinuz:initrd.img:System.map \
multi.imgImage Name: x86
Created: Thu Jul 25 10:29:13 2013
Image Type: Intel x86 Linux Multi-File Image (gzip compressed)
Data Size: 13722956 Bytes = 13401.32 kB = 13.09 MB
Load Address: 00000000
Entry Point: 00000000
Contents:
Image 0: 4040128 Bytes = 3945.44 kB = 3.85 MB
Image 1: 7991719 Bytes = 7804.41 kB = 7.62 MB
Image 2: 1691092 Bytes = 1651.46 kB = 1.61 MBIt is possible to perform the innverse operation -- extracting any file from
the image -- by using the dumpimage's -i option:$ dumpimage -i multi.img -p 2 System.map
Although it's feasible to retrieve "data files" from image through scripting,
the requirement to embed tools such 'dd', 'awk' and 'sed' for this sole purpose
is cumbersome and unreliable -- once you must keep track of file sizes inside
the image. Furthermore, extracting data files using "dumpimage" tool is faster
than through scripting.Signed-off-by: Guilherme Maciel Ferreira
Signed-off-by: Simon Glass -
In order to avoid duplicating code and keep only one point of modification,
the functions, structs and defines useful for "dumpimage" were moved from
"mkimage" to a common module called "imagetool".This modification also weakens the coupling between image types (FIT, IMX, MXS,
and so on) and image tools (mkimage and dumpimage). Any tool may initialize the
"imagetool" through register_image_tool() function, while the image types
register themselves within an image tool using the register_image_type()
function:+---------------+
+------| fit_image |
+--------------+ +-----------+ | +---------------+
| mkimage |--------> | | | |
Signed-off-by: Simon Glass -
This function should be declared static.
Signed-off-by: Guilherme Maciel Ferreira
Signed-off-by: Simon Glass -
The last users of CONFIG_KGDB_SER_INDEX were removed more than 3 years
ago in commits 550650ddd0 and bf16500f79, either kgdb subsystem should
care about this parameter or it should be gone completely.Signed-off-by: Vladimir Zapolskiy
-
For LPC32XX high-speed UART it is required to send a carriage return
symbol along with line feed. The problem was introduced in e503f90a
commit.Signed-off-by: Vladimir Zapolskiy
Cc: Marek Vasut
Acked-by: Marek Vasut
12 Dec, 2013
4 commits
-
The default value of CONFIG_SYS_FSL_TBCLK_DIV is 16.
So, update its value as default.
Signed-off-by: Prabhakar Kushwaha
Acked-by: York Sun -
Add the __iomem address space marker for the tsec pointers
to struct tsec_mii_mng memory mapped register regions.
This solves the sparse warnings for mixig normal pointers with
__iomem pointers for tsec.p1_p2_rdb_pc.c:373:24: warning: incorrect type in assignment (different
address spaces)
p1_p2_rdb_pc.c:373:24: expected struct tsec_mii_mng [noderef]
*regs
p1_p2_rdb_pc.c:373:24: got struct tsec_mii_mng *Use TSEC_GET_MDIO_REGS_BASE() for the remaining mdio 'regs'
initializations to remove the __iomem warnings and for consistency.Signed-off-by: Claudiu Manoil
Acked-by: York Sun -
As mEMAC1 and mEMAC2 are dual-role MACs, which are used as 1G or 10G MAC.
So we update dynamically 'cell-index' to '2' and '3' for 10GEC3 and 10GEC4.
Also change 'fsl,fman-port-1g-rx' to 'fsl,fman-port-10g-rx', ditto for Tx.Signed-off-by: Shengzhou Liu
Acked-by: York Sun -
A new valid setting case added for fman1, it uses platform frequency.
Signed-off-by: Shaohui Xie
Acked-by: York Sun
11 Dec, 2013
2 commits
-
Conflicts:
board/samsung/trats2/trats2.c
include/configs/exynos5250-dt.hSigned-off-by: Tom Rini
-
Conflicts:
arch/arm/cpu/armv7/rmobile/Makefile
doc/README.scrapyardNeeded manual fix:
arch/arm/cpu/armv7/omap-common/Makefile
board/compulab/cm_t335/u-boot.lds
10 Dec, 2013
11 commits
-
Signed-off-by: Ian Campbell
Cc: albert.u.boot@aribaud.net -
Signed-off-by: Soren Brinkmann
Signed-off-by: Michal Simek -
We want to test SPI flash code in the sandbox, so enable the new drivers and
the 'sf test' command.This command is used to validate the sandbox SPI / SPI flash implementation,
so enable it.Signed-off-by: Mike Frysinger
Signed-off-by: Simon Glass -
This adds a SPI flash driver which simulates SPI flash clients.
Currently supports the bare min that U-Boot requires: you can
probe, read, erase, and write. Should be easy to extend to make
it behave more exactly like a real SPI flash, but this is good
enough to merge now.sjg@chromium.org added a README and tidied up code a little.
Added a required map_sysmem() for sandbox.Signed-off-by: Mike Frysinger
Signed-off-by: Simon Glass -
This adds a SPI framework for people to hook up simulated SPI clients.
Signed-off-by: Mike Frysinger
Signed-off-by: Simon Glass -
This was obtained from Linux 3.12 commit 5e01dc7b26.
Signed-off-by: Simon Glass
-
This allows us to put the SPI flash chip inside the SPI interface node,
with U-Boot finding the correct bus and chip select automatically.Signed-off-by: Simon Glass
-
The new name is longer but more clearly related to sandbox.
This is in a separate patch within the same series since some comments on the
SPI series rely on it.Signed-off-by: Simon Glass
Reviewed-by: Hung-ying Tyan
09 Dec, 2013
6 commits
-
Add support for USB-A9263 board manufactured by Calao Systems
(http://www.calao-systems.com/).
Code is based on old U-Boot sources (2010.09) released by Calao.Signed-off-by: Mateusz Kulikowski
Signed-off-by: Andreas Bießmann -
enable support for the siemens AT91SAM9G20 based board corvus.
Signed-off-by: Boris Schmidt
Reviewed-by: Heiko Schocher
Cc: Andreas Bießmann
Cc: Bo Shen
Signed-off-by: Andreas Bießmann -
enable support for the siemens AT91SAM9G20 based boards taurus
and axm.Signed-off-by: Roger Meier
Reviewed-by: Heiko Schocher
Cc: Andreas Bießmann
Cc: Bo Shen
Signed-off-by: Andreas Bießmann -
Signed-off-by: Andreas Bießmann
-
Signed-off-by: Andreas Bießmann
Acked-by: Jens Scharsig (BuS Elektronik)
Tested-by: Jens Scharsig (BuS Elektronik)
Acked-by: Scott Wood -
In order to get the very same value for legacy pin definitions and new gpio
definitions set the legacy PIN_BASE to 0.Signed-off-by: Andreas Bießmann