18 Jan, 2020
2 commits
-
These functions relate to memory init so move them into the init
header.Signed-off-by: Simon Glass
-
This is a network function so let's move it into that header.
Signed-off-by: Simon Glass
17 Dec, 2019
1 commit
-
The SST26VF064BEUI spi-nor flash is programmed at the factory with a
globally unique address stored in the SFDP vendor parameter table and
it is permanently writeprotected. Retrieve the EUI-48 address and set it
as ethaddr env.Signed-off-by: Tudor Ambarus
03 Dec, 2019
5 commits
-
Several boards still unnecessarily included micrel.h but no longer
require it since the switch to Device Tree configuration.Signed-off-by: James Byrne
-
These functions do not use driver model but are still used. Move them to a
new eeprom.h header file.Signed-off-by: Simon Glass
Reviewed-by: Tom Rini -
A number of board function belong in init.h with the others. Move them.
Signed-off-by: Simon Glass
Reviewed-by: Tom Rini -
At present this function sits in its own file but it does not really
justify it. There are similar string functions in vsprintf.h, so move it
there. Also add the missing function comment.Use the vsprintf.h include file explicitly where needed.
Signed-off-by: Simon Glass
Reviewed-by: Tom Rini -
This is only used by a few files so it should not be in the common header.
Move it out.Signed-off-by: Simon Glass
Reviewed-by: Tom Rini
24 Oct, 2019
1 commit
-
Retrieve mac address from i2c eeprom at boot time.
Signed-off-by: Eugen Hristev
08 Oct, 2019
10 commits
-
Automatically detect PDA at boot.
Signed-off-by: Eugen Hristev
-
Boot from QSPI nor flash.
The at91bootstrap, u-boot, u-boot env redundant, u-boot env,
device tree and kernel will reside in the QSPI nor flash.
The rootfs will reside in the NAND flash.Signed-off-by: Tudor Ambarus
-
Boot from nand flash.
Signed-off-by: Tudor Ambarus
-
- EBI Chip Select Register is now in SFR,
- the pins are set to default values,
- timings are matching MT29F4G08BABWP's nand flash requirements.Signed-off-by: Tudor Ambarus
-
Add new board SAM9X60-EK using the ARM926 SAM9X60 SoC.
Signed-off-by: Sandeep Sheriker Mallikarjun
[tudor.ambarus@microchip.com:
- fix number of DRAM banks:
One DDR2-SDRAM (W972GG6KB 2 Gbit = 16 Mbit x 16 x 8 banks]
- drop SPL related macros
- drop memtest macros
- drop CONFIG_SPI_BOOT, CONFIG_SYS_USE_DATAFLASH related macros
- drop inclusion of asm/arch/at91sam9_smc.h]
Signed-off-by: Tudor Ambarus -
Remove 2017 from being printed at boot video console.
This is outdated.
To avoid this situation, remove the year completely.Signed-off-by: Eugen Hristev
-
When SPL boots, enable green led on the board.
Signed-off-by: Eugen Hristev
-
Add support for qspi memory on board. Created boot support for QSPI
for both u-boot proper and SPL.Signed-off-by: Eugen Hristev
-
Add support for SPL for this board: DRAM initialization, PMC initialization,
MMC boot.Signed-off-by: Eugen Hristev
-
Add support for the SAMA5D27-WLSOM1-EK. It's based on the Microchip
WireLess SoM which contains the SAMa5D27 LPDDR2 2Gbits SiP.Signed-off-by: Nicolas Ferre
[eugen.hristev@microchip.com]: added u-boot specific dtsi and ported to 2019.10
Signed-off-by: Eugen Hristev
12 Aug, 2019
2 commits
-
This header file is now only used by files that access internal
environment features. Drop it from various places where it is not needed.Acked-by: Joe Hershberger
Signed-off-by: Simon Glass -
Move env_set() over to the new header file.
Acked-by: Joe Hershberger
Signed-off-by: Simon Glass
09 Jul, 2019
2 commits
-
Add the default config file of QSPI media. The config is based on
sama5d27_som1_ek_mmc_defconfig.Signed-off-by: Tudor Ambarus
Reviewed-by: Jagan Teki -
Add the default config file of QSPI media. The config is based on
sama5d2_xplained_mmc_defconfig.Signed-off-by: Tudor Ambarus
Reviewed-by: Jagan Teki
27 Jun, 2019
1 commit
-
In case someone detects a PDA and u-boot sets the 'pda' variable,
and the user does a saveenv, the pda is set in env, and if the
screen is removed, u-boot will still have in the env the 'pda'
variable, even if no screen is attached.
In order to fix this, we have to reset the 'pda' variable,
such that it's not just set if the screen is detected, but also unset
if no screen is detected.Signed-off-by: Eugen Hristev
15 May, 2019
3 commits
-
Enable the green led on SPL completion.
Red led has no pulldown and it will be lighted by default when the
board starts up.
If the PMIC is not configured to enable LDO2, the leds will not light.Signed-off-by: Eugen Hristev
-
The 2 CAN transceivers have a STBDY pin which must be low in order to
operate.
This pin is tied to PB25.
Set it to 0 in bootstrap.
At a later time, this needs to be controlled by Linux power management
system, or requested by some driver as a gpio and tied to 0 during
CAN link up.Signed-off-by: Eugen Hristev
-
Some periphs on the board need to be reset by holding their reset GPIO down
for a specific time period.
On a warm reset, the periphs are not being reset by any reset pin and may be
in a wrong state.
Reset them in the SPL to make sure we are booting into the correct state
machine of the specific board periphs (KSZ eth switch, USB hub, HSIC eth,
Ethercat)Signed-off-by: Eugen Hristev
18 Apr, 2019
1 commit
-
The SAMA5D2 ICP Board features the SAMA5D27 SoC,
together with QSPI Flash, Wilc3000 wireless device and
EtherCat support.Signed-off-by: Eugen Hristev
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
2 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