07 May, 2018
1 commit
-
When U-Boot started using SPDX tags we were among the early adopters and
there weren't a lot of other examples to borrow from. So we picked the
area of the file that usually had a full license text and replaced it
with an appropriate SPDX-License-Identifier: entry. Since then, the
Linux Kernel has adopted SPDX tags and they place it as the very first
line in a file (except where shebangs are used, then it's second line)
and with slightly different comment styles than us.In part due to community overlap, in part due to better tag visibility
and in part for other minor reasons, switch over to that style.This commit changes all instances where we have a single declared
license in the tag as both the before and after are identical in tag
contents. There's also a few places where I found we did not have a tag
and have introduced one.Signed-off-by: Tom Rini
18 Aug, 2017
1 commit
-
- fix cache.c CONFIG_CF_V4e to CONFIG_CF_V4E
- fix cache.c to properly enable/disable cache for V4ESigned-off-by: Angelo Dureghello
16 Aug, 2017
1 commit
-
We are now using an env_ prefix for environment functions. Rename these
two functions for consistency. Also add function comments in common.h.Quite a few places use getenv() in a condition context, provoking a
warning from checkpatch. These are fixed up in this patch also.Suggested-by: Wolfgang Denk
Signed-off-by: Simon Glass
24 Sep, 2016
1 commit
-
Remove unneeded variables and assignments.
Signed-off-by: Masahiro Yamada
Reviewed-by: Minkyu Kang
Reviewed-by: Angelo Dureghello
14 Dec, 2015
1 commit
-
Add private libgcc
Signed-off-by: Angelo Dureghello
13 Aug, 2015
1 commit
-
Since some driver like ohci, lcd used dcache functions. But m68k don't
implement the invalidate_dcache_range()/flush_dcache_range() functions.To avoid compiling errors this patch adds an weak empty stub function
for all m68k cpu.Also each cpu can implement its own implementation. If not implemented
then by default is using an empty function.Signed-off-by: Josh Wu
Acked-by: Angelo Dureghello
28 Mar, 2015
1 commit
-
All the M68000 boards have switched to Generic Board.
This file is no longer necessary.Signed-off-by: Masahiro Yamada
Cc: Huan Wang
Cc: Angelo Dureghello
Reviewed-by: Simon Glass
06 Mar, 2015
1 commit
-
Add generic-board support for the m68k architecture.
Signed-off-by: Angelo Dureghello
19 Jun, 2014
1 commit
-
This flag does not compile on m68k since 2003 (8bde7f7) when a
required "cmd_bedbug.h" header was removed. Eleven years passed,
lets clean up a little...Signed-off-by: Vasili Galka
12 Jun, 2014
1 commit
-
Most of the warnings seem to be related to using 'int' for size_t. Change
this and fix up the remaining warnings and problems. For bootm, the warning
was masked by others, and there is an actual bug in the code.Signed-off-by: Simon Glass
30 May, 2014
1 commit
-
This code seems unnecessarily complex. We really just need to check the
global_data. Now that is it all in one place, and not arch-specific, this
is pretty easy.Signed-off-by: Simon Glass
13 May, 2014
1 commit
-
gd->bd->bi_baudrate is a copy of gd->baudrate.
Since baudrate is a common feature for all architectures,
keep gd->baudrate only.It is true that bi_baudrate was passed to the kernel in that structure
but it was a long time ago.Signed-off-by: Masahiro Yamada
Cc: Tom Rini
Cc: Simon Glass
Cc: Wolfgang Denk
Cc: Heiko Schocher
Acked-by: Michal Simek (For microblaze)
01 Nov, 2013
1 commit
-
Signed-off-by: Masahiro Yamada
Cc: Jason Jin
15 Oct, 2013
2 commits
-
Signed-off-by: Wolfgang Denk
[trini: Drop changes for PEP 4 following python tools]
Signed-off-by: Tom Rini -
Signed-off-by: Wolfgang Denk
24 Jul, 2013
2 commits
-
The sandburst-specific i2c drivers have been deleted, conflict was just
over the SPDX conversion.Conflicts:
board/sandburst/common/ppc440gx_i2c.c
board/sandburst/common/ppc440gx_i2c.hSigned-off-by: Tom Rini
-
Signed-off-by: Wolfgang Denk
[trini: Fixup common/cmd_io.c]
Signed-off-by: Tom Rini
23 Jul, 2013
2 commits
-
- added to soft_i2c driver new multibus/multiadpater support
- adapted all config files, which uses this driverSigned-off-by: Heiko Schocher
Cc: Simon Glass
Cc: Stephen Warren -
Signed-off-by: Heiko Schocher
Signed-off-by: Simon Glass
Cc: Henrik Nordström
17 Jul, 2013
1 commit
-
MAKEALL is fine for ppc4xx and mpc85xx.
Run checks were done on our controlcenterd hardware.Signed-off-by: Dirk Eibach
Signed-off-by: Andy Fleming
02 Jul, 2013
1 commit
-
Commit 35fc84fa1ff51e15ecd3e464dac87eb105ffed30 broke bootm on avr32. It
requires to call do_bootm_linux() with flag set to BOOTM_STATE_OS_PREP before
calling it again with flag set to BOOTM_STATE_OS_GO.
Fix this by allowing flag set to BOOTM_STATE_OS_PREP, this however will
require a complete refactoring later on.Signed-off-by: Andreas Bießmann
[trini: Apply to m68k, microblaze, nds32, nios2, openrisc, sh and sparc]
Signed-off-by: Tom Rini
27 Jun, 2013
1 commit
-
There is a debug call in board.c befor serial interface was initialized.
This moves the debug code behind serial_initialize call.Signed-off-by: Jens Scharsig (BuS Elektronik)
15 May, 2013
1 commit
-
Rather than having similar code in m68k, use image_setup_linux() which
should be common across all architectures that use the FDT.Signed-off-by: Simon Glass
02 May, 2013
1 commit
-
Delete all occurrences of hang() and provide a generic function.
Signed-off-by: Andreas Bießmann
Acked-by: Albert ARIBAUD
[trini: Modify check around puts() in hang.c slightly]
Signed-off-by: Tom Rini
02 Apr, 2013
1 commit
-
'bool' is defined in random places. This patch consolidates them into a
single header file include/linux/types.h, using stdbool.h introduced in C99.All other #define, typedef and enum are removed. They are all consistent with
true = 1, false = 0.Replace FALSE, False with false. Replace TRUE, True with true.
Skip *.py, *.php, lib/* files.Signed-off-by: York Sun
16 Mar, 2013
2 commits
-
These functions are only available for powerpc and are not declared in a
header file. We want to use the rest function in two places (board_f and
board_r), so declare the functions in watchdog.h.Signed-off-by: Simon Glass
-
Note this is a tree-wide change affecting multiple architectures.
At present we use __bss_start, but mostly __bss_end__. This seems
inconsistent and in a number of places __bss_end is used instead.Change to use __bss_end for the BSS end symbol throughout U-Boot. This
makes it possible to use the asm-generic/sections.h file on all
archs.Signed-off-by: Simon Glass
20 Feb, 2013
1 commit
-
On architectures where manual relocation
is needed, the 'malloc_bin_reloc' function
must be called after 'mem_malloc_init'.Make the 'malloc_bin_reloc' function static
and call it directly from 'mem_malloc_init'
instead of calling that from board_init_{r,f}
functions of the affected architectures.Signed-off-by: Gabor Juhos
Cc: Wolfgang Denk
Cc: Andreas Bießmann
Cc: Jason Jin
Cc: Macpaul Lin
Cc: Daniel Hellstrom
Cc: Daniel Schwierzeck
04 Feb, 2013
1 commit
-
Move inp_clk, vco_clk and flb_clk into arch_global_data and tidy up.
Signed-off-by: Simon Glass
12 Jan, 2013
1 commit
-
Fix coldfire serial driver bindings no more relocated to ram after last
changes to drivers/serial/serial.c (regression).
Serial initialization in ram has to be called after that gd->reloc_off is
calculated.Signed-off-by: Angelo Dureghello
Cc: Jason Jin
Acked-by: Jens Scharsig (BuS Elektronik)
Tested-by: Jens Scharsig (BuS Elektronik)
14 Dec, 2012
1 commit
-
Move the getenv_yesno() to env_common.c and change most checks for
'y' or 'n' to use this helper.Signed-off-by: Joe Hershberger
22 Oct, 2012
1 commit
-
This patch converts the old method of creating a list of command
onto the new LG-arrays code. The old u_boot_cmd section is converted
to new u_boot_list_cmd subsection and LG-array macros used as needed.Minor adjustments had to be made to the common code to work with the
LG-array macros, mostly the fixup_cmdtable() calls are now passed the
ll_entry_start and ll_entry_count instead of linker-generated symbols.The command.c had to be adjusted as well so it would use the newly
introduced LG-array API instead of directly using linker-generated
symbols.Signed-off-by: Marek Vasut
Cc: Joe Hershberger
Cc: Mike Frysinger
19 Oct, 2012
1 commit
-
The following warning was produced, fix it:
board.c: In function 'board_init_r':
board.c:390:8: warning: unused variable 's' [-Wunused-variable]Signed-off-by: Marek Vasut
Cc: "Jin Zhengxiong-R64188"
Cc: Jason Jin
16 Oct, 2012
1 commit
-
Remove the parts depending either on disabled CONFIG_SERIAL_MULTI
or ifdefs around CONFIG_SERIAL_MULTI parts since CONFIG_SERIAL_MULTI
is now enabled by default.Signed-off-by: Marek Vasut
Cc: Marek Vasut
Cc: Tom Rini
Cc: Anatolij Gustschin
Cc: Stefan Roese
27 Sep, 2012
1 commit
-
Declare malloc_bin_reloc() in malloc.h and remove all extern declarations
in various board.c files to get rid of one checkpatch.pl warning.Signed-off-by: Daniel Schwierzeck
Cc: Wolfgang Denk
Cc: Andreas Bießmann
Cc: Jason Jin
Cc: Macpaul Lin
Cc: Daniel Hellstrom
Acked-by: Andreas Bießmann
16 May, 2012
2 commits
-
All arches init this the same way, so move the logic into the core
net code to avoid duplicating it everywhere else.Signed-off-by: Mike Frysinger
Reviewed-by: Joe Hershberger -
This field gets read in one place (by "bdinfo"), and we can replace
that with getenv("ipaddr"). After all, the bi_ip_addr field is kept
up-to-date implicitly with the value of the ipaddr env var.Signed-off-by: Mike Frysinger
Reviewed-by: Joe Hershberger
19 Mar, 2012
2 commits
-
These calls should not be made directly any more, since bootstage
will call the show_boot_...() functions as needed.Signed-off-by: Simon Glass
-
This changes the number 15 as used in boot_stage_progress() to use the
new name provided for it. This is a separate patch because it touches
so many files.Signed-off-by: Simon Glass
Acked-by: Mike Frysinger
03 Mar, 2012
1 commit
-
There doesn't seem to be any reason for using uchar here, so change it
to char. This fixes a warning:pointer targets in passing argument 1 of 'sprintf' differ in signedness
Signed-off-by: Simon Glass
Acked-by: Mike Frysinger