This change will add support for serial training in
QPIC.
Due to different PNR and PCB delays, serial read data
can come with different delays to QPIC. At high frequency
operations Rx clock should be adjusted according to delays
so that Rx Data can be captured correctly. CLK_CNTR_INIT_VAL_VEC
in NAND_FLASH_SPI_CFG register is a 12-bit vector which is divided
in 4 parts of 3 bits each representing delay of 4 serial input data
lines. Bit [2:0] corresponds to qspi_miso[0], bit [5:3] corresponds
to qspi_miso[1], bit [8:6] corresponds to qspi_miso[2] and bit [11:9]
corresponds to qspi_miso[3]. Delay of each qspi_miso line can be set
from 0 to 7.
For serial training the following rule should be followd.
1) SW should write a page with any known pattern in flash at lower
frequency.
2) Set the CLK_CNTR_INIT_VAL_VEC for qspi_miso[0] line.
3) Read that page repetitively in high frequency mode until it
gets data accurately.
4) Repeat above steps for other qspi_miso lines.
Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: If622809efff55fb2abe60f409a590abd5313741b
Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
This change duplicate the mp03.1 dts with minimal node.
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I90a7eac51f022af0d66865cbe6b4df6bc57972a7
This new dts file contain uart support for sod bring up purpose
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I994e041363702febc40ed3c7632f76468483f8ca
This change will add condition check based on dts property
status ="okay" and status = "disabled" for qpic nand initialization.
qpic_nand init will get called if and only if the corresponding
dts file will set the status="okay" for nand-controoler node.
if status="disabled" then qpic nand initialization will be skipped.
Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: Iea3069ee7b0e54635b991e6d932ac9273b26fe0f
This code update add support in tiny spi-nor flash
for uncompressing the ART partition and read
the mac address.
This support GZIP and LZMA compression
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I699cebeb98748116ab7e3b1412d33562a4aa9d6d
This change will remove duplicate nodes from dts
and update machine id.
Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: I62f7868fe6b7c4b5eeb0f16e9ea65099cbb40f01
change print to exit with error code so that we know
when an image packing fails
Change-Id: I55b791c226de1c6b2d40c4886a43b301c58aa644
Signed-off-by: Saravanan Jaganathan <sjaganat@codeaurora.org>
This changes remove nand command and Env support
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I6c59f8259306ef79499420afe4da17a2674e98be
This code changes remove initializing nor as sudo NAND in mtd
framework and add sf command support to read from ART partition
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I39a27a72d9ab966f95d58adb4274660e147df67c
This code changes remove boot support for netbsd, vxworks and
rtems.
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I1f435fc80f29ad1f8e52e4b18d832e120ac9a503
This code changes remove the list of features given below
which is not required for tiny u-boot.
1.CONFIG_EFI_PARTITION
2.CONFIG_RBTREE
3.CONFIG_CMD_CACHE
4.CONFIG_CMD_BOOTZ
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I8174686db1e30334512fb2c77e77aa9ae101e023
This Fix will skip phy init sequence
for IPQ5018 because it doesn't need
any phy initialization.
Signed-off-by: Manikanta Mylavarapu <mmanikan@codeaurora.org>
Change-Id: I781ea03eda933692d6a096c97d93d238b1e7063d
Uboot passes the partition table in smem to kernel through
device tree. There is currently no method to specify
additional paritions to be created. This environment
variable addmtdparts allows users to specify new
partitions. The format is
setenv addmtdparts <newpart>[,<newpart>,...]
where <newpart> is <size>[@<offset>][<name>][ro][lk]
This syntax is same as in mtdparts part definition.
Example:
setenv addmtdparts 100M@0x8080000(diag)
Change-Id: I91486cf5f74b0724565735f116ee1ec6722ba683
Signed-off-by: Saravanan Jaganathan <sjaganat@codeaurora.org>
This change will add all GPIO configuration for DB boards
as per DB board schematics.
Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: Ic853acc1639c344327f509ef0b391b9e3fd9933a
LZMA usually performs better than gzip in terms of compression
ratio, IPQ5018 has small flash memory and hence the lzma support
is enabled defining the CONFIG_LZMA define.
Signed-off-by: Ram Chandra Jangir <rjangir@codeaurora.org>
Change-Id: Ib07abe85206f011c637c61a7c00d8d3788120a41