This changes reduce spi-nor drv_strength from 8mA to 2mA.
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: Ib21e8229fff3ce81f5da29edfb978cbe1fdc833b
This change make the qca_8337 switch initialization generic based on
dts irrespective of gmac controller.
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I292992307ead2cd7bbb0763ff483dc16c266d417
This change fix Access violation created by APPS
master by accessing QPIC_XPU issue due to accessing
QPIC_QSPI_MSTR_CONFIG & QPIC_NAND_FLASH_SPI_CFG registers
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: Ibb840db12359eea01823dd7732fcb1ac1e7b8967
This features not support in tiny nor profile,
since no CONFIG_GZIP lib support
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: Ia6321e60f5451e60193804ef2dba22ea493b435c
Linux-5.4 images are compressed with LZMA. So enable the decompressor
support for the same.
Signed-off-by: Kathiravan T <kathirav@codeaurora.org>
Change-Id: I537c238fbab182e78e307ecb95bd47c0c9f9e8f5
This change will fix erase address configuration for QSPI
nand devices whose density is beyond 128MiB.
To erase a block as per datasheet of serial nand device
page row address <5:0> and the Block row address <16:6>.
In code we are forming directly pages address starting
from <16:0> i.e 17-bit address. Currently we are configuring
address_0 and address_1 register as follws.
addr0 = (page << 16) and addr1 = 0x0;
This logic will work if device size upto 128MiB, but if device
size beyond 128MiB then this logic will fail becasue upper most bit
will go out of add0 register.
Fixing this by changing address configuration logic for erase block.
addr0 = (page << 16) addr1 = (page >> 16) & 0xffff;
Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: I4950bb611780257629491ffbb42c91fcfedebc58
During dump collection, when dump_to_flash enabled, nand erases are skipped
due to unaligned written. This changes handles that and write after erasing
Signed-off-by: Karthick Shanmugham <kartshan@codeaurora.org>
Change-Id: Idfc6b3a0596a5ddb5c7e0b0da5c7bcb2751769b8
This change skip kernel signing validation and proceed with
unsigned boot path only if atf set in env.
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I01728c754eb1a7514e7206056385a55e0ba192c7
This patch adds support to add / edit array of 32bit or 64bit
values. Also, detailed documentation is updated.
To add 32bit or 64bit array values:
setenv fdtedit0 <node_path>%<bit_value>?<num_values>?<property_name>%<value1>?<value2>?..
here, <bit_value> can be 32 / 64; <num_values> is number of array elements
to be patched; <property_name> is the actual name of the property to
be patched; each array value has to be separated by '?'
for reg = <addr> <size>; <num_values> is 2 in this case
example:
setenv fdtedit0 /soc/dbm@0x8AF8000/%32?2?reg%0x8AF8000?0x500
setenv fdtedit1 /soc/pci@20000000/%32?2?bus-range%0xee?0xee
setenv fdtedit2 /soc/usb3@8A00000/%32?4?reg%0x8AF8600?0x200?0x8A00000?0xcb00
setenv fdtedit3 /reserved-memory/tzapp@49B00000/%64?2?reg%0x49A00000?0x500000
Signed-off-by: Balaji Prakash J <bjagadee@codeaurora.org>
Change-Id: Ia68464c8d7288a09a6b1004b8e7364a248e10522
This change add tiny_debug config for ipq5018, this config
duplicates the tiny config with additional nand support.
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I1acaa0159563144e6410f3ed6f0fc2a490b4e26c
This changes add additional argument for binary size
information in fuseipq.
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I9ea5e3104a750377b7999a5e0475739b107b0204
This change will skip the bad blocks offsets, if any while writing
into the nand flash duirng crash when dump_to_flash enabled. This
change also verifies whether the dump data is not overwritten into
the next partition.
Signed-off-by: Karthick Shanmugham <kartshan@codeaurora.org>
Change-Id: I0eec4c772a5f5efb3c17bfd1fd3d3d9a5ff85d1d
Printing on console while executing multi core command causes a race
condition in serial driver and results in data abort. Disable serial
console briefly during secondary cpu bring up to overcome the race
condition and data abort exception.
Signed-off-by: Sivaprakash Murugesan <sivaprak@codeaurora.org>
Change-Id: I6b3cda3bd828cbcaf8e766f243f8137ab496a805
- u-boot text region + pgtable requires
800KB. Hence adjusted text base address
to 0x4A92000, so that the text region + pgtable
fits at the last 800KB of 2MB memory space, leaving
200KB above them for other regions
- Size of Heap region is reduced to 1MB from 1.5MB
- Maple uses gmac controller for Ethernet DMA process,
which does not require non-cached memory, hence we
can avoid reserving 1MB for noncached memory and the
same can used for other components.
- Right now, 256KB of memory was used from stack
for env reloc/save functionalities which makes the
SP extend beyond 2MB. Hence, modified them to
allocate memory from Heap.
- With this patchset, the u-boot fits into 2MB space
and the rest 2MB can be used for other components
Change-Id: I962d86d81b1c52cbef575f974924d16ec6e3db89
Signed-off-by: Karthick Jeyaraman <kjeyaram@codeaurora.org>
This update is to support packing multiple wifi firmware images
and flash respective fw image based on boards' machid which has
matching wififw type configured.
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
Change-Id: Ic932e59ceae58dc432bed20aaeb51272216f06eb