07 Dec, 2018
31 commits
-
Enable related configs to support sata DM feature.
Signed-off-by: Peng Ma
Reviewed-by: Simon Glass
[YS: moveconfig.py -s -d]
Reviewed-by: York Sun -
One ls1088a, there is one SATA 3.0 advanced host controller interface
which is a high-performance SATA solution that delivers comprehensive
and fully-compliant generation 3 (1.5 Gb/s - 6.0 Gb/s) serial ATA
capabilities, in accordance with the serial ATA revision 3.0 of Serial
ATA International Organization.
Add sata node to support this feature.Signed-off-by: Peng Ma
Reviewed-by: Simon Glass
Reviewed-by: York Sun -
Add ahci compatible support for ls1088a soc.
Signed-off-by: Peng Ma
Reviewed-by: Simon Glass
Reviewed-by: York Sun -
Enable related configs to support sata DM feature.
Signed-off-by: Peng Ma
[YS: moveconfig.py -s -d]
Reviewed-by: York Sun -
Enable related configs to support sata DM feature.
Signed-off-by: Peng Ma
[YS: moveconfig.py -s -d]
Reviewed-by: York Sun -
One ls1046a, there is one SATA 3.0 advanced host controller interface
which is a high-performance SATA solution that delivers comprehensive
and fully-compliant generation 3 (1.5 Gb/s - 6.0 Gb/s) serial ATA
capabilities, in accordance with the serial ATA revision 3.0 of Serial
ATA International Organization.
Add sata node to support this feature.Signed-off-by: Peng Ma
Reviewed-by: York Sun -
Add ahci compatible support for ls1046a soc.
Signed-off-by: Peng Ma
Reviewed-by: York Sun -
TFABOOT support includes:
- ls1012a2g5rdb/ls1012afrdm/ls1012afrwy_tfa_defconfig to be
loaded by trusted firmware
- define BOOTCOMMAND for TFABOOTSigned-off-by: Pankit Garg
Signed-off-by: Rajesh Bhagat
[YS: remove unnecessary braces]
Reviewed-by: York Sun -
TFABOOT support includes:
- ls1012aqds_tfa_defconfig to be loaded by trusted firmware
- environment address and size changes for TFABOOT
- define BOOTCOMMAND for TFABOOTSigned-off-by: Rajesh Bhagat
Signed-off-by: Vinitha V Pillai
Signed-off-by: Pankit Garg
Reviewed-by: York Sun -
Includes environment.h file in ls1012aqds.c Also, enables
pfe validationSigned-off-by: Vinitha V Pillai
Reviewed-by: York Sun -
TFABOOT support includes:
- ls1012ardb_tfa_defconfig to be loaded by trusted firmware
- environment address and size changes for TFABOOT
- define BOOTCOMMAND for TFABOOT
- enable PFE validation for secure bootSigned-off-by: Rajesh Bhagat
Signed-off-by: Vinitha V Pillai
Signed-off-by: Pankit Garg
Reviewed-by: York Sun -
TFABOOT support includes:
- ls1043aqds_tfa_defconfig to be loaded by trusted firmware
- environment address and size changes for TFABOOT
- define BOOTCOMMAND for TFABOOTSigned-off-by: Pankit Garg
Signed-off-by: Vinitha V Pillai
Signed-off-by: Rajesh Bhagat
Reviewed-by: York Sun -
TFABOOT support includes:
- ls1043ardb_tfa_defconfig to be loaded by trusted firmware
- environment address and size changes for TFABOOT
- FMAN and QE address changes for TFABOOT
- define BOOTCOMMAND for TFABOOTSigned-off-by: Pankit Garg
Signed-off-by: Vinitha V Pillai
Signed-off-by: Rajesh Bhagat
Reviewed-by: York Sun -
TFABOOT support includes:
- ls1046aqds_tfa_defconfig to be loaded by trusted firmware
- environment address and size changes for TFABOOT
- FMAN address changes for TFABOOT
- define BOOTCOMMAND for TFABOOTSigned-off-by: Pankit Garg
Signed-off-by: Vinitha V Pillai
Signed-off-by: Rajesh Bhagat
Reviewed-by: York Sun -
TFABOOT support includes:
- ls1046ardb_tfa_defconfig to be loaded by trusted firmware
- environment address and size changes for TFABOOT
- FMAN address changes for TFABOOT
- define BOOTCOMMAND for TFABOOTSigned-off-by: York Sun
Signed-off-by: Pankit Garg
Signed-off-by: Vinitha V Pillai
Signed-off-by: Rajesh Bhagat -
Add support of MC framework for TFA
Make MC framework independent of boot source.Signed-off-by: Rajesh Bhagat
Signed-off-by: Pankit Garg
Reviewed-by: York Sun -
Adds TFABOOT support and allows to pick QE firmware
on basis of boot source.Signed-off-by: Pankit Garg
Signed-off-by: Rajesh Bhagat
[YS: remove line continuation in quoted string]
Reviewed-by: York Sun -
Adds TFABOOT support and allows to pick FMAN firmware
on basis of boot source.Signed-off-by: Pankit Garg
Signed-off-by: Rajesh Bhagat
[YS: fix checkpatch issues]
Reviewed-by: York Sun -
Returns job ring status as true in TFABOOT, as one job ring is always
reserved.Signed-off-by: Ruchika Gupta
Signed-off-by: Pankit Garg
Reviewed-by: York Sun -
Changes the el2_to_aarch32 SMC ID from 0xc000ff04 to 0xc200ff17,
it is applicable to both TFA and non-TFA boot.Signed-off-by: Rajesh Bhagat
Reviewed-by: York Sun -
Workaround of erratum A010539 clears the RCW source field in PORSR1
register, causing failure of detecting boot source using this method.
Use SMC call if U-Boot runs at EL2. If SMC is not implemented or
running at EL3, continue to read PORSR1 and presume QSPI as boot
source if erratum workaround A010539 is enabled and RCW source is
cleared.Signed-off-by: York Sun
-
OCRAM initialization is performed by TFA, Hence
skipped from u-boot.Signed-off-by: Ruchika Gupta
Reviewed-by: York Sun -
Adds SMC calls for getting DDR size and bank info for TFABOOT.
Signed-off-by: Rajesh Bhagat
Signed-off-by: Pankit Garg
Reviewed-by: York Sun -
Adds bootcmd identificaton on basis on boot source, valid
in TFABOOT configuration.Signed-off-by: Rajesh Bhagat
Signed-off-by: Pankit Garg
[YS: remove unnecessary braces]
Reviewed-by: York Sun -
Removes EL3 specific erratas for TFABOOT, And now taken care in TFA.
ARM_ERRATA_855873, SYS_FSL_ERRATUM_A008850, SYS_FSL_ERRATUM_A008511,
SYS_FSL_ERRATUM_A008336, SYS_FSL_ERRATUM_A009663,
SYS_FSL_ERRATUM_A009803, SYS_FSL_ERRATUM_A009942,
SYS_FSL_ERRATUM_A010165Signed-off-by: Rajesh Bhagat
Reviewed-by: York Sun -
PORSR register holds the cfg_rcw_src field which can be used
to identify boot source.Further, it can be used to select the environment location.
Signed-off-by: Pankit Garg
Signed-off-by: Rajesh Bhagat
[YS: fix multiple checkpatch issues]
Reviewed-by: York Sun -
Adds TFABOOT support config option and add generic code to enable
execution from DDR.Signed-off-by: York Sun
Signed-off-by: Rajesh Bhagat -
IFC driver changes to implement the chipselect mappings at run time.
Defines init_early_memctl_regs and init_final_memctl_regs with
chipselect dynamic mapping for nor and nand boot.Signed-off-by: Pankit Garg
Signed-off-by: Rajesh Bhagat
[YS: fix checkpatch issues]
Reviewed-by: York Sun -
Change tlb base address from OCRAM to DDR when exception level is
less than 3.Signed-off-by: Ruchika Gupta
Signed-off-by: Pankit Garg
Reviewed-by: York Sun -
In case SError happens at EL2, if SCR_EL3[EA] is not routing it to
EL3, and SCR_EL3[RW] is set to aarch64, setting HCR_EL2[AMO] routes
the exception to EL2. Otherwise this exception is not taken.Signed-off-by: York Sun
-
Replaces __ilog2 function call with LOG2 macro, required to
use macros in global variables.Also, corrects the value passed in LOG2 for some PowerPC
platforms. Minimum value that can be configured is is 64K
for IFC IP.Signed-off-by: Pankit Garg
Signed-off-by: Rajesh Bhagat
[YS: fix white space around operator]
Reviewed-by: York Sun
05 Dec, 2018
3 commits
-
Defines env_sf_get_env_addr API to override sf environment address,
required to support multiple environment.Signed-off-by: Rajesh Bhagat
Reviewed-by: York Sun -
Define env_ptr as static in flash and nand env driver to
allow these to compile together.Signed-off-by: Rajesh Bhagat
Reviewed-by: York Sun -
Move static definitions to cpu.c file, as it doesn't allow
the cpu.h file to be included in multiple c files.Signed-off-by: York Sun
04 Dec, 2018
6 commits
-
Signed-off-by: Tom Rini
-
Update email address
Signed-off-by: Jorge Ramirez-Ortiz
-
This reverts commit 6f57c34473d37b8da5e6a3764d0d377d748aeef1 since it
does not seem to work at least on rk3399.The Rockchip Technical Reference Manual (TRM) for the rk3399 says the baud
rate prescaler register is readable only when USR[0] is zero. Since this
bit is defined as "reserved" in the socfpga cylcone5 TRM, let's rather
drop this than making the ns16550 debug uart more platform specific.Reported-by: Roosen Henri
Signed-off-by: Simon Goldschmidt
Reviewed-by: Philipp Tomsich
Reviewed-by: Kever Yang <kever.yang@rock-chips.com -
The biggest part of migration to using CONFIG_BLK is that we need to
have the various subsystems migrated first, so reword the plan here to
reference the new deadlines.Reviewed-by: Simon Glass
Signed-off-by: Tom Rini -
As the core of the subsystem has been converted along with some of the
drivers, formalize a deadline for migration.Cc: Akshay Bhat
Cc: Andreas Geisreiter
Cc: Bin Meng
Cc: Christian Gmeiner
Cc: Fabio Estevam
Cc: Jason Liu
Cc: Ken Lin
Cc: Ludwig Zenz
Cc: Marek Vasut
Cc: Max Krummenacher
Cc: Nikita Kiryanov
Cc: Otavio Salvador
Cc: Peng Fan
Reviewed-by: Simon Glass
Cc: Soeren Moch
Cc: Stefan Roese
Cc: Stefano Babic
Cc: Tim Harvey
Cc: Troy Kisky
Cc: Tuomas Tynkkynen
Cc: York Sun
Signed-off-by: Tom Rini -
As much of the USB system has been migrated to DM now, formalize a
deadline for migration.Reviewed-by: Marek Vasut
Reviewed-by: Simon Glass
Signed-off-by: Tom Rini