To save space in NOR flash, environment loading from flash is
handled differently for NOR and NAND. The size for NOR flash
environment is taken from partition size itself.
Change-Id: I588471b679fad0e96b836d43dc1a0136c5400fc1
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
dcache is enabled only during boot from flash.
During JTAG recovery, dcache_enable is skipped
to avoid cache issues in recovery environment.
Change-Id: Ie3003f67c787cbc6b88dc42017aeb2a9508d2ff9
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
This patch adds the support on nand driver to work
when dcache is on.
flush_dcache_range will do both clean and invalidate.
To avoid any data loss when an un-aligned buffer used
in RX path, before giving buffer to bam and after bam
updates the data in buffer, buffer will be flushed.
Change-Id: Ib38d68726efe1692ae94c2be1af61cf29d1c2e50
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@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
This patch makes diagnostics feature configurable and
in the standard config diagnostics feature is disabled
Change-Id: Ib5478701075591369c14e1a4d1200d792e434df4
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
This patch makes diagnostics feature configurable and
in the standard config diagnostics feature is disabled
Change-Id: Ie3ad2248446043744057a656dab03d44d1e005df
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
Initialize Ethernet module only if network communication is needed.
This is introduced to save the boot up time of the AP.
Change-Id: I210f3eb911621d22f476d7927854c008cef2eb9c
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
This patch enables SPI-NAND support for DK and making
chip select gpio configurable from DTS.
Change-Id: I2ca7d3021fa27da1d83e2a787a1dc626919124f8
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
Enabling spi dma driver for ipq40xx. This patch
also enables rx and tx pipe configurable from dts.
Change-Id: Id6009f6e9863ab2cdf8b105461d62aa68e3d004b
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
kernel fw_env config has statically defined env size
to 256KB on NAND and eMMC which requires u-boot also
to be configured the same way.
Change-Id: If463896ff861036bc856ef7bd342f6233cd82d7a
Signed-off-by: Kathiravan T <kathirav@codeaurora.org>
Added length check in tftp to make sure the image file address
cannot start in u-boot reserved memory (RAM start + ~32MB) and
the image size cannot exceed (RAM end - ~4MB), so that it cannot
lead to Uboot stack corruption.
Change-Id: Ia045cc57d22c2e6eb7999b2e461a0e652ce2e3ae
Signed-off-by: Kathiravan T <kathirav@codeaurora.org>