22 Oct, 2018
1 commit
-
When booting and CPU is detected from cpuid, we also need an environment
variable that will be used in boot commands to load the proper devicetree.Signed-off-by: Eugen Hristev
09 Oct, 2018
1 commit
-
At present this function uses pixels but it seems more useful for it to
position in terms of characters on the screen. This also matches the
comment to the function. Update this.Unfortunately there is one user of this function (at91). Have a crack at
fixing this, since I cannot test it.Signed-off-by: Simon Glass
Reviewed-by: Anatolij Gustschin
01 Oct, 2018
2 commits
-
Updated the maintainership for the at91 boards.
Signed-off-by: Eugen Hristev
-
Signed-off-by: Tom Rini
29 Sep, 2018
6 commits
-
Call the PDA detection mechanism at boot time so we can have
the pda environment variable ready for use.Signed-off-by: Eugen Hristev
-
Call the PDA detection mechanism at boot time so we can have
the pda environment variable ready for use.Signed-off-by: Eugen Hristev
-
Call the PDA detection mechanism at boot time so we can have
the pda environment variable ready for use.Signed-off-by: Eugen Hristev
-
Call the PDA detection mechanism at boot time so we can have
the pda environment variable ready for use.Signed-off-by: Eugen Hristev
-
Call the PDA detection mechanism at boot time so we can have
the pda environment variable ready for use.Signed-off-by: Eugen Hristev
-
This adds the support for PDA detection as common code for
Atmel boards.
Using the one wire interface over GPIO , an EEPROM memory is read
and compared to preprogrammed values for PDA screens TM4300, TM7000
and TM7000B.
Once the PDA is detected, an environment variable is set accordingly.Signed-off-by: Eugen Hristev
08 May, 2018
4 commits
-
According to the REVB schematic, fix the USB vbus power enable pin.
Based on original work by Wenyou Yang
Signed-off-by: Eugen Hristev
-
To fix the issue of write the rootfs.ubi, adjust the smc timings
configuration of the nand controller.Based on original work by Wenyou Yang
Signed-off-by: Eugen Hristev
-
When a pin is muxed to a peripheral or as a GPIO, the only
configuration that can be set is the pullup. It is too restrictive
so this patch allows to give a full configuration.Signed-off-by: Ludovic Desroches
-
The drive strength has to be set to medium for the NAND data lines.
With a low drive, we can get some data corruption.Signed-off-by: Ludovic Desroches
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
09 Apr, 2018
1 commit
-
In order that we can use eth_env_* even when CONFIG_NET isn't set, move
these functions to environment code from net code.This fixes failures such as:
board/ti/am335x/built-in.o: In function `board_late_init':
board/ti/am335x/board.c:752: undefined reference to `eth_env_set_enetaddr'
u-boot/board/ti/am335x/board.c:766: undefined reference to `eth_env_set_enetaddr'which caters for use cases such as:
commit f411b5cca48f ("board: am335x: Always set eth/eth1addr environment
variable")when Ethernet is required in Linux, but not U-Boot.
Signed-off-by: Alex Kiernan
10 Jan, 2018
1 commit
-
Given gcc-6.1 and later we can now safely have strings discarded when
the functions are unused. This lets us drop certain cases of not
building something so that we don't have the strings brought in when the
code was discarded. Simplify the code now by dropping guards we don't
need now.Cc: Stefano Babic
Cc: Fabio Estevam
Cc: Chander Kashyap
Cc: Thomas Abraham
Cc: Vipin Kumar
Cc: Wenyou Yang
Signed-off-by: Tom Rini
04 Dec, 2017
1 commit
-
This header was renamed to rawnand.h in Linux.
The following is the corresponding commit in Linux.
commit d4092d76a4a4e57b65910899948a83cc8646c5a5
Author: Boris Brezillon
Date: Fri Aug 4 17:29:10 2017 +0200mtd: nand: Rename nand.h into rawnand.h
We are planning to share more code between different NAND based
devices (SPI NAND, OneNAND and raw NANDs), but before doing that
we need to move the existing include/linux/mtd/nand.h file into
include/linux/mtd/rawnand.h so we can later create a nand.h header
containing all common structure and function prototypes.Signed-off-by: Masahiro Yamada
30 Nov, 2017
1 commit
-
Add the SAMA5D2 PTC EK board and remove the SAMA5D2 PTC ENGI board
which was a prototype.Signed-off-by: Ludovic Desroches
Signed-off-by: Wenyou Yang
06 Nov, 2017
1 commit
-
As part of my usual round of build testing, output about missing
MAINTAINERS information was not logged, and thus often overlooked.
Correct that mistake by ensuring that I log the output of
genboardscfg.py every time. As part of that, address a number of
missing MAINTAINERS entires. In the case of a missing file, I have put
the original submitter down. In the rest of the cases I have added the
config (and sometimes relevant header file) to the existing set of file
globs.Signed-off-by: Tom Rini
16 Oct, 2017
1 commit
-
Last user of this option went away in commit:
fdc7718999 ("board: usb_a9263: Update to support DT and DM")
Signed-off-by: Tuomas Tynkkynen
29 Sep, 2017
5 commits
-
Convert the board to support the video driver model, add the device
tree node, and remove the unnecessary code.Signed-off-by: Wenyou Yang
Reviewed-by: Simon Glass -
Convert the board to support the video driver model, add the device
tree node, and remove the unnecessary code.Signed-off-by: Wenyou Yang
Reviewed-by: Simon Glass -
Convert the board to support the video driver model, add the device
tree node, and remove the unnecessary code.Signed-off-by: Wenyou Yang
Reviewed-by: Simon Glass -
Convert the board to support the video driver model, add the device
tree node, and remove the unnecessary code.Signed-off-by: Wenyou Yang
Reviewed-by: Simon Glass -
Convert the board to support the video driver model, add the device
tree node, and remove the unnecessary code.Signed-off-by: Wenyou Yang
Reviewed-by: Simon Glass
15 Sep, 2017
4 commits
-
To remove the assignment of CONFIG_SYS_EXTRA_OPTIONS option,
which is deprecated, use the CONFIG_XXXX_BOOT options to
indicate the boot media, and the SoC is selected by the board.Signed-off-by: Wenyou Yang
-
The SAMA5D27-SiP (System in Package) integrates the SAMA5D2
with 1Gbit DDR2-SDRAM in a single package.The SAMA5D27 SOM1 embeds a 64Mbit QSPI flash, KSZ8081 Phy and
Mac-address EEPROM.Signed-off-by: Wenyou Yang
Reviewed-by: Simon Glass -
Because before switching to a lower clock source, we must switch
the clock source first instead of last. So before configuring the
PMC_MCKR register, invoke at91_mck_init_down() first.As said in datasheet, the the size of SPL must not exceed the maximum
size allowed(64Kbytes).Signed-off-by: Wenyou Yang
Reviewed-by: Simon Glass -
Add a function to display the company's logo and board information
via the API from DM_VIDEO. This function can be shared by other
atmel boards, so locate it in board/atmel/common folder.Signed-off-by: Wenyou Yang
Reviewed-by: Simon Glass
12 Sep, 2017
3 commits
-
Add the code to set the ethernet mac address from eeprom by using
the common code from the common folder.Signed-off-by: Wenyou Yang
Reviewed-by: Simon Glass -
Replace the code to set the ethernet mac address with the code from
the common folder.Signed-off-by: Wenyou Yang
Reviewed-by: Simon Glass -
Create board/$(VENDOR)/common folder to accommodate the common code
shared by other atmel boards, now put the code to set ethernet mac
address from eeprom, which uses the i2c eeprom driver.Signed-off-by: Wenyou Yang
Reviewed-by: Simon Glass
16 Aug, 2017
3 commits
-
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 -
Rename this function for consistency with env_set().
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
05 Aug, 2017
4 commits
-
To support driver model and device tree, use the SPI-flash-based
AT45xxx DataFlash driver, DataFlash is a kind of SPI flash.
Instead of ATMEL_DATAFLASH_SPI DataFlash older driver that will
be removed in the future.Signed-off-by: Wenyou Yang
Reviewed-by: Simon Glass -
To support driver model and device tree, use the SPI-flash-based
AT45xxx DataFlash driver, DataFlash is a kind of SPI flash.
Instead of ATMEL_DATAFLASH_SPI DataFlash older driver that will
be removed in the future.Signed-off-by: Wenyou Yang
Reviewed-by: Simon Glass -
To support driver model and device tree, use the SPI-flash-based
AT45xxx DataFlash driver, DataFlash is a kind of SPI flash.
Instead of ATMEL_DATAFLASH_SPI DataFlash older driver that will
be removed in the future.Signed-off-by: Wenyou Yang
Reviewed-by: Simon Glass -
Add the dts files to support deivce tree, update the configuration
files to support the device tree and driver model. The peripheral
clock and pins configuration are handled by the clock and the pinctrl
drivers respectively.Enable the early debug UART to debug problems when an ICE or other
debug mechanism is not available.Signed-off-by: Wenyou Yang
Reviewed-by: Simon Glass