If usec >= 224000 usec, then:
usec * GPT_FREQ_KHZ = 224000 * 19200 >= 0x100590000,
which is a 33 bits value
To fix this usec is typecasted to 64 bit
(unsigned long long)usec * GPT_FREQ_KHZ
Change-Id: Ib1642d39b0581d2c04c62e415a1fd2dfed47fff1
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
(cherry picked from commit 72d8ec613f)
Fix pci_find_ipq_devices(), which is checking all the PCIe hose from
the given ID and if searching device is not present, it moves till
the last PCIe hose and finds the device. This leads to duplicate
entries if unknown devices are also present. Instead it should
check only the selected PCIe hose and return success or failure.
Add QCN6432 in PCI device list so that list_pci command can show it.
Change-Id: I1fd1af9a760354f558680889dd5804abd6145dea
Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>
This RDP 483 (MI04.3) is based on RDP478 (MI04.1-C2).
RDP483 has u-boot eth config:4*2.5GE (1+3)
Change-Id: I670e32f3c49a2a71bca8d349b7f4f5334075836c
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
(cherry picked from commit ea59bdfcf6)
We used to configure SFP RX pin with 8MA drive strenght and pull
up enabled, but later identified that, it is not really required.
Then, removed it in miami.
But, looks likes when device like SFP-80M module is connected to
SFP cage, these configurations are needed. So, enabling it on
all miami sfp rdps.
This change wont affect our SFP-30M module behaviour.
Change-Id: I5dd758e1d982062d9a0259b50e1e537eeda8ddc8
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
(cherry picked from commit b66a91afdd)
This patch also skips adding clean marker if rootfs_data
size is less than 1MB
Change-Id: I3687a1d9954dfc319f6b3880556169269a72c4ea
Signed-off-by: Rajkumar Ayyasamy <quic_arajkuma@quicinc.com>
Enable compressed ART support and also
included related header files.
Change-Id: Ie28a0e5a91548b8b4ae9ae0560b7d139812145b3
Signed-off-by: Gokul Sriram Palanisamy <quic_gokulsri@quicinc.com>
(cherry picked from commit 00b660e13d)
during recovery mode dcache will not be available.
So, skip dcache disable and enable during
network transfer
Change-Id: Icc89c846580ebcd73332061a55ae9d8c15fa2b1a
Signed-off-by: Gurumoorthy Santhakumar <quic_gsanthak@quicinc.com>
(cherry picked from commit 96f2c8480b)
during NOR rootfs image flashing , each block in the
remaning space (rootfs_data) will be updated with jffs2 clean marker
Change-Id: I324ee3d61b427533473ebed6653ae8716b31600b
Signed-off-by: Rajkumar Ayyasamy <quic_arajkuma@quicinc.com>
This patch updates the image_type condition check
for 0:WIFIFW since emmc-partition.xml each partition
information is parsed in single xml tag but for other
partition.xml files each partition information is
mentioned in multiple xml tags
For Example
ipq5332/flash_partition/tiny-nor-partition.xml
<partition>
<name length="16" type="string">0:WIFIFW</name>
<size_kb length="4">5500</size_kb>
<pad_kb length="2">0</pad_kb>
<which_flash length="2">0</which_flash>
<attr>0xFF</attr>
<attr>0xFF</attr>
<attr>0x00</attr>
<attr>0xFF</attr>
<img_name image_type="hlos" optional="true" type="string"
wififw_type="1">wifi_fw_ipq5332_qcn6432_squashfs.img </img_name>
</partition>
ipq5332/flash_partition/emmc-partition.xml
<partition
label="0:WIFIFW"
size_in_kb="12288"
type="888d8069-8d27-40a8-95a9-6006e1ce9b3b"
bootable="false"
readonly="false"
image_type = "hlos"
optional="true"
filename="wifi_fw_ipq5332_qcn9224_v2_single_dualmac_squashfs.img"
/>
Change-Id: I1b5835b0835f2c05958924ad6ce5f403e934aac4
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
tiny-nor was using ubi volume name "wifi_fw" instead
of partition name "0:WIFIFW". This change fixes the same.
Change-Id: I55dc83a2cc40178ffffdfa25fe20a739f21040ad
Signed-off-by: Gokul Sriram Palanisamy <quic_gokulsri@quicinc.com>
This change will fix warnings occurred during
compilation of sysupgrade source files
Change-Id: I0526da607b383064b4c5cea7462fe4c12c669a3b
Signed-off-by: Vijay Balaji <quic_vijbal@quicinc.com>
(cherry picked from commit 6a7c18c463)
This change adds MI01.2-C2 (RDP484) which is a derivative of RDP441
with PON SFP connected and ethernet SFP plugged out.
Change-Id: I2075b3a4f09e510bbc5f188209435b97b06e5ba7
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
This patch resolves the wififw section name mis-match for
the nor flash types.
In image info, wififw-SHA-HASH is used, whereas in the scripts
wifi_fw_ipq5332_qcn6432-SHA-HASH is used. It occur on nor-only build.
For nand/nor+nand, wifi usually in the ubi volume. Incase of
emmc, it is properly taken care.
So, handled all nor-only cases (including tiny-nor) as
similar as emmc case.
Change-Id: I3741a8255da487ad0546d9706933d19f1b1a3a93
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
Changing RDP467 to AL02-C20.
Also updating the return machid type
for AL02-C11 similar to AL02-C12,
since AL02-C11 is converted to RDP455
configuration.
Change-Id: I87e3b954d1ea9f38b24504f5b5754f9fef38df83
Signed-off-by: Hariharan K <quic_harihk@quicinc.com>
This patch is to support bootconfig with crc32
Change-Id: I49a7c5e3a578a166d25b8c7387a9a5ffd21652a8
Signed-off-by: Gurumoorthy Santhakumar <quic_gsanthak@quicinc.com>
This change renames all the affect files from rdp479/rdp481 to
mi01.12/mi01.14 respectively
Change-Id: Ia06a17b9c34bf7e49fe43721db1e83bd4f5a7e3e
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
This change force sets the default state for SFP TX pin.
Change-Id: Iaaee73b8c4a6a4abc5fba9b1f88a2225cb1ed39d
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
skip printing the partition info in smem if it exceeds flash size for
both nand and nor cases.
Change-Id: I446a3300865fbf543b6e585f918f747a1b75a15c
Signed-off-by: Sridharan S N <quic_sridsn@quicinc.com>