Enable the PPE tx_mac only if the phy link is up else disble
the PPE tx_mac.
Change-Id: I7226a104fa287f8378b98923a00d0caa3f91079d
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
This patch involves changes which makes
sure that spi related functionalities are
used only when the config corresponding
to it is defined.
This change will allow us to disable or
enable spi as per our need.
Change-Id: I6c3865a6028b9f2a50fe0bface35b1695b17b515
Signed-off-by: speriaka <speriaka@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>
1. This driver is directly being registered with MTD
layer.So for OOB operations, the device OOB size will be
passed. NAND controller can’t handle the complete OOB so
calculate NAND Controller supported OOB size and overwrite
the device OOB size with that.
2. Enabling 8 bit ECC support in dev0_ecc_cfg register
Change-Id: I5f4297932eea6bed47182d235d081cbe30d1b85c
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
using nand command will change the default nand device to 1. This will
try to read the nor patitions so one if user tries to read the nand partitions.
Change-Id: Id73e89f479b5735fd5b28a871680190f48a76f0e
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
Added check for dcache status before flushing.
Change-Id: I69462aa7852f96611e663acdf43aecd005a50c38
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
board_pcie_clock_init() is not defined for ipq807x platform, which leads
to compilation issue. This change addresses the same.
Change-Id: I63bee5e731005966940b95ac7c3cf5d8c54f5d58
Signed-off-by: Kathiravan T <kathirav@codeaurora.org>
aquantia phy is only supported for ipq807x. On ipq806x and ipq40xx platform,
aquantia related function is called which leads to compilation issue. This
change addresses the same.
Change-Id: I65e6c8829af4b3e79eb256eeef139ad867c73520
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>
As DK and AK does not have pci-phy entry making it as
applicable only for HK
Change-Id: I52d110f4012b867bb019859be9168b3aea68bfd4
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
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>