This change will disable QPIC related clock because
all QPIC related clock setting is done by SBL.
If again we will try to access QPIC clock from u-boot
then due to xPU protection on QPIC clock register,
will generate the NOC error.
This change will also disable the global counter value
for clock source in register MPM2_MPM_CONTROL_CNTCR.
The global counter value setting is also done by SBL.
Change-Id: I2e9b11c208986fc85a5f3a8fb876c8aea083c87b
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
restart_reason node can be either "/soc/qca,scm_restart_reason" or
"/qti,scm_restart_reason". Add support to handle this.
Signed-off-by: Kathiravan T <kathirav@codeaurora.org>
Change-Id: I6ceb35ccdb5305d8ecf39089a5bf2ef426e80a81
This config enable Block device support and
DOS partition support , required for USB command.
Change-Id: I5734e468f7deded2ba2f44921e8f4ff5420c4801
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
This will enable populating mtd partitions in NAND boot
with the upstream kernel.
Change-Id: Ideb7fe11ae58964dd47db3561400d5537c9f2ade
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
This allows Linux Kernel to use all
smp cores available.
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Change-Id: Id63c506d17eeb9cc15cc453adb89f77fa1cb4039
This change is to add device-tree files and Makefile changes
to support the following board variants
- MP02.1
- MP03.1
- MP03.3
The device tree files are copies of emulation-dts
along with RDP specific changes
. Disabled eMMC support for MP02.1
. Timer frequency to be used from soc-dtsi
. Removed 'emulation' flag from xhci
Change-Id: I0d5e776c98770e61fa2ab6009fd78ff5cc8127c3
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
Emulation machinde id is udpated as per the CDT config
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I5f6cf824d1d7b403292bf60432767c5b5ce39a81
This change will enable page_scope_read & multipage_read support for
QPIC.
QPIC version 2.0 onwards , QPIC support page_scope_read &
multipage_read command to enhance the read performance.
In normal page read command SW is needed to write EXEC_CMD register
for each Code word and collect any Status related to that CW before
issueing EXEC_CMD for next CW.
For page_scope read command SW is required to issue EXEC_CMD
only once for a page. Controller HW takes care of Codeword specific
details and automatically returns status associated with each CW to
BAM pipe, dedicated for status deposition.
enabling all bits in NAND_AUTO_STATUS_EN will require 4 data
descriptors of 24 bytes each. This will publish all NANDc status
registers in system memory.
For multipage_read command SW is required to issue EXEC_CMD only
once for all the pages which configured in QPIC_NAND_MULTI_PAGE_CMD
register.
All interrupts will be operational and valid in these modes.
To check the status for each codeword, it is not possible to access
the status registers while the read command is operational in
page_scope & multi_page read modes. Hence, another feature to publish the
status data (for all NAND status registers) by programming the
NAND_AUTO_STATUS_EN register.
For serial NAND:
Read command for page_scope_read = 0x78800032 (QPIC_NAND_FLASH_CMD)
Read command for multi_page_read = 0x78400032 (QPIC_NAND_FLASH_CMD)
For Parallel NAND:
Read command for page_scope_read = 0x00800032 (QPIC_NAND_FLASH_CMD)
Read command for multi_page_read = 0x00400032 (QPIC_NAND_FLASH_CMD)
Now we fixed maximum data bytes read in one go 128KiB(2KiB page),
256KiB (4KiB page), 512 KiB (8kiB page), because from upper layer
we are getting more than 128KiB data bytes request in one go. if so
just changing the value of "MAX_MULTI_PAGE" macro will increase the
maximum data bytes in one go.
Change-Id: I48eea51ff8f5f79f3490d8a538c295ecc3eeee19
Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
This change will redirect the unwanted console prints
Change-Id: I06720e774c280774abbb86b8e8cbcf365bbe8570
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>