Commit graph

35483 commits

Author SHA1 Message Date
Gokul Sriram Palanisamy
f9dff38ca8 mmc: Added device tree entry for sdhci
Change-Id: I9d567df69e1915a8780bb7b7859ffdefcd3c59c7
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-04-26 02:06:22 -07:00
Rajkumar Ayyasamy
3ba39922f9 ipq806x: Added support to boot from alternate partition
Added support to boot the kernel from alternate partition

Change-Id: I90e09e61293581347f48b6bd4d00982c81d7d9a8
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2018-04-24 10:35:22 +05:30
Sasirekaa Madhesu
f79446c62a ipq40xx: enable dcache support
Change-Id: Ia005bf94a2d4852c109eea52cc45d0e36ff2e7f2
Signed-off-by: Sasirekaa Madhesu <smadhesu@codeaurora.org>
2018-04-20 12:09:37 +05:30
Sasirekaa Madhesu
88cbba86db ipq40xx: Add Cache support for ethernet
Change-Id: Iea6b03467640c138163bbb12c4478049c47c67bc
Signed-off-by: Sasirekaa Madhesu <smadhesu@codeaurora.org>
2018-04-20 11:12:42 +05:30
Linux Build Service Account
6fa5b18f0d Merge "dumpqca: Skipping crashdump invalid redirection" 2018-04-18 10:32:01 -07:00
Gokul Sriram Palanisamy
859c7db4c4 dumpqca: Skipping crashdump invalid redirection
Change-Id: I0fd42f0e7f1e213e950dcb16166198e93286cf2c
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-04-18 19:37:04 +05:30
Linux Build Service Account
f999746128 Merge "ipq40xx: Added emmc clk reset during mmc deinit" 2018-04-18 06:35:55 -07:00
Antony Arun T
4cc9b71fe4 ipq806x: adding sdcc and i2c entry in ap145_1xx dts
Change-Id: I587f5267d684046742173c70384eb0682e41d69a
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-04-17 15:02:46 +05:30
Rajkumar Ayyasamy
164dfd28f5 ipq806x: Added gmac gpio and cfg entry for AP145_1xx board
Change-Id: I91c0133a234ce7d2532be2647a54ea51f1ac26c6
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2018-04-17 14:58:30 +05:30
Rajkumar Ayyasamy
5a2ad95d79 ipq40xx: Added emmc clk reset during mmc deinit
1. Added emmc clk reset during mmc deinitialization to 
avoid the mmc init failure in kernal bootup. 
2. Clock has been configured to 192 Mhz for SDHCI mode
3. Proper register is used for disabling emmc clock

Change-Id: Id21e294380ee904027e5d6d2b2929acbd7bac672
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2018-04-17 08:39:40 +05:30
Linux Build Service Account
35992873a2 Merge "ipq40xx: Added support for DK04-C6 board" 2018-04-13 12:57:00 -07:00
Gokul Sriram Palanisamy
68b188157f ipq807x: Updated dump entries for RPM RAM sizes
Updated CODERAM and DATARAM dumpsizes to
160KB and 80KB respectively.

Change-Id: I3bf30c137e5ca690dc6cd59f80974afa27212923
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-04-12 15:08:16 +05:30
Linux Build Service Account
6391a27405 Merge "Revert "ipq40xx: Add DK01-C3 config support for Standard profile"" 2018-04-10 08:09:49 -07:00
Rajkumar Ayyasamy
5364cd9d80 ipq40xx: Added support for DK04-C6 board
Change-Id: Ic9f451c30f4991df8013ae3191ad4384aed6f730
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2018-04-10 12:19:53 +05:30
Linux Build Service Account
575df00e7f Merge "Revert "ipq806x: Disabling dcache support"" 2018-04-09 03:30:22 -07:00
Linux Build Service Account
3c49cc8495 Merge "emmc: fix for mmc_init failure" 2018-04-09 03:30:22 -07:00
Linux Build Service Account
1483340f9e Merge "ipq807x: Dcache: Fixing Dcache invalidate" 2018-04-09 03:30:21 -07:00
Linux Build Service Account
1bd1098d42 Merge "qca: fix kw issue" 2018-04-06 10:31:18 -07:00
Linux Build Service Account
10a7bb691c Merge "Revert "ipq806x: Enabled HW Watchdog"" 2018-04-06 10:31:16 -07:00
Santan Kumar
ed819c8cfc qca: fix kw issue
Change-Id: I5cfe4945dc965a67929ae54b1443855f182bb01d
Signed-off-by: Santan Kumar <santank@codeaurora.org>
2018-04-06 04:53:07 -07:00
Sasirekaa Madhesu
56f687c5fe Revert "ipq40xx: Add DK01-C3 config support for Standard profile"
This reverts commit 9857b3461c.

Change-Id: Id1e9f2a20a35622d0648deb479583bfa760b0cc2
Signed-off-by: Sasirekaa Madhesu <smadhesu@codeaurora.org>
2018-04-06 16:07:40 +05:30
Antony Arun T
18a5aed789 Revert "ipq806x: Enabled HW Watchdog"
This reverts commit a87141b204.

Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-04-06 14:54:05 +05:30
Antony Arun T
e399649644 ipq806x: Removed bootcmd from dts
Change-Id: I77582ddb043f2840841069d321a16853c294c816
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-04-06 10:07:59 +05:30
Linux Build Service Account
c89853711d Merge "ipq807x: uboot: Updated FDT_HIGH value" 2018-04-05 17:54:42 -07:00
speriaka
2802f9f1ec ipq807x: uboot: Updated FDT_HIGH value
This change is necessary as an additional 2 MB is
allocated as reserved memory for TZ_APPS exposed
in qseecom driver and we must notify the same
boundary as FDT_HIGH to uboot.

Without this change, the board gets stuck in uboot
with starting kernel message during boot up.

Change-Id: I6653d3c3dbac97cdf38a41d84d0b401d462cf5ce
Signed-off-by: speriaka <speriaka@codeaurora.org>
2018-04-04 23:36:30 -07:00
Antony Arun T
cc28ae6fed Revert "ipq806x: Disabling dcache support"
This reverts commit 8ad671bfa0.
2018-04-05 11:31:46 +05:30
Antony Arun T
6d417e1ed0 emmc: fix for mmc_init failure
Change-Id: I0c7202725415253492db29b693d6c9937856f3e5
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-04-05 11:30:00 +05:30
Manoharan Vijaya Raghavan
47648bd7e0 ipq807x: Dcache: Fixing Dcache invalidate
Using of Dcache invalidate all resulted in stack which
was dirty being invalidated. Hence the return address stored
in stack wasn't flushed and this caused issues. Reverting to
invalidate_dcache_range.

Change-Id: I382e07a3a81885ab02c9eae38196d3aa3ba8b086
Signed-off-by: Manoharan Vijaya Raghavan <mraghava@codeaurora.org>
2018-04-05 11:26:12 +05:30
Antony Arun T
aa20c135eb ipq806x: added i2c entry for AP145 board
Change-Id: I41cd39a8ee4d1d57d5cc9b3214b3b637e4120b16
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-04-04 19:09:40 +05:30
Linux Build Service Account
e29cf10dc6 Merge "ipq807x: Enable 4-byte address mode for flash W25Q256JW" 2018-04-04 03:16:31 -07:00
Linux Build Service Account
7a36eb571d Merge "ipq806x: Added gmac cfg and gpio entry for AP160_2xx board" 2018-04-02 10:24:46 -07:00
Rajkumar Ayyasamy
50f0745be4 ipq806x: Added gmac cfg and gpio entry for AP160_2xx board
Change-Id: Id17ea3958870981aa23e695082e1719c579a2631
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2018-04-02 17:24:09 +05:30
Sasirekaa Madhesu
e44601f1f7 ipq40xx: Removing CONFIG_SYS_DCACHE_OFF macro to enable dcache
During kernel bootup, dcache is enabled to reduce boot time.
When CONFIG_SYS_DCACHE_OFF macro is defined, dcache will not
be enabled.

Change-Id: I1830b467f2948250f5e7a676dd0f16a025e7b229
Signed-off-by: Sasirekaa Madhesu <smadhesu@codeaurora.org>
2018-04-02 11:42:14 +05:30
Santan Kumar
98b37b1dd8 ipq807x: Enable 4-byte address mode for flash W25Q256JW
Software SPI reset mode can be trigger from 4-Byte Address mode
in flash W25Q256JW.

Change-Id: I3f8ec46c2732c07a7af0cc7331102334413067ba
Signed-off-by: Santan Kumar <santank@codeaurora.org>
2018-03-30 17:44:43 +05:30
Linux Build Service Account
0af10c9167 Merge "ipq806x: Disabling dcache support" 2018-03-29 09:59:15 -07:00
Antony Arun T
8ad671bfa0 ipq806x: Disabling dcache support
Change-Id: Icf2798040e8378ee767c2e3331dd5158745ae11d
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-03-29 15:26:30 +05:30
Sasirekaa Madhesu
895d072516 ipq40xx: Moved cache enable / disable to be board specific
Change-Id: I8fa4b05ee5a4ef4c7115c9361c8b382d0869a2ac
Signed-off-by: Sasirekaa Madhesu <smadhesu@codeaurora.org>
2018-03-29 10:35:55 +05:30
Manoharan Vijaya Raghavan
d7c59651a1 ipq80xx: cache: Remove weak definition
Enable or disable of cache functions provided by board.
This should override the default functions, hence should not be
__weak function definition in board command files.

Change-Id: I676c1f05975c723a88a0cbd2596e907fcf089eff
Signed-off-by: Manoharan Vijaya Raghavan <mraghava@codeaurora.org>
2018-03-28 16:17:12 +05:30
Linux Build Service Account
d6d99518c3 Merge "ipq40xx: spi: Add support for 4Gb Toshiba-TC58CVG2S0F SPI NAND flash" 2018-03-23 07:45:33 -07:00
Linux Build Service Account
26fdbbd150 Merge "sysupgrade: Avoid dereferencing of buffer to fix KW issue." 2018-03-23 07:45:30 -07:00
Linux Build Service Account
e931286d08 Merge "ipq807x: scm: Make SCM calls dcache aware" 2018-03-23 02:16:41 -07:00
Avinash Pandey
37c8e79460 sysupgrade: Avoid dereferencing of buffer to fix KW issue.
This kw issue occurred with below message:
"Use of free memory (access) - possible".
In order to fix this issue, we have removed all 
dereferenced buffer after freeing the buffer..

Change-Id: I080c45b17397333c3f897b960bdf6fca01b7a53e
Signed-off-by: Avinash Pandey <avinasv@codeaurora.org>
2018-03-23 11:25:27 +05:30
Manoharan Vijaya Raghavan
94d2909503 ipq807x: scm: Make SCM calls dcache aware
U-Boot now has dcache turned on. This requires cache flushing to
be performed before executing smc instrution. There are calls which
are made to TZ with huge buffer (such as kernel image for authentication).
Flushing and invalidating by address for such huge buffer will have
a performance impact, as the size of buffer is vastly bigger than
the cache size itself. Hence performing a flush of the entire cache
as opposed to performing cache flush with a start and end address.

Change-Id: If90a49d240ecf021ac9714025b6de0cce3fb9fc8
Signed-off-by: Manoharan Vijaya Raghavan <mraghava@codeaurora.org>
2018-03-22 03:26:18 -07:00
Sham Muthayyan
3d59ead98a ipq807x: Fix KW issues for edma and pci
Change-Id: I46d870b14810b33d500cdba6e8a238f95fc05208
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2018-03-22 03:04:49 -07:00
Linux Build Service Account
a660845646 Merge "KW fix: replaced sprintf with snprintf" 2018-03-22 00:03:12 -07:00
Linux Build Service Account
89d6ac669e Merge "mmc protect: Handled invalid GPT" 2018-03-21 13:01:09 -07:00
Linux Build Service Account
76e2fcb6b3 Merge "ipq806x: enabled dcache support" 2018-03-21 13:01:07 -07:00
Antony Arun T
0ecdac3fea ipq806x: enabled dcache support
Change-Id: Ibfb0cfeb2e6b1919f4debc4d689426ee3ba29702
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-03-21 17:22:32 +05:30
Antony Arun T
2281952673 mmc: waiting for the card to exit from busy state
Since OCR value is changed,1ms delay is added to
give cards time to respond.

Change-Id: I18bddbc9d01ab2c62529c9f2065331f83b7ecca9
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-03-21 17:16:54 +05:30
Gokul Sriram Palanisamy
17e842fd9b mmc protect: Handled invalid GPT
Change-Id: Ie68e278230cb3ccfbd60cc03a7936ff1e226d47a
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-03-21 04:44:14 -07:00