| 3863f840 | 16-Jun-2017 |
Cooper Jr., Franklin <fcooper@ti.com> |
spl: fit: Break out some functions into a common file
Some of the functions within spl_fit will be used for non spl purposes. Instead of duplicating functions simply break the functions to be reused
spl: fit: Break out some functions into a common file
Some of the functions within spl_fit will be used for non spl purposes. Instead of duplicating functions simply break the functions to be reused into its own file.
Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> [trini: Only add the new define to image.h, otherwise we see breakage due to massive include leakage into host tools in some cases] Signed-off-by: Tom Rini <trini@konsulko.com>
show more ...
|
| daab59ac | 05-Jul-2017 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
avr32: Retire AVR32 for good
AVR32 is gone. It's already more than two years for no support in Buildroot, even longer there is no support in GCC (last version is heavily patched 4.2.4).
Linux kerne
avr32: Retire AVR32 for good
AVR32 is gone. It's already more than two years for no support in Buildroot, even longer there is no support in GCC (last version is heavily patched 4.2.4).
Linux kernel v4.12 got rid of it (and v4.11 didn't build successfully).
There is no good point to keep this support in U-Boot either.
Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Heiko Schocher <hs@denx.de> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
show more ...
|
| ffc282e1 | 25-Jun-2017 |
Ladislav Michl <ladis@linux-mips.org> |
spl: Make UBI fastmap support Kconfig selectable
Fastmap was always enabled in ubispl, make it selectable by CONFIG_MTD_UBI_FASTMAP.
Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Acked-by: H
spl: Make UBI fastmap support Kconfig selectable
Fastmap was always enabled in ubispl, make it selectable by CONFIG_MTD_UBI_FASTMAP.
Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Acked-by: Heiko Schocher <hs@denx.de>
show more ...
|
| 98f705c9 | 27-Jun-2017 |
Heiko Schocher <hs@denx.de> |
powerpc: remove 4xx support
There was for long time no activity in the 4xx area. We need to go further and convert to Kconfig, but it turned out, nobody is interested anymore in 4xx, so remove it.
powerpc: remove 4xx support
There was for long time no activity in the 4xx area. We need to go further and convert to Kconfig, but it turned out, nobody is interested anymore in 4xx, so remove it.
Signed-off-by: Heiko Schocher <hs@denx.de>
show more ...
|
| 064b55cf | 14-Jun-2017 |
Heiko Schocher <hs@denx.de> |
powerpc, 5xxx, 512x: remove support for mpc5xxx and mpc512x
There was for long time no activity in the mpx5xxx area. We need to go further and convert to Kconfig, but it turned out, nobody is intere
powerpc, 5xxx, 512x: remove support for mpc5xxx and mpc512x
There was for long time no activity in the mpx5xxx area. We need to go further and convert to Kconfig, but it turned out, nobody is interested anymore in mpc5xxx, so remove it.
Signed-off-by: Heiko Schocher <hs@denx.de>
show more ...
|
| 53207bfd | 08-Jun-2017 |
Lothar Waßmann <LW@KARO-electronics.de> |
board_f: fix calculation of reloc_off
relocate_code() calculates the relocation offset wrt. the symbol __image_copy_start which happens to have the same value as CONFIG_TEXT_BASE on most systems. Wh
board_f: fix calculation of reloc_off
relocate_code() calculates the relocation offset wrt. the symbol __image_copy_start which happens to have the same value as CONFIG_TEXT_BASE on most systems. When creating an i.MX boot image with an integrated IVT it is convenient to have CONFIG_TEXT_BASE point to the start of the IVT that is prepended to the actual code. Thus CONFIG_TEXT_BASE will differ from __image_copy_start, while the calculation 'gd->relocaddr - __image_copy_start' still gives the right relocation offset.
Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
show more ...
|
| baa7d345 | 07-Jun-2017 |
Simon Glass <sjg@chromium.org> |
board_f: Use IS_ENABLED instead of #ifdef in initf_bootstage()
The current implementation makes it look like the 'if (from_spl)' part is dead code because these features are not enabled for sandbox.
board_f: Use IS_ENABLED instead of #ifdef in initf_bootstage()
The current implementation makes it look like the 'if (from_spl)' part is dead code because these features are not enabled for sandbox. We could enable it for sandbox_spl, but this is not done yet (it requires sharing memory between SPL and U-Boot proper which is in fact supported).
It is probably nicer to avoid #ifdef anyway. Change it.
Signed-off-by: Simon Glass <sjg@chromium.org> Reported-by: Coverity (CID: 163244) Fixes: 824bb1b (bootstage: Support SPL)
show more ...
|
| 66a1b30d | 07-Jun-2017 |
Simon Glass <sjg@chromium.org> |
edid: Use sizeof() in cea_is_hdmi_vsdb_present()
We should not use an open-coded value here. Use sizeof() instead.
Signed-off-by: Simon Glass <sjg@chromium.org> Reported-by: Coverity (CID: 163252)
edid: Use sizeof() in cea_is_hdmi_vsdb_present()
We should not use an open-coded value here. Use sizeof() instead.
Signed-off-by: Simon Glass <sjg@chromium.org> Reported-by: Coverity (CID: 163252) Fixes: 43c6bdd0 (edid: Add HDMI flag to timing info)
show more ...
|
| 50258977 | 07-Jun-2017 |
Heiko Schocher <hs@denx.de> |
powerpc, 5xx: remove support for 5xx
There was for long time no activity in the 5xx area. We need to go further and convert to Kconfig, but it turned out, nobody is interested anymore in 5xx, so rem
powerpc, 5xx: remove support for 5xx
There was for long time no activity in the 5xx area. We need to go further and convert to Kconfig, but it turned out, nobody is interested anymore in 5xx, so remove it.
Signed-off-by: Heiko Schocher <hs@denx.de>
show more ...
|
| 2eb48ff7 | 07-Jun-2017 |
Heiko Schocher <hs@denx.de> |
powerpc, 8260: remove support for mpc8260
There was for long time no activity in the 8260 area. We need to go further and convert to Kconfig, but it turned out, nobody is interested anymore in 8260,
powerpc, 8260: remove support for mpc8260
There was for long time no activity in the 8260 area. We need to go further and convert to Kconfig, but it turned out, nobody is interested anymore in 8260, so remove it.
Signed-off-by: Heiko Schocher <hs@denx.de>
show more ...
|
| 5b8e76c3 | 07-Jun-2017 |
Heiko Schocher <hs@denx.de> |
powerpc, 8xx: remove support for 8xx
There was for long time no activity in the 8xx area. We need to go further and convert to Kconfig, but it turned out, nobody is interested anymore in 8xx, so rem
powerpc, 8xx: remove support for 8xx
There was for long time no activity in the 8xx area. We need to go further and convert to Kconfig, but it turned out, nobody is interested anymore in 8xx, so remove it (with a heavy heart, knowing that I remove here the root of U-Boot).
Signed-off-by: Heiko Schocher <hs@denx.de>
show more ...
|
| d2e1ee68 | 10-Jun-2017 |
Tom Rini <trini@konsulko.com> |
Merge branch 'master' of git://git.denx.de/u-boot-video |
| 75fd49c8 | 10-Jun-2017 |
Tom Rini <trini@konsulko.com> |
Merge branch 'master' of git://git.denx.de/u-boot-mmc |
| c6d9e9db | 28-May-2017 |
Vikas Manocha <vikas.manocha@st.com> |
SPL: Add XIP booting support
Enable support for XIP (execute in place) of U-Boot or kernel image. There is no need to copy image from flash to ram if flash supports execute in place.
Signed-off-by:
SPL: Add XIP booting support
Enable support for XIP (execute in place) of U-Boot or kernel image. There is no need to copy image from flash to ram if flash supports execute in place.
Signed-off-by: Vikas Manocha <vikas.manocha@st.com> Reviewed-by: Alexandru Gagniuc <alex.g@adaptrum.com>
show more ...
|
| bdc906db | 23-May-2017 |
Jernej Skrabec <jernej.skrabec@siol.net> |
edid: Fix gcc 7.1 warning
This commit fixes the warning produced by gcc 7.1.
Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Gl
edid: Fix gcc 7.1 warning
This commit fixes the warning produced by gcc 7.1.
Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 01b73fe6 | 27-May-2017 |
Simon Glass <sjg@chromium.org> |
dm: mmc: Ensure that block device is probed
Make sure that we probe the block device before using it when reading the environment.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rin
dm: mmc: Ensure that block device is probed
Make sure that we probe the block device before using it when reading the environment.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
show more ...
|
| 6bcdd66d | 28-May-2017 |
Vikas Manocha <vikas.manocha@st.com> |
spl: armv7m: to keep ARM v7M in thumb mode before booting next image
On ARM v7M, the processor will return to ARM mode when executing blx instruction with bit 0 of the address == 0. Always set it to
spl: armv7m: to keep ARM v7M in thumb mode before booting next image
On ARM v7M, the processor will return to ARM mode when executing blx instruction with bit 0 of the address == 0. Always set it to 1 to stay in thumb mode.
At present, it is applied only for raw U-Boot. This patch moves it to just before booting next image. This way armv7m will be in thumb mode for any image like raw or image with header like zImage or standard U-Boot.
Signed-off-by: Vikas Manocha <vikas.manocha@st.com>
show more ...
|
| b9eaeae1 | 06-Jun-2017 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-usb |
| 4e33316f | 25-May-2017 |
Pantelis Antoniou <pantelis.antoniou@konsulko.com> |
malloc: Turn on DEBUG when enabling unit tests
Unit tests require mallinfo which in turn requires DEBUG on dlmalloc to be enabled.
The dependancy on CONFIG_SANDBOX is wrong.
Signed-off-by: Panteli
malloc: Turn on DEBUG when enabling unit tests
Unit tests require mallinfo which in turn requires DEBUG on dlmalloc to be enabled.
The dependancy on CONFIG_SANDBOX is wrong.
Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 226498b8 | 22-May-2017 |
Tom Rini <trini@konsulko.com> |
common/spl/Kconfig: Use 'if SPL' / 'if TPL' guards
Much of the entries here simply depend on SPL (or TPL). Instead of this redundancy use if SPL / if TPL to guard the rest of the choices and only s
common/spl/Kconfig: Use 'if SPL' / 'if TPL' guards
Much of the entries here simply depend on SPL (or TPL). Instead of this redundancy use if SPL / if TPL to guard the rest of the choices and only show them when we have the relevant option enabled.
Signed-off-by: Tom Rini <trini@konsulko.com>
show more ...
|
| a132f770 | 22-May-2017 |
Simon Glass <sjg@chromium.org> |
bootstage: Record time taken to set up the live device tree
This time is interesting as a comparision with the flat device tree time. Add it to the record.
Signed-off-by: Simon Glass <sjg@chromium.
bootstage: Record time taken to set up the live device tree
This time is interesting as a comparision with the flat device tree time. Add it to the record.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 824bb1b4 | 22-May-2017 |
Simon Glass <sjg@chromium.org> |
bootstage: Support SPL
At present bootstage only supports U-Boot proper. But SPL can also consume boot time so it is useful to have the record start there.
Add bootstage support to SPL. Also suppor
bootstage: Support SPL
At present bootstage only supports U-Boot proper. But SPL can also consume boot time so it is useful to have the record start there.
Add bootstage support to SPL. Also support stashing the timing information when SPL finishes so that it can be picked up and reported by U-Boot proper. This provides a full boot time record, excluding only the time taken by the boot ROM.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 9d2542d0 | 22-May-2017 |
Simon Glass <sjg@chromium.org> |
bootstage: Adjust to use const * where possible
There are a few places that should use const *, such as bootstage_unstash(). Update these to make it clearer when parameters are changed.
Signed-off-
bootstage: Adjust to use const * where possible
There are a few places that should use const *, such as bootstage_unstash(). Update these to make it clearer when parameters are changed.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| e003310a | 22-May-2017 |
Simon Glass <sjg@chromium.org> |
bootstage: Tidy up error return values
We should return a proper error number instead of just -1. This helps the caller to determine what when wrong. Update a few functions to fix this.
Signed-off-
bootstage: Tidy up error return values
We should return a proper error number instead of just -1. This helps the caller to determine what when wrong. Update a few functions to fix this.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 63c5bf48 | 22-May-2017 |
Simon Glass <sjg@chromium.org> |
bootstage: Record the time taken to set up driver model
Driver model is set up ones before relocation and once after. Record the time taken in each case.
Signed-off-by: Simon Glass <sjg@chromium.or
bootstage: Record the time taken to set up driver model
Driver model is set up ones before relocation and once after. Record the time taken in each case.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|