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>
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>