The following features are enabled ,
1) AP151 target specific configs are added ( mainly ethernet )
2) AP151 and AP152 share a common configuration file & Makefile
with minimal changes between them. Support for avoiding the conflict
between them is implemented.
Change-Id: Ia71b20199d43cd29ff214c1258e4b15fcd55cb6b
Signed-off-by: Prabhu Jayakumar <pjayak@codeaurora.org>
The macro GENERATED_GBL_DATA_SIZE is available in "generic-asm-offsets.h"
which is already included from the file "include/asm-offsets.h". So ,
removing the unneccessary include from the common files.
Change-Id: Ib6a820357f5f830ab3cc12b5bced6c62a2016d95
Signed-off-by: Prabhu Jayakumar <pjayak@codeaurora.org>
* changes:
ipq807x: Initialize TLV and CPU context dump size
ipq806x: Initialize TLV and CPU context dump size
ipq40xx: Added flash crashdump data support
This patch initialize TLV and CPU context dump size,
required for crashdump collection in flash.
Change-Id: I8d729e8dbbb25159bb0b7978c7cbb08ae6043767
Signed-off-by: Ajay Kishore <akisho@codeaurora.org>
This patch initialize TLV and CPU context dump size,
required for crashdump collection in flash.
Change-Id: I960300c3ea6c97481a7c5fd551b648454c13deef
Signed-off-by: Ajay Kishore <akisho@codeaurora.org>
This patch will support storing crashdump data
in flash with the following command from u-boot.
dumpipq_flash_data <offset_in_flash>
It reads the TLV (Type Length Value) data passed
through kernel (from a DRAM location), extracts the
required information and writes to boot flash in the
provided offset.
This change provides a reference to add any other
information needed to be saved.
Signed-off-by: Akila N <akilan@codeaurora.org>
(cherry picked from commit 68ac327ce760c8a6b5ce1f35def3d0c4ccc0d00f)
Change-Id: I20517eb6e6fdb941101a3aa55af4cc4ee875779b
Signed-off-by: Ajay Kishore <akisho@codeaurora.org>
This fix removes the mmc_init that is being called during
board init to prevent error message in cases where eMMC
card is not connected.
Change-Id: I918c71c391002d24e704be30043ff0cc8dfd4f83
Signed-off-by: G Dhivya <gdhivya@codeaurora.org>
Updated SMEM_BOOT_FLASH_DENSITY for a new entry in the sbl table.
Change-Id: I637457a9d93305cd13c80bb460d4e73aec4a29e6
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
The logic used to calculate tick count in
_udelay() was always giving Zero. Updated
the logic to make it work across QCA boards.
Change-Id: Iebc5905003ad99e66b299de3beabb80ce40ce710
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
Added ethernet support to devicetrees of AP145,
AP160 and Ap161 boards.
Change-Id: Iad370852c4d3e2dc662627d2890198bb0747d03c
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
This is required to blow the fuses in QFPROM using data at sec.dat file.
Fuseipq command is invoked with the address of sec.dat file as argument.
Fuseipq invokes scm_call to carry out this action.
Change-Id: Ib73ba61da7ad339859c4b7b4ea2378650cd96fbf
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
tftp transfer failed as gmac descriptor got corrupted.
GMAC descriptors gets addresses from malloc area that
were already used and made free by some other module.
There is a cache invalidate issue when tftp transfer
happens and gmac descriptors gets corrupted.
flush_cache is needed to avoid this.
Change-Id: I40ae7c771bcac3fade78de4454bfa3dafde4b70a
Signed-off-by: Prabhu Jayakumar <pjayak@codeaurora.org>
This change enables the PCI driver on u-boot for
the AP152 target
Change-Id: I7bce245595935cc844200801c24348f05054b238
Signed-off-by: Prabhu Jayakumar <pjayak@codeaurora.org>
This change enables the GMAC and PHY driver for
the AP152 target
Change-Id: I2d4155754092a4d04d46a40624a68296f9c8fee0
Signed-off-by: Prabhu Jayakumar <pjayak@codeaurora.org>
This change enables the flash driver on u-boot for
the AP152 target.
Change-Id: I9778adf4a4d347fdcce16fbfede87f765302595c
Signed-off-by: Prabhu Jayakumar <pjayak@codeaurora.org>
This change initializes the CPU PLL , configures the
timer, DRAM & enables the serial console for the
AP152 target.
Change-Id: If2a6884813250c09a856c3cb2e1783bf3940619c
Signed-off-by: Prabhu Jayakumar <pjayak@codeaurora.org>
1. Added ethernet support for DB149
2. Added gmac_gpio node to aliases, to make
it common across the boards
Change-Id: I18a3d3ebaac993635830d36bd7c51f91ebd6749b
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
Updated serial init to look for console property in aliases instead of
directly looking for serial node. This is to support device tree to
contain multiple serial nodes with different unit address to support
boards using different gsbi peripherals.
Change-Id: Iae741d7e56464a2a43f9132dfe87af62945ce60e
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
This commit lays a foundation for packing multiple dtb
images in a single itb image, by supporting compressed dtb
images. This is basically to support all boards across
different soc versions in a single itb image.
The plan is to compress the dtb images, so as to save flash space.
Change-Id: Iba81e311cfda55696209cf99c81e062980629871
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
On applying 'reset' command on u-boot, it enables the watchdog
with a default reset value. CPU will reset after the set value.
Change-Id: Idee257e6fcdf576e5209066fabeb76340465c25e
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
Inserted soc_version to configuration string
to support soc versions v2.0 and v3.0.
Change-Id: Ifbd92175312df15cb3adf250f964aa156bd33f71
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
Since smem structure is differnt for ipq8064 and ipq4019, Updated smem
structure table qca_platform to match both the SOCs.
Change-Id: Ia80fc3f8e4460785ed742b719617e6bcfd99ea27
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
The writebufsize is introduced in mtd struct for the ubi fastmap
support.
This is not initialized in the qpic nand driver which leads to ubi
error.
Fixed the following ubi error.
bad write buffer size 0 for 2048 min. I/O unit
UBI init error 22
Change-Id: I35778366b95930bd01108bf300f073ee21940bc6
Signed-off-by: Ajay Kishore <akisho@codeaurora.org>
Single image flashing fails with error: memory not allocated.
Increasing the malloc size to overcome this error.
Change-Id: If3e365ebd949eaf1e1d8153c63177099360a8f98
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
In ft_board_setup,
1. Added ipq nand device qcom,qcom_nand to mtd nodes list.
2. The maximum size of mtdparts used is 4096. Hence,
updating MTDPARTS_MAXLEN to match this value.
Change-Id: Iede752ddf72c410c6f4a6f828d8c2caef90cbf09
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>