05 Mar, 2018
1 commit
-
Thomas reported U-Boot failed to build host tools if libfdt-devel
package is installed because tools include libfdt headers from
/usr/include/ instead of using internal ones.This commit moves the header code:
include/libfdt.h -> include/linux/libfdt.h
include/libfdt_env.h -> include/linux/libfdt_env.hand replaces include directives:
#include -> #include
#include -> #includeReported-by: Thomas Petazzoni
Signed-off-by: Masahiro Yamada
11 Jan, 2018
1 commit
-
This patch adds changes necessary to move functionality present in
PowerPC folders with ARM architectures that have DPAA1 QBMan hardware- Create new board/freescale/common/fsl_portals.c to house shared
device tree fixups for DPAA1 devices with ARM and PowerPC cores
- Add new header file to top includes directory to allow files in
both architectures to grab the function prototypes
- Port inhibit_portals() from PowerPC to ARM. This function is used in
setup to disable interrupts on all QMan and BMan portals. It is
needed because the interrupts are enabled by default for all portals
including unused/uninitialised portals. When the kernel attempts to
go to deep sleep the unused portals prevent it from doing soSigned-off-by: Ahmed Mansour
Reviewed-by: York Sun
16 Aug, 2017
3 commits
-
We are now using an env_ prefix for environment functions. Rename these
other functions as well, for consistency:getenv_vlan()
getenv_bootm_size()
getenv_bootm_low()
getenv_bootm_mapsize()
env_get_default()Suggested-by: Wolfgang Denk
Signed-off-by: Simon Glass -
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 -
We are now using an env_ prefix for environment functions. Rename setenv()
for consistency. Also add function comments in common.h.Suggested-by: Wolfgang Denk
Signed-off-by: Simon Glass
23 Jul, 2017
2 commits
-
It is possible to flag MAC addresses as locally administred. In this
case they don't need to be unique. This is only allowed for interfaces
which have no connection to the outside. For the TEGR1 board we use
this feature.Cc: Heiko Schocher
Signed-off-by: Holger Brunck -
If we rebrand the IVM and ethaddr was set previously we need to change
ethaddr. Otherwise we end up with a wrong MAC adress for the ethernet
interface.Cc: Heiko Schocher
Signed-off-by: Holger Brunck
10 Jul, 2017
1 commit
-
Cc: Wolfgang Denk
Cc: Heiko Schocher
Signed-off-by: Holger Brunck
07 Jul, 2017
1 commit
-
The 82xx board mgcoge3ne was removed from the codebase, so this is dead
code.Signed-off-by: Holger Brunck
Cc: Heiko Schocher
Reviewed-by: Heiko Schocher
12 Jun, 2017
1 commit
-
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
15 May, 2017
1 commit
-
Drop use of this long-deprecated option.
Signed-off-by: Simon Glass
13 Apr, 2017
1 commit
-
This allows us to use the same DRAM init function on all archs. Add a
dummy function for arc, which does not use DRAM init here.Signed-off-by: Simon Glass
[trini: Dummy function on nios2]
Signed-off-by: Tom Rini
06 Apr, 2017
2 commits
-
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
Reviewed-by: Stefan Roese -
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
Reviewed-by: Stefan Roese
28 Sep, 2016
1 commit
-
The function fdt_fixup_dr_usb is specific to fsl/nxp. So,
make the function name explicit and rename fdt_fixup_dr_usb
into fsl_fdt_fixup_dr_usb.Signed-off-by: Sriram Dash
24 Sep, 2016
1 commit
-
Now, arch/${ARCH}/include/asm/errno.h and include/linux/errno.h have
the same content. (both just wrap )Replace all include directives for with .
Signed-off-by: Masahiro Yamada
[trini: Fixup include/clk.]
Signed-off-by: Tom Rini
16 Jul, 2016
1 commit
-
Fix a number of typos, including:
* "compatble" -> "compatible"
* "eanbeld" -> "enabled"
* "envrionment" -> "environment"
* "FTD" -> "FDT" (for "flattened device tree")
* "ommitted" -> "omitted"
* "overriden" -> "overridden"
* "partiton" -> "partition"
* "propogate" -> "propagate"
* "resourse" -> "resource"
* "rest in piece" -> "rest in peace"
* "suport" -> "support"
* "varible" -> "variable"Signed-off-by: Robert P. J. Day
17 May, 2016
1 commit
-
Signed-off-by: Mario Six
06 Feb, 2016
1 commit
-
Correct spelling of "U-Boot" shall be used in all written text
(documentation, comments in source files etc.).Signed-off-by: Bin Meng
Reviewed-by: Heiko Schocher
Reviewed-by: Simon Glass
Reviewed-by: Minkyu Kang
15 Jan, 2016
1 commit
-
With format-security errors turned on, GCC picks up the use of sprintf with
a format parameter not being a string literal.Simple uses of sprintf are also converted to use strcpy.
Signed-off-by: Ben Whitten
Acked-by: Wolfgang Denk
Reviewed-by: Tom Rini
19 Nov, 2015
13 commits
-
Signed-off-by: Valentin Longchamp
-
This board uses the same CPU (8309) as VECT1. The memory however is
different since it has NAND Flash, the NOR Flash partitioning is
different and of course the FPGAs as well.Signed-off-by: Valentin Longchamp
Signed-off-by: Christoph Dietrich -
Setting dip_switch 3 and 4 also will run bootloader in COGE3 and COGE6
It is required remove local mgmt IP address, when DIP Switch PIN3 is
enabled. DIP Switch 4 also enabled to avoid u-boot update in future
for DIP switch enhancements.Signed-off-by: Bagavathiannan Palanisamy
Signed-off-by: Valentin Longchamp -
commit 0a4f88b98 removed the usage of our setports function, but the
function itself were not removed. So toss it it's dead code.Signed-off-by: Holger Brunck
Signed-off-by: Valentin Longchamp -
We use CONFIG_OF_LIBFDT and CONFIG_OF_BOARD_SETUP on all our powerpc
targets, so there is no need to check these defines within our C code.Signed-off-by: Holger Brunck
Signed-off-by: Valentin Longchamp -
On mgcoge3ne we also want to start the test application if the testpin
is asserted. But we don't have a full POST test support yet. So simply
add a function to read the testpin value.Signed-off-by: Holger Brunck
Signed-off-by: Valentin Longchamp -
The get_pin and set_pin funciton was only used for pins on Port D and
therefore the value was hard coded in the function. Enhance this with a
parameter, that we are able to use this functions for other ports too.Signed-off-by: Holger Brunck
Signed-off-by: Valentin Longchamp -
This board is similar to TUXX1, but it has differend FPGAs.
Signed-off-by: Christoph Dietrich
Signed-off-by: Andreas Huber
Signed-off-by: Valentin Longchamp -
Search for the kernel and DTBs in a folder named PRODUCTNAME (found in the IVM)
at the TFTP server instead of the u-boot boardname.Signed-off-by: Tobias Müller
Signed-off-by: Valentin Longchamp
Reviewed-by: Heiko Schocher -
When loading the dtb file via tftp we should load the one which matches
boardId and hwKey and not a common one for the boardname. We have boards
were different hwKeys are used and then we may load an incorrect dtb
file. If no fdt_bid_kwkey.dtb file is not a fallback to boardname.dtb is used.Signed-off-by: Holger Brunck
Signed-off-by: Tobias Müller
Signed-off-by: Valentin Longchamp
Reviewed-by: Heiko Schocher -
There was a small typo for KM_COGE5UN that resulted in the dip switch
not to behave as expected.Signed-off-by: Valentin Longchamp
-
Similar to kmcoge5un we need to check the dip switch at startup
connected to the kirkwood at MPP43. If it's set we need to set the
actual_bank to zero to boot from SW bank zero. Additional to kmcoge5un
we need to check also the pin in misc_init to decide wether we wait for
the ne to start or not. If the dip_switch is set we don't wait and
continue immediately.Signed-off-by: Holger Brunck
Signed-off-by: Valentin Longchamp -
Configure PHY LED register for Marvell 88E1118R PHY used on PIGGY3 to
match with printed descriptions on PCBSigned-off-by: Tobias Müller
Signed-off-by: Valentin Longchamp
[trini: Fix typo, CRTL_PAGE -> CTRL_PAGE]
Signed-off-by: Tom Rini
17 Feb, 2015
6 commits
-
This is not used anymore since the procedure was split into a simple
read function and a later alaysis.The ivm_read_eeprom name is now used for the previous
ivm_simple_read_eeprom function.Signed-off-by: Valentin Longchamp
-
This allows to define the ethaddr env variable according to the the IVM
content by reading the IVM in misc_init_r.Later, when HUSH is available the content read earlier is analyzed to
populate some non env variables.Signed-off-by: Valentin Longchamp
-
This allows to define the ethaddr env variable according to the the IVM
content by reading the IVM in misc_init_r.Later, when HUSH is available the content read earlier is analyzed to
populate some non env variables.Signed-off-by: Valentin Longchamp
-
This allows to define the ethaddr env variable according to the the IVM
content by reading the IVM in misc_init_r.Later, when HUSH is available the content read earlier is analyzed to
populate some non env variables.Signed-off-by: Valentin Longchamp
-
This allows to define the ethaddr env variable according to the the IVM
content by reading the IVM in misc_init_r.Later, when HUSH is available the content read earlier is analyzed to
populate some non env variables.Signed-off-by: Valentin Longchamp
-
This allows to first read the IVM content (earlier in the boot sequence)
and define the ethaddr env variable thanks to the ivm_read_eepromi().
Later, the IVM content can be parsed and used to define some hush
variables, when the hush subsystem is available thanks to
ivm_analyze_eeprom().To avoid the HW read to happen twice, the buffer passed to
ivm_read_eeprom() has to be reused by ivm_analyze_eeprom (and thus
allocated before calling ivm_read_eeprom()).Signed-off-by: Valentin Longchamp
06 Dec, 2014
1 commit
-
This define is never set in our setup, so we can remove it safely. The
former code causes cppcheck to complain about:
[board/keymile/km82xx/km82xx.c:311]: (error) Uninitialized variable:
psizeSigned-off-by: Holger Brunck
cc: Valentin Longchamp
cc: Wolfgang Denk
Reviewed-by: York Sun