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>
The erase timeout has been calculated using the
EXT_CSD_TRIM_MULT so that the erase operation with
larger block counts are not affected.
Change-Id: Ia6dd9318c44b4da315c2b2a82cfabe9eff0aeb41
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
This patch involves changes which makes
sure that MMC init is not done by default
in uboot.
It includes packages required for MMC
init only if CONFIG_QCA_MMC is defined.
This allows us to easily disable/enable
MMC as and when required
Change-Id: I8c64560aee71feed432238c2f9f71e2f6a24d5d9
Signed-off-by: speriaka <speriaka@codeaurora.org>
This patch enables SDHCI mode and also supports
data transfer using ADMA method.
Change-Id: Ia3187fec9024ad0972ca720cf0b9ddc6a59b906c
Signed-off-by: Vasudevan Murugesan <vmuruges@codeaurora.org>
The existing sysupgrade treats all images as 32-bit image.
This change adds a check to signify the image class and
adds functions to process the headers respectively.
Change-Id: I04040fdc6e1a9c6c2df2407cd4b26dddaf4a008c
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
Added length check in tftp to make sure that the image
can only be written in the Linux HLOS region and WLAN
area, so that it does not lead to Uboot stack corruption.
Change-Id: Ide3c62c1fbf09be24286b5536b41cfc56227eacc
Signed-off-by: Sanjeev N <nsanjeev@codeaurora.org>
UBI is memory greedy and needs more malloc area
while accessing above 256M of Flash.
Change-Id: I2521eedaf483e104bcb37886003085ed74c8bf0c
Signed-off-by: Venkat Raju Sana <vrsana@codeaurora.org>
Updated number of alternate partitions and
alternate partition data structure to match
smem entry.
Change-Id: I62484e369ed3d35037237fde2d71f9af045e438a
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Enabled to set multiple ethernet mac addresses
from ART partition into u-boot environment which
in-turn will be patched-up into the kernel dts.
CONFIG_IPQ_NO_MACS should be set accordingly.
Change-Id: I72d1324789685d25adcb3f5c4fb1b54151098f62
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Added fdt-fixup for patching RPM version string
to kernel device-tree that may be required for
test automation and build component information.
Change-Id: I6dedecbe17ecea1a211e3d0a8d64aa1f3835f821
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Kernel fw_env config has statically defined env size
to 256KB on NAND and eMMC and 64KB on NOR flash which
requires u-boot also to be configutred the same way.
This change configures env to support differnt env sizes
and preserves the APPSBLENV and avoids CRC mismatch.
Change-Id: I55f33c17953beb8e97ebe89f215549b6eefc1a48
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
By default, u-boot enables write protection to
environment variable 'ethaddr'. However, we need
it configurable by the software.
Defining CONFIG_ENV_OVERWRITE enables this feature.
Change-Id: I1f17ce7769dc09ef42cfb09933e01a1bd5f2bb86
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Initialize ethernet module only if network communication is needed.
This change is introduced to save the boot up time of the AP.
Change-Id: I318a3e897fe511accef37667af1a6c46ae31db6e
Signed-off-by: Jaiganesh Narayanan <njaigane@codeaurora.org>