Using of Dcache invalidate all resulted in stack which
was dirty being invalidated. Hence the return address stored
in stack wasn't flushed and this caused issues. Reverting to
invalidate_dcache_range.
Change-Id: I382e07a3a81885ab02c9eae38196d3aa3ba8b086
Signed-off-by: Manoharan Vijaya Raghavan <mraghava@codeaurora.org>
U-Boot now has dcache turned on. This requires cache flushing to
be performed before executing smc instrution. There are calls which
are made to TZ with huge buffer (such as kernel image for authentication).
Flushing and invalidating by address for such huge buffer will have
a performance impact, as the size of buffer is vastly bigger than
the cache size itself. Hence performing a flush of the entire cache
as opposed to performing cache flush with a start and end address.
Change-Id: If90a49d240ecf021ac9714025b6de0cce3fb9fc8
Signed-off-by: Manoharan Vijaya Raghavan <mraghava@codeaurora.org>
In case of AP148 , the S17C switch has to be additionally reset using
GPIO 63. This is done for soft reboot cases.
This change is ported based on commit e1c6cd2c07
Change-Id: I31ce8a34797ae353035a7b3fa05ad2783f78aece
Signed-off-by: Kathiravan T <kathirav@codeaurora.org>
Invokes TZ (via scm call) to pull Core-1 out of reset if
crash magic is set. TZ saves the register contents in the
NSS TCM, which is saved from U-Boot as CPU1_REG.BIN as part
of the crash dump saving procedure.
Change-Id: I8e1404fb354a47ae69d70d13a79f45bd4eb1c450
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
Removing I2C and PCIe nodes from HK07 Uboot
DTS as these are not used.
Change-Id: I6ad642fe574b7cd1bd1369cd8baa92d6ccdcad00
Signed-off-by: Nikhil Prakash V <nprakash@codeaurora.org>
Support for ESS switch node in uboot device tree
for HK07.
Change-Id: I4f5e53a713cc8c257bbc5694c434a28625720062
Signed-off-by: Nikhil Prakash V <nprakash@codeaurora.org>
Adding device tree support for HK07 in u-boot-2016.
Change-Id: Ib1ea4ffe1df241d2c2cbd3fac4fff3f157eae077
Signed-off-by: Nikhil Prakash V <nprakash@codeaurora.org>
In case of 11ad dock (AK01), 8033 phy needs to be reset,
before switch initialization. GPIO32 is configured to
reset phy.
Change-Id: I18a7f05b57c9a02adb27d58d8b4098d44edb49bd
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
This patch is to support DK01-C3 dts which is required
for standard profile in linux 4.4 kernel.Linux 3.14 kernel
does not have DK01-C3, hence it uses DK01-C1 config.
Change-Id: I4afa8c4511e55f093b573cf42e04b0917ce7d0b4
Signed-off-by: Sasirekaa Madhesu <smadhesu@codeaurora.org>
1. Added pci entries in AP160 and AP160_2xx dts
2. The wifi pcie card requires to be powered on from GPIO
pins. This patch also adds the same in AP160 dts file and
enable it during PCIe configuration.
Change-Id: Icd8f5741d5df38d46640c78a7475853e77b873a9
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
Updated the drive strength and pull up values for
the emmc pins.
Reference commit id:185a9ad97acb1d0ee18b9af45a17e1d183af2674
Change-Id: I1e38a51eb1a4c1701866c1f45c8189eea9cd1337
Signed-off-by: Sasirekaa Madhesu <smadhesu@codeaurora.org>
Previous pending L2 cache errors are cleared during the
cleanup phase before transferring the control to linux.
Change-Id: I3a54c64049135e150c2b49b0d6de1667511b6a14
If the dump_to_flash environment variable is set with the proper
offset in u-boot, crashdump data will be stored to flash memory.
Otherwise it will be stored in tftp server.
Change-Id: I10ac1016e3dfe6a2fa11a0a67c5774b29c3df67a
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>