21 Aug, 2013
6 commits
-
Enable p1022ds to start from eSPI with SPL.
Signed-off-by: Ying Zhang
Acked-by: York Sun -
This patch introduces SPL to enable a loader stub that being loaded by
the code from the internal on-chip ROM. It loads the final uboot image
into DDR, then jump to it to begin execution.The SPL's size is sizeable, the maximum size must not exceed the size of L2
SRAM. It initializes the DDR through SPD code, and copys final uboot image
to DDR. So there are two stage uboot images:
* spl_boot, 96KB size. The env variables are copied to L2 SRAM, so that
ddr spd code can get the interleaving mode setting in env. It loads
final uboot image from offset 96KB.
* final uboot image, size is variable depends on the functions enabled.Signed-off-by: Ying Zhang
Acked-by: York Sun -
Enable p1022ds to start from eSDHC with SPL.
Signed-off-by: Ying Zhang
Acked-by: York Sun -
The code from the internal on-chip ROM. It loads the final uboot image
into DDR, then jump to it to begin execution.The SPL's size is sizeable, the maximum size must not exceed the size of L2
SRAM. It initializes the DDR through SPD code, and copys final uboot image
to DDR. So there are two stage uboot images:
* spl_boot, 96KB size. The env variables are copied to L2 SRAM, so that
ddr spd code can get the interleaving mode setting in env. It loads
final uboot image from offset 96KB.
* final uboot image, size is variable depends on the functions enabled.Signed-off-by: Ying Zhang
Acked-by: York Sun -
1. The symbol CONFIG_SPL_NAND_MINIMAL is unused, so deleted it.
2. Some functions were unused in the minimal SPL, but it is useful
in the common SPL. So, enabled some functionality for common SPL.Signed-off-by: Ying Zhang
Acked-by: York Sun -
The functionality env_import will be used in the SPL. They
had been excluded by ifndef CONFIG_SPL_BUILD. Now, put it
into the SPL.Signed-off-by: Ying Zhang
Acked-by: Tom Rini
Acked-by: York Sun
20 Aug, 2013
18 commits
-
SPL defines CONFIG_SPL_BUILD but this does not percolate to the
autoconf.mk Makefile. As a result the build breaks when
CONFIG_SPL_BUILD is used in the board-specific include header file. With
this, there is a possibility of having a CONFIG option defined in the
header file but not defined in the Makefile causing all kinds of build
failure and problems.It also messes things for up, for example, when one might want to
undefine options to keep the SPL small and doesn't want to be stuck with
the CONFIG options used for U-boot. Lastly, this also avoids defining
special CONFIG_SPL_ variables for cases where some options are required
in U-boot but not in SPL.We add a spl-autoconf.mk rule that is generated for SPL with the
CONFIG_SPL_BUILD flag and conditionally include it for SPL builds.Signed-off-by: Joel Fernandes
Signed-off-by: Ying Zhang -
Signed-off-by: Tom Rini
-
Signed-off-by: Wolfgang Denk
[trini Don't remove some copyrights by accident]
Signed-off-by: Tom Rini -
The file header indicated that this file was GPL-2.0+, but actually
the code was derived from (Marvell based) Linux source code which is
only GPL-2.0. Fix this.Signed-off-by: Wolfgang Denk
Cc: Stefan Roese
Cc: Matthias Fuchs
Acked-by: Stefan Roese -
This commit adapts the files that were derived from PIBS (PowerPC
Initialization and Boot Software) codeto using SPDX License
Identifiers.So far, SPDX has not assigned an official License ID for the PIBS
license yet, so this should be considered preliminary.Note that the following files contained incorrect license information:
arch/powerpc/cpu/ppc4xx/4xx_uart.c
arch/powerpc/cpu/ppc4xx/start.S
arch/powerpc/include/asm/ppc440.hThese files included, in addition to the GPL-2.0 / ibm-pibs dual
license as inherited from PIBS, a GPL-2.0+ license header which was
obviously incorrect. This has been removed.Signed-off-by: Wolfgang Denk
Cc: Stefan Roese
Signed-off-by: Wolfgang DenkConflicts:
Licenses/README
Acked-by: Stefan Roese -
Unlike the other patches in this series so far, this commit fixes a
ambiguity in the license terms for some OMAP files: the code was
originally derived from the Linux kernel sources, where it was clearly
marked as GPL-2.0 (i. e. without the "or later" part), but the U-Boot
version had a GPL-2.0+ file header added, apparently without
permission / relicensing from the original authors of the code.Insert a GPL-2.0 SPDX-License-Identifier to fix this.
Signed-off-by: Wolfgang Denk
cc: Tom Rix
Cc: Tom Rini
Cc: Albert Aribaud
Acked-by: Tom Rini -
Signed-off-by: Wolfgang Denk
-
1. Reformat tx/rx descriptor as an uniform struct.
2. Replace uint32_t[2] with uint64_t for descriptor control.Signed-off-by: Kuo-Jung Su
CC: Joe Hershberger -
Signed-off-by: Kuo-Jung Su
CC: Joe Hershberger -
Signed-off-by: Kuo-Jung Su
CC: Joe Hershberger -
The __* keywords are reserved. On FreeBSD __unused evaluates
to the attribute unused, causing a compilation failure.
Just use unused instead.Signed-off-by: Jeroen Hofstee
cc: joe.hershberger@gmail.com -
Signed-off-by: Tom Rini
-
Signed-off-by: Tom Rini
-
Signed-off-by: Tom Rini
-
This patch adds support for Realtek PHY modules RTL8211DN and
RTL8211E (variants: RTL8211E-VB-CG, RTL8211E-VL-CG, RTL8211EG-VB-CG),
which can be found on Freescale's T1040RDB boards.To make the driver more generic across 8211 family, a generic name 8211x
is added for macros and function names.Signed-off-by: Bhupesh Sharma
Acked-by: York Sun -
This patch adds support for the SMSC9500 with product id 0x9900 which is
equipped in the "EXSYS USB 2.0" etherner USB adapter.Tested on omap3_beagle.
Signed-off-by: Stefan Roese
-
Use ARRAY_SIZE instead of having similar implementation in each drivers.
The NUMELEMS defined in drivers/net/npe/include/IxOsalTypes.h is not used
at all, so this patch removes it instead of converting it to use ARRAY_SIZE.Signed-off-by: Axel Lin
Cc: Albert Aribaud
Cc: Ben Warren
Cc: Jean-Christophe PLAGNIOL-VILLARD
Cc: Joe Hershberger
Cc: Marek Vasut
Cc: Mike Frysinger
Cc: Nobuhiro Iwamatsu
Cc: TsiChungLiew
Cc: Wolfgang Denk
Cc: York Sun -
LAN8710/8720 are 10/100 Mbps PHYs, so fix the '.features' field.
Cc: Joe Hershberger
Cc: Nobuhiro Iwamatsu
Signed-off-by: Fabio Estevam
19 Aug, 2013
6 commits
-
Use default_serial_puts() instead of its own implementation.
Signed-off-by: Axel Lin
Acked-by: Marek Vasut
Acked-by: Michal Simek -
Signed-off-by: Dirk Eibach
Signed-off-by: Stefan Roese -
Up to this point some PHY initialization was done from the FPGA
and some from u-boot.
From now all initialization is done from u-boot.
To keep this maintainable a PHY setup machine was implemented that can
execute commands from initialization arrays.Signed-off-by: Dirk Eibach
Signed-off-by: Stefan Roese -
Add a new iocon flavor with a second communiction port per channel.
Signed-off-by: Dirk Eibach
Signed-off-by: Stefan Roese -
Add a new iocon flavor with fiber instead of copper connectivity.
Signed-off-by: Dirk Eibach
Signed-off-by: Stefan Roese -
Fixup an easy conflict over adding the clk_get prototype and USB_OTG
defines for am33xx having moved.Conflicts:
arch/arm/include/asm/arch-am33xx/hardware.hSigned-off-by: Tom Rini
18 Aug, 2013
1 commit
17 Aug, 2013
7 commits
-
Signed-off-by: Axel Lin
Reviewed-by: Thierry Reding
Acked-by: Marek Vasut -
Commit 669dfc2e adds libfdt_env.h to HOSTCPPFLAGS. It causes stdio.h
to be included before _GNU_SOURCE is defined in C files. On some old hosts
some prototypes are protected by #ifdef __USE_GNU, which is set when
_GNU_SOURCE is defined.Signed-off-by: York Sun
Acked-by: Simon Glass -
The timestamp is shown in fit_print_contents() but for some reason not
in fit_image_print(). This seems to be an oversight, since it is the latter
which is used by bootm.Add timestamp printing in this case.
(There is code duplication in these two function, for looking at in a future
patch).Signed-off-by: Simon Glass
-
This function is only defined if CONFIG_SILENT_CONSOLE is set and
CONFIG_SILENT_U_BOOT_ONLY is not set, the call to it should be based
on the same conditions.Signed-off-by: Paul B. Henson
Acked-by: Simon Glass -
At present the console for linux is silent if the U-Boot console is silent,
unless CONFIG_SILENT_U_BOOT_ONLY is set. I wonder if a better way would be
to have an environment variable to control this? Then we can control the
verbosity from scripts, and set the variable to 'no' for those boards that
want Linux to boot with console output.Signed-off-by: Simon Glass
-
If image name is longer than 32 bytes, then it will be truncated.
This will remove '\0' at the end of the line, so printf will
go out of string limit.Signed-off-by: Taras Kondratiuk
Reviewed-by: Tom Rini -
This is a trivial patch that just enables xmodem downloads using the existing
ymodem framework.Signed-off-by: Angus Ainslie
16 Aug, 2013
2 commits
-
Signed-off-by: Antoine Tenart
[trini: Change to SPDX, fix a few compiler warnings, adapt to
CONFIG_OMAP_COMMON]
Signed-off-by: Tom Rini -
Signed-off-by: Antoine Tenart
[trini: Fix warnings about vtp things in emif4.c, adapt AM43XX]
Signed-off-by: Tom Rini