16 Sep, 2015
1 commit
-
When enabling CONFIG_API and chain-loading GRUB2 on jetson-tk1, only the
eMMC would show up as (hd0), but not the SD card, leading to GRUB not
finding its configuration and modules, falling back to a rescue shell.This is because enum_ended would get set for !more after returning a
cookie for the first MMC device in group 3.Fix this by properly setting the "more" argument also in the case of the
first storage device of a group.Signed-off-by: Andreas Färber
19 Apr, 2015
1 commit
-
This value is not used by the network stack and is available in the
global data, so stop passing it around. For the one legacy function
that still expects it (init op on old Ethernet drivers) pass in the
global pointer version directly to avoid changing that interface.Signed-off-by: Joe Hershberger
Reported-by: Simon Glass
Reviewed-by: Simon Glass
Signed-off-by: Simon Glass
(Trival fix to remove an unneeded variable declaration in 4xx_enet.c)
22 Aug, 2014
1 commit
-
Provide stubs in case that no NET interface is supported.
Signed-off-by: Jeroen Hofstee
07 Mar, 2014
1 commit
-
Before this commit, CONFIG_MPC8260 and CONFIG_8260
were used mixed-up.All boards with mpc8260 cpu defined both of them:
- CONFIG_MPC8260 was defined in board config headers
and include/common.h
- CONFIG_8260 was defined arch/powerpc/cpu/mpc8260/config.mkWe do not need to have both of them.
This commit keeps only CONFIG_MPC8260.This commit does:
- Delete CONFIG_8260 and CONFIG_MPC8260 definition
in config headers and include/common.h
- Rename CONFIG_8260 to CONFIG_MPC8260
in arch/powerpc/cpu/mpc8260/config.mk.
- Rename #ifdef CONFIG_8260 to #ifdef CONFIG_MPC8260Signed-off-by: Masahiro Yamada
Cc: Wolfgang Denk
25 Nov, 2013
2 commits
-
All objects under api/ and examples/api/ directories are selected
by CONFIG_API.
So we can move CONFIG_API switch to the top Makefile.In order to use CONFIG_API, the definition of SUBDIR_EXAMPLES-y
must be moved after "sinlude $(obj)include/autoconf.mk".Signed-off-by: Masahiro Yamada
-
All objects under api/ and examples/api/ directories are selected
by CONFIG_API.
So we can move CONFIG_API switch to the top Makefile.In order to use CONFIG_API, the definition of SUBDIR_EXAMPLES-y
must be moved after "sinlude $(obj)include/autoconf.mk".Signed-off-by: Masahiro Yamada
01 Nov, 2013
1 commit
-
Signed-off-by: Masahiro Yamada
24 Jul, 2013
1 commit
-
Signed-off-by: Wolfgang Denk
[trini: Fixup common/cmd_io.c]
Signed-off-by: Tom Rini
15 May, 2013
1 commit
-
The Freescale MPC8220 Power Architecture processors have long reached
EOL; Freescale does not even list these any more on their web site.Remove the code to avoid wasting maitaining efforts on dead stuff.
Signed-off-by: Wolfgang Denk
Cc: Andy Fleming
21 Mar, 2013
1 commit
-
cc: Che-Liang Chiou
Acked-by: Che-Liang Chiou
Signed-off-by: Jeroen Hofstee
16 Nov, 2011
1 commit
-
This patch exports LCD info-query and bitmap-rendering functions to
external apps.This patch is tested on a Seaboard. Because the LCD driver is not yet
upstreamed, the test was done in a local downstream repo.Signed-off-by: Che-Liang Chiou
06 Oct, 2011
1 commit
-
This is long over due. All but two net drivers have been converted, but
those have now been dropped.The only thing left to do is actually delete all references to NET_MULTI
and code that is compiled when that is not defined. So here we scrub the
core code.Signed-off-by: Mike Frysinger
29 Nov, 2010
1 commit
-
The duplication of the do_reset prototype has gotten out of hand,
and they're not all in sync. Unify them all in command.h.Signed-off-by: Mike Frysinger
18 Nov, 2010
1 commit
-
Before this commit, weak symbols were not overridden by non-weak symbols
found in archive libraries when linking with recent versions of
binutils. As stated in the System V ABI, "the link editor does not
extract archive members to resolve undefined weak symbols".This commit changes all Makefiles to use partial linking (ld -r) instead
of creating library archives, which forces all symbols to participate in
linking, allowing non-weak symbols to override weak symbols as intended.
This approach is also used by Linux, from which the gmake function
cmd_link_o_target (defined in config.mk and used in all Makefiles) is
inspired.The name of each former library archive is preserved except for
extensions which change from ".a" to ".o". This commit updates
references accordingly where needed, in particular in some linker
scripts.This commit reveals board configurations that exclude some features but
include source files that depend these disabled features in the build,
resulting in undefined symbols. Known such cases include:
- disabling CMD_NET but not CMD_NFS;
- enabling CONFIG_OF_LIBFDT but not CONFIG_QE.Signed-off-by: Sebastien Carlier
05 Jul, 2010
1 commit
-
The hush shell dynamically allocates (and re-allocates) memory for the
argument strings in the "char *argv[]" argument vector passed to
commands. Any code that modifies these pointers will cause serious
corruption of the malloc data structures and crash U-Boot, so make
sure the compiler can check that no such modifications are being done
by changing the code into "char * const argv[]".This modification is the result of debugging a strange crash caused
after adding a new command, which used the following argument
processing code which has been working perfectly fine in all Unix
systems since version 6 - but not so in U-Boot:int main (int argc, char **argv)
{
while (--argc > 0 && **++argv == '-') {
/* ====> */ while (*++*argv) {
switch (**argv) {
case 'd':
debug++;
break;
...
default:
usage ();
}
}
}
...
}The line marked "====>" will corrupt the malloc data structures and
usually cause U-Boot to crash when the next command gets executed by
the shell. With the modification, the compiler will prevent this with
an
error: increment of read-only location '*argv'N.B.: The code above can be trivially rewritten like this:
while (--argc > 0 && **++argv == '-') {
char *arg = *argv;
while (*++arg) {
switch (*arg) {
...Signed-off-by: Wolfgang Denk
Acked-by: Mike Frysinger
22 Apr, 2010
1 commit
-
As discussed on the list, move "arch/ppc" to "arch/powerpc" to
better match the Linux directory structure.Please note that this patch also changes the "ppc" target in
MAKEALL to "powerpc" to match this new infrastructure. But "ppc"
is kept as an alias for now, to not break compatibility with
scripts using this name.Signed-off-by: Stefan Roese
Acked-by: Wolfgang Denk
Acked-by: Detlev Zundel
Acked-by: Kim Phillips
Cc: Peter Tyser
Cc: Anatolij Gustschin
23 Jul, 2009
1 commit
-
This patch fixes broken build introduced by commit
84bf7ca522e94ec402a1264b01971b924b7e268f (api: remove un-needed
ifdef CONFIG_API already handle by the Makefile).Signed-off-by: Piotr Ziecik
13 Jun, 2009
1 commit
-
Use the standard lowercase "xx" capitalization that other Freescale
architectures use for CPU defines to prevent confusion and errorsSigned-off-by: Peter Tyser
Signed-off-by: Kim Phillips
16 May, 2009
1 commit
-
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
19 Oct, 2008
1 commit
-
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
15 Oct, 2008
1 commit
-
This patch fixes a type mismatch and thus removes a compiler
warning when compiling with CONFIG_API on powerpc.Signed-off-by: Matthias Fuchs
14 Oct, 2008
1 commit
-
This patch fixes building with CONFIG_API and CONFIG_USB_STORAGE.
USB_MAX_STOR_DEV is defined in include/usb.h, but
needed in api/api_storage.c.Signed-off-by: Matthias Fuchs
11 Sep, 2008
1 commit
-
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
06 Aug, 2008
1 commit
-
Signed-off-by: Stefan Roese
14 May, 2008
1 commit
-
Signed-off-by: Wolfgang Denk
12 May, 2008
2 commits
-
This reverts commit c0559be371b2a64b1a817088c3308688e2182f93
which is known to break booting from dataflash and NAND. -
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
18 Apr, 2008
1 commit
-
This avoids an early global data reference.
Signed-off-by: Joakim Tjernlund
14 Feb, 2008
1 commit
-
update comments
Fix coding styleSigned-off-by: Jean-Christophe PLAGNIOL-VILLARD
29 Jan, 2008
1 commit
-
This fixes a build breakage with CONFIG_API enabled, which appeared after
the recent changes in the U-Boot build system.Signed-off-by: Rafal Jaworowski
10 Jan, 2008
2 commits
-
Signed-off-by: Wolfgang Denk
-
This is an API for external (standalone) applications running on top of
U-Boot, and is meant to be more extensible and robust than the existing
jumptable mechanism. It is similar to UNIX syscall approach. See api/README
for more details.Included is the demo application using this new framework (api_examples).
Please note this is still an experimental feature, and is turned off by
default.Signed-off-by: Rafal Jaworowski