This patch involves changes which makes
sure that usb init is done only when the
config CONFIG_USB_XHCI_IPQ is defined.
This change will allow us to disable or
enable usb init as per our need in uboot.
Change-Id: Icc0213470734856e763cddea747f17e3bc1ba51d
Signed-off-by: speriaka <speriaka@codeaurora.org>
This patch involves changes which makes
sure that pci init is done only when the
config CONFIG_PCI_IPQ is defined.
This change will allow us to disable or
enable pci as per our need in uboot.
Change-Id: I802de281938442d38451230c3aba340addd2f2ee
Signed-off-by: speriaka <speriaka@codeaurora.org>
This patch involves changes which makes
sure that spi init is done only when the
config CONFIG_QCA_SPI is defined.
Previously, since spi was a sub part of
nand, spi_init was done without checking if
CONFIG_QCA_SPI is enabled.
This change will allow us to disable or
enable spi as per our need in uboot.
Change-Id: Ic75301872d5ac161cd7b863c59c12437aa6f7126
Signed-off-by: speriaka <speriaka@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>
If crashdump magic is found, should not allow user
to access u-boot prompt as tz will be in unsecure state.
Change-Id: I081e84eceada7ffe72d9b4fa4f0425535e4aabde
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
The aquantia phe reset is done by default even though
firmare download is not enabled.
Change-Id: I67071df2a829b9f420209a9112affc86bb736e49
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
SGMII channel 0 is used for uniphy instance 1 and 2,
so set the SG_MODE for uniphy instance 1 and 2. Channel 0,1
and 4 are used for instance 0. So set CH1_CH0_SGMII and
CH4_CH1_0_SGMII for channel 1 and 4 respectively.
Change-Id: Ie6f0afa6419a9895f730c89fa27fb80b122acf73
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
Print spi 3 byte address by default if the
SMEM_SPI_FLASH_ADDR_LEN ID is not passed in smem.
Change-Id: I6b55401adb89a1341130465ae307c30901ce7895
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
This change adds support to check devcfg version and
allows sysupgrade only if the version is higher.
Change-Id: I7192f428c50c1b1b9eeddd1aac0d57d341d32436
Signed-off-by: Pavithra Palanisamy <pavip@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>
QUADRO test suite detects EBICS0.BIN file for crash dump,
Change in this sequence resulted in wrong dump collection,
Changing the dump sequence to suit QUADRO test needs.
Change-Id: I6f32421b47252474b6b6f9922dea8f621388bc6b
Signed-off-by: Venkat Raju Sana <vrsana@codeaurora.org>
Added support to choose FIT image config by
setting environment variable 'config_name'.
Setting environment variable will override
device tree entry.
Change-Id: I4d418b840a0e7e6c71d2c681b6929ef58cf0e570
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Reset command must be the first command issued to all
targets after the NAND flash device is powered on.
Change-Id: I617dc5b0ad8d72705dcf20f1cb554134b166e533
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
This SMEM type is to determine the spi flash addr is in 3 byte
or 4 byte.
Change-Id: I705a9c5c6f760b93e112a873ead41cd76520501b
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
Currently our sysupgrade is comparing the calculated hash,
and referenced hash using strcmp(), A valid binary hash can
contain zeros or null, this can make strcmp() to stop when it
encounters a zero or null. To check the entire hash, not just
the bytes of the hash up to the first zero, we will use memcmp().
The existing code uses mbn_header->code_size for calculating
source offset from the image, this change adds mbn_header_size
for the calculation.
Change-Id: Iaae39d04e8e4aafc686a5acbc499b11b2b8d6602
Signed-off-by: Pavithra Palanisamy <pavip@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 a separate dumpinfo entry for
Secure boot to skip secure region.
Change-Id: Ib3836a851e8b0603a9c08013de293dcbe8e3c0fb
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
MDIO clock divider is set to 0x7 (counts to 8)
to produce 12.5MHz (100MHz/8) MDC frequency.
Change-Id: Ic7969aebf9fcbb14601ba8e56563959ab0b25657
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>