| 306b236b | 04-Apr-2017 |
Alexandru Gagniuc <alex.g@adaptrum.com> |
common/xyzModem.c: unifdef (Remove useless #ifdefs)
Signed-off-by: Alexandru Gagniuc <alex.g@adaptrum.com> |
| 0dcf18c6 | 04-Apr-2017 |
Alexandru Gagniuc <alex.g@adaptrum.com> |
spl: Kconfig: SPL_MMC_SUPPORT depends on GENERIC_MMC
spl_mmc.c calls mmc_initialize(). This symbol is provided in drivers/mmc/mmc.c when CONFIG_GENERIC_MMC is enabled. The sunxi Kconfig case is an o
spl: Kconfig: SPL_MMC_SUPPORT depends on GENERIC_MMC
spl_mmc.c calls mmc_initialize(). This symbol is provided in drivers/mmc/mmc.c when CONFIG_GENERIC_MMC is enabled. The sunxi Kconfig case is an oddball because it redefines SPL_MMC_SUPPORT.
Signed-off-by: Alexandru Gagniuc <alex.g@adaptrum.com> [trini: Update arch/arm/cpu/armv8/zynqmp/Kconfig] Signed-off-by: Tom Rini <trini@konsulko.com>
show more ...
|
| fad6a2b7 | 01-Apr-2017 |
Nobuhiro Iwamatsu <iwamatsu@nigauri.org> |
common, kconfig: Fix defaut value of BOOTSTAGE_STASH_SIZE
The default value of BOOTSTAGE_STASH_SIZE should be set to hexadecimal, but an integer value is set. This fixes the BOOTSTAGE_STASH_SIZE num
common, kconfig: Fix defaut value of BOOTSTAGE_STASH_SIZE
The default value of BOOTSTAGE_STASH_SIZE should be set to hexadecimal, but an integer value is set. This fixes the BOOTSTAGE_STASH_SIZE number from hexadecimal to integer.
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
show more ...
|
| 634fcf08 | 31-Mar-2017 |
Vikas Manocha <vikas.manocha@st.com> |
spl: armv7m: keep ARM v7M in thumb mode while jumping to entry point
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: keep ARM v7M in thumb mode while jumping to entry point
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.
Similar commit: f99993c10882f7dc8ec35993d5febe59aac01e6a Author: Matt Porter <mporter@konsulko.com> Date: Tue May 5 15:00:23 2015 -0400 common/cmd_boot: keep ARM v7M in thumb mode during do_go_exec()
Signed-off-by: Vikas Manocha <vikas.manocha@st.com>
show more ...
|
| 3f66149d | 23-Mar-2017 |
Joakim Tjernlund <Joakim.Tjernlund@infinera.com> |
Remove extra fdt_fixup_ethernet() call
ft_cpu_setup() already calls fdt_fixup_ethernet(), calling it in image_setup_libfdt() is both redundant and breaks any modifications done by ft_board_setup().
Remove extra fdt_fixup_ethernet() call
ft_cpu_setup() already calls fdt_fixup_ethernet(), calling it in image_setup_libfdt() is both redundant and breaks any modifications done by ft_board_setup(). Restore the old behavior by removing the call in image_setup_libfdt()
Fixes: 13d06981a982 ("image: Add device tree setup to image library") Signed-off-by: Joakim Tjernlund <joakim.tjernlund@infinera.com>
show more ...
|
| 687d2073 | 01-Feb-2017 |
Jean-Jacques Hiblot <jjhiblot@ti.com> |
env_mmc: Allow SPL to use any MMC device to load/save the environment
SPL has been restricted to use only dev 0 based on the assumption that only one MMC device is registered. This is not always the
env_mmc: Allow SPL to use any MMC device to load/save the environment
SPL has been restricted to use only dev 0 based on the assumption that only one MMC device is registered. This is not always the case and many platforms now register several devices as expected by the spl mmc boot code For those platform SPL_ENV_SUPPORT is broken if dev is forced to 0.
A word of warning: this commit may break SPL_ENV_SUPPORT on platforms that do not register the same MMC controllers in SPL and in u-boot (mostly iMX6 based platforms). Fortunately none of those activate SPL_ENV_SUPPORT in their default configuration.
Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
show more ...
|
| fb1c43cc | 27-Feb-2017 |
Maxime Ripard <maxime.ripard@free-electrons.com> |
common: Move environment choice to Kconfig
The environment location is something that might change per board (depending on what storage options are availaible there) or depending on the user choice
common: Move environment choice to Kconfig
The environment location is something that might change per board (depending on what storage options are availaible there) or depending on the user choice (when we have several options).
Instead of hardcoding it in our configuration header, create a Kconfig choice with the options we use for now, and the symbols that depend on it.
Once done, also remove the irrelevant sunxi defines.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Jagan Teki <jagan@openedev.com>
show more ...
|
| 01abae4d | 07-Apr-2017 |
Tom Rini <trini@konsulko.com> |
Remove various unused interrupt related code
With d53ecad92f06 some unused interrupt related code was removed. However all of these options are currently unused. Rather than migrate some of these o
Remove various unused interrupt related code
With d53ecad92f06 some unused interrupt related code was removed. However all of these options are currently unused. Rather than migrate some of these options to Kconfig we just remove the code in question.
The only related code changes here are that in some cases we use CONFIG_STACKSIZE in non-IRQ related context. In these cases we rename and move the value local to the code in question.
Fixes: d53ecad92f06 ("Merge branch 'master' of git://git.denx.de/u-boot-sunxi") Signed-off-by: Tom Rini <trini@konsulko.com>
show more ...
|
| 1fbf97dc | 31-Mar-2017 |
Simon Glass <sjg@chromium.org> |
board_f: powerpc: Drop unused headers
These includes don't seem to be needed now. Drop them. Reserve the mp.h header for PowerPC for now.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by:
board_f: powerpc: Drop unused headers
These includes don't seem to be needed now. Drop them. Reserve the mp.h header for PowerPC for now.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Stefan Roese <sr@denx.de> Reviewed-by: York Sun <york.sun@nxp.com>
show more ...
|
| e47b2d67 | 31-Mar-2017 |
Simon Glass <sjg@chromium.org> |
board_f: Make relocation functions generic
This header file is used by three archs. It could be used by all of them since relocation is a common function. Move it into a generic file.
Signed-off-by
board_f: Make relocation functions generic
This header file is used by three archs. It could be used by all of them since relocation is a common function. Move it into a generic file.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 96d4b75c | 31-Mar-2017 |
Simon Glass <sjg@chromium.org> |
board_f: Make init_helpers generic
This header file is used by two archs. It could be used by all of them since it allows the cache to be on during relocation. Move it into a generic file.
Signed-o
board_f: Make init_helpers generic
This header file is used by two archs. It could be used by all of them since it allows the cache to be on during relocation. Move it into a generic file.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| e5fb573f | 31-Mar-2017 |
Simon Glass <sjg@chromium.org> |
powerpc: Move setup_board_extra() into a PPC file
We don't need this PPC-specific function in generic code. Move it to the powerpc directory.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-
powerpc: Move setup_board_extra() into a PPC file
We don't need this PPC-specific function in generic code. Move it to the powerpc directory.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Stefan Roese <sr@denx.de>
show more ...
|
| 056285fd | 31-Mar-2017 |
Simon Glass <sjg@chromium.org> |
board_f: Move errno.h down to the bottom
This is to keep the header file order consistent.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: York Sun <york.sun@nxp.com> |
| 47931223 | 31-Mar-2017 |
Simon Glass <sjg@chromium.org> |
board_f: Drop unused headers
Drop headers which are not used or needed in this file. The compiler.h header is included by common.h.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: York S
board_f: Drop unused headers
Drop headers which are not used or needed in this file. The compiler.h header is included by common.h.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: York Sun <york.sun@nxp.com>
show more ...
|
| 76b00aca | 31-Mar-2017 |
Simon Glass <sjg@chromium.org> |
board_f: Drop setup_dram_config() wrapper
By making dram_init_banksize() return an error code we can drop the wrapper. Adjust this and clean up all implementations.
Signed-off-by: Simon Glass <sjg@
board_f: Drop setup_dram_config() wrapper
By making dram_init_banksize() return an error code we can drop the wrapper. Adjust this and clean up all implementations.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Stefan Roese <sr@denx.de>
show more ...
|
| abf7f4c7 | 31-Mar-2017 |
Simon Glass <sjg@chromium.org> |
board_f: Drop CONFIG_SPL_BUILD check
This is never defined when building this file, so drop it.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: York Sun <york.sun@nxp.com> |
| 0f079eb5 | 31-Mar-2017 |
Simon Glass <sjg@chromium.org> |
board_f: Put video memory reservation in one function
Move the ugly #ifdefs inside the reserve_video() function so we can collect all this init into one place.
Signed-off-by: Simon Glass <sjg@chrom
board_f: Put video memory reservation in one function
Move the ugly #ifdefs inside the reserve_video() function so we can collect all this init into one place.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 80d4bcd3 | 31-Mar-2017 |
Simon Glass <sjg@chromium.org> |
board_f: Move the extra #ifdef condition into reserve_mmu()
The arch-specific details of the cache being off are best handled inside the reserve_mmu(). This cleans up the init sequence a little.
Si
board_f: Move the extra #ifdef condition into reserve_mmu()
The arch-specific details of the cache being off are best handled inside the reserve_mmu(). This cleans up the init sequence a little.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: York Sun <york.sun@nxp.com>
show more ...
|
| b56db486 | 31-Mar-2017 |
Simon Glass <sjg@chromium.org> |
board_f: Use a single condition for reserve_logbuffer()
CONFIG_ALT_LB_ADDR is really a detail of how this logbuffer is allocated rather than whether to do it at all. So move the #ifdef into the func
board_f: Use a single condition for reserve_logbuffer()
CONFIG_ALT_LB_ADDR is really a detail of how this logbuffer is allocated rather than whether to do it at all. So move the #ifdef into the function.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| c67f432e | 31-Mar-2017 |
Simon Glass <sjg@chromium.org> |
xtensa: Place relocated U-Boot in the normal place
All archs put U-Boot at the bottom of the relocated region. Xtensa does not, but perhaps not for any good reason. Adjust it to see if things still
xtensa: Place relocated U-Boot in the normal place
All archs put U-Boot at the bottom of the relocated region. Xtensa does not, but perhaps not for any good reason. Adjust it to see if things still work OK.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 088454cd | 31-Mar-2017 |
Simon Glass <sjg@chromium.org> |
board_f: Drop return value from initdram()
At present we cannot use this function as an init sequence call without a wrapper, since it returns the RAM size. Adjust it to set the RAM size in global_d
board_f: Drop return value from initdram()
At present we cannot use this function as an init sequence call without a wrapper, since it returns the RAM size. Adjust it to set the RAM size in global_data instead, and return 0 on success.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Stefan Roese <sr@denx.de>
show more ...
|
| 52c41180 | 31-Mar-2017 |
Simon Glass <sjg@chromium.org> |
board_f: Drop board_type parameter from initdram()
It looks like only cm5200 and tqm8xx use this feature, so we don't really need it in generic code. Drop it and have the users access gd->board_type
board_f: Drop board_type parameter from initdram()
It looks like only cm5200 and tqm8xx use this feature, so we don't really need it in generic code. Drop it and have the users access gd->board_type directly.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Stefan Roese <sr@denx.de>
show more ...
|
| 76d1d02f | 28-Mar-2017 |
Simon Glass <sjg@chromium.org> |
board_f: x86: Use checkcpu() for CPU init
At present we misuse print_cpuinfo() do so CPU init on x86. This is done because it is the next available call after the console is enabled. But several arc
board_f: x86: Use checkcpu() for CPU init
At present we misuse print_cpuinfo() do so CPU init on x86. This is done because it is the next available call after the console is enabled. But several arches use checkcpu() instead. Despite the horrible name (which we can fix), it seems a better choice.
Adjust the various x86 CPU implementations to move their init code into checkcpu() and use print_cpuinfo() only for printing CPU info.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Stefan Roese <sr@denx.de>
show more ...
|
| 8749fa6a | 28-Mar-2017 |
Simon Glass <sjg@chromium.org> |
board_f: powerpc: Make prt_8260_rsr(), prt_8260_clks() private
Move these two function calls into checkcpu(), which is called on this arch immediately after these two.
Signed-off-by: Simon Glass <s
board_f: powerpc: Make prt_8260_rsr(), prt_8260_clks() private
Move these two function calls into checkcpu(), which is called on this arch immediately after these two.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Stefan Roese <sr@denx.de>
show more ...
|
| 68969778 | 28-Mar-2017 |
Simon Glass <sjg@chromium.org> |
board_f: sandbox: Move sandbox_early_getopt_check() into misc_init_f()
We don't need a special hook for sandbox as one of the later ones will do just as well. We can print error messages about bad o
board_f: sandbox: Move sandbox_early_getopt_check() into misc_init_f()
We don't need a special hook for sandbox as one of the later ones will do just as well. We can print error messages about bad options after we print the banner. In fact, it seems better.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Stefan Roese <sr@denx.de>
show more ...
|