Commit graph

37165 commits

Author SHA1 Message Date
Vinoth Gnanasekaran
19060d2532 ipq4019: fdt_fixup: Delete the 'sd-ldo-gpios' property from sdhci node
power-on write protection also gets cleared during sd-ldo toggle in
the kernel. This toggle is required only for SD card. So, If the eMMC
card inserted, sd-ldo removed from the device tree.

Change-Id: Ib59a20754c840c76da9ad10d4d36b21dee36cd5b
Signed-off-by: Vinoth Gnanasekaran <vgnana@codeaurora.org>
2018-08-24 19:12:11 +05:30
Vinoth Gnanasekaran
ebf3f29127 Revert "ipq: mmc: call board_flash_protect based on board's flashtype"
This reverts commit 0f86dd5445.
2018-08-24 15:54:12 +05:30
Gokul Sriram Palanisamy
6eba23c6c0 qca: Removed duplicate header file qca_common.h
Change-Id: I437d016bce46b21a1d93520f4f28cfa7b2f3e3e5
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-08-20 06:21:41 -07:00
Gokul Sriram Palanisamy
c0b0448441 crashdump: Moved dump functions for code sanity
Change-Id: Ib8d2f093881948764e18c1e3e5d64a1e1281a305
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-08-20 06:21:32 -07:00
Linux Build Service Account
d557f6051c Merge "mmc: Fix for memory leak in sdhci" 2018-08-16 16:33:30 -07:00
sameeruddin shaik
faa4f24040 mmc: Fix for memory leak in sdhci
We are allocating the dma descriptors,but they are not explicitly
freed. This change will free the dma descriptors after every transfer.

Change-Id: I0a851923ab4d2551215e29b34c7c31b85502fb3f
Signed-off-by: sameeruddin shaik <samesh@codeaurora.org>
2018-08-16 02:53:52 -07:00
Avinash Pandey
34ee85c62f sysupgrade: Skip ubi section authentication in NOR/eMMC boot.
Change-Id: I2b2ba59c95eb0e7f9ca17527515f34fc50aeacd6
Signed-off-by: Avinash Pandey <avinasv@codeaurora.org>
2018-08-14 12:42:07 +05:30
Pavithra Palanisamy
89895d3766 qca: Change for fixing KW issue
Change-Id: I517bbec630f7a57830f51500535615461d37d3e1
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
2018-08-13 12:30:38 +05:30
Balaji Prakash Jagadeesan
3e2ec740dd ipq40xx: mmc: Enable eMMC support for DK04-c2 board
Change-Id: Ia4bde1e5bb3703e4ae2d13d73fe93836ada5412e
Signed-off-by: Balaji Prakash Jagadeesan <bjagadee@codeaurora.org>
2018-08-06 12:15:16 +05:30
Linux Build Service Account
6dc84dcba0 Merge "ipq: boot: Signed Rootfs authentication" 2018-08-02 11:06:26 -07:00
Pavithra Palanisamy
d40f554e9f qca: Modify kstrtoint() function
This change modifies kstrtoint function to update
the result in destination buffer and return zero on success.

Change-Id: Ibdd9b36eed39d5e2ee3afc6f1609c1e35d5fb464
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
2018-08-02 17:55:36 +05:30
Praveenkumar I
eedc337301 ipq: boot: Signed Rootfs authentication
Rootfs's certificate is appended in kernel image. Read from
there, pack it with rootfs image and validate rootfs.

Change-Id: I2b40f88e23225c17362a02f6c7868edda2a8e8bd
Signed-off-by: Praveenkumar I <ipkumar@codeaurora.org>
2018-08-01 17:09:15 +05:30
Linux Build Service Account
f382f81aa1 Merge "qca: Fix KW issues with flashwrite command" 2018-07-30 15:34:58 -07:00
Linux Build Service Account
4bd1e72b4b Merge "ipq807x: Changes for fixing kw issues" 2018-07-30 15:34:56 -07:00
Linux Build Service Account
9ff513ae0e Merge "qca: Append -fpie to HOST_EXTRACFLAGS" 2018-07-30 15:34:50 -07:00
Nikhil Prakash V
da508573a9 ipq807x: Changes for fixing kw issues
Change-Id: Ib309e1eacfc8d23815c04a97d72b6eb31f81f69f
Signed-off-by: Nikhil Prakash V <nprakash@codeaurora.org>
2018-07-30 11:43:52 +05:30
Pavithra Palanisamy
8160116212 qca: Fix KW issues with flashwrite command
Change-Id: Ia5b6ef5cbdf27a0a46f56445ee9335bb72353c63
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
2018-07-27 18:56:24 +05:30
Nikhil Prakash V
929b60ddc7 ipq807x: NAPA Support for AC01
Change-Id: I217279d445d1aef486a1ed3f9b5cf52009d1bb18
Signed-off-by: Nikhil Prakash V <nprakash@codeaurora.org>
2018-07-27 15:05:22 +05:30
Naresh Kumar Mehta
49df6fc9bb qca: Append -fpie to HOST_EXTRACFLAGS
Change-Id: I2c95398e0d6b3d6acf7af48b3e29fa124deb552d
Signed-off-by: Naresh Kumar Mehta <naresh@codeaurora.org>
2018-07-26 14:34:40 +05:30
Linux Build Service Account
732fb77f30 Merge "ipq4019: fdt_fixup: Delete the 'sd-ldo-gpios' property from sdhci node" 2018-07-23 23:07:22 -07:00
Linux Build Service Account
d5be106461 Merge "fdt_fixup: initialize nodeoff before setting property" 2018-07-23 23:07:21 -07:00
Linux Build Service Account
17e99b8a90 Merge "qca: Add uboot-CLI command "flash"" 2018-07-23 02:56:54 -07:00
Sanjeev N
8a07eb223e fdt_fixup: initialize nodeoff before setting property
Nodeoff must be initialized to ensure root node is present.

Change-Id: I1091a816f5b92c3f798222da9c987d899ef4bc9f
Signed-off-by: Sanjeev N <nsanjeev@codeaurora.org>
2018-07-20 16:24:48 +05:30
Vinoth Gnanasekaran
2ebb44cea5 ipq4019: fdt_fixup: Delete the 'sd-ldo-gpios' property from sdhci node
power-on write protection also gets cleared during sd-ldo toggle in kernel.
This toggle is required only for SD card. So, If the boot flash type is
eMMC or NOR+eMMC sd-ldo removed from the device tree.

Change-Id: I3c7bf14a5f67df3bcef2bd6507da5146c2beffb7
Signed-off-by: Vinoth Gnanasekaran <vgnana@codeaurora.org>
2018-07-20 02:55:03 -07:00
Linux Build Service Account
b819be2c53 Merge "ipq807x: Changes for fixing kw issues" 2018-07-17 22:34:58 -07:00
Linux Build Service Account
38cfd1a623 Merge "ipq807x: Add PCIE reset sequence" 2018-07-17 04:38:42 -07:00
Sham Muthayyan
4c38761167 ipq807x: Add PCIE reset sequence
Some cards are not working due to pcie reset.
So doing pcie reset with pcie reset gpio.

Change-Id: I0c631b116923b90bf94223d09e5662900a31244e
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2018-07-17 12:39:59 +05:30
Nikhil Prakash V
97834d63d9 ipq807x: Changes for fixing kw issues
Since set_sgmii_mode function does not return any value, changed its
functon type to void.

Change-Id: I4f098747ed2e562488cf97dc06dbb48a54b53fc3
Signed-off-by: Nikhil Prakash V <nprakash@codeaurora.org>
2018-07-16 19:03:26 +05:30
Nikhil Prakash V
a2391434fb ipq807x: DTS Support for HK01.C4
Change-Id: If8141c52a6965311d80764fbd389a0fca1c5e14e
Signed-off-by: Nikhil Prakash V <nprakash@codeaurora.org>
2018-07-16 16:01:30 +05:30
Pavithra Palanisamy
316e48fb0d qca: Add uboot-CLI command "flash"
The "flash" command erases given partition and
writes the image to flash.

Change-Id: I059414fd3d7eefeac0c626e1980a70985f2de986
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
2018-07-13 19:48:38 +05:30
Linux Build Service Account
af7feada2e Merge "ipq40xx: Enable sleep command" 2018-07-12 08:05:15 -07:00
Antony Arun T
3107de6e9e ipq40xx: Enable sleep command
Change-Id: I1107f4fc7f1edd056dedfd8e190af8c0fead5abe
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-07-12 13:03:14 +05:30
Sham Muthayyan
f4307a0c64 ipq807x: Fixed the ethenet failure in HK01
Change-Id: I0ba38f89c35c34be45040aba1d2928a43d9f636b
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2018-07-12 12:00:06 +05:30
Linux Build Service Account
be93aec901 Merge "bootm: Setting fdt_high at the end of board_init" 2018-07-11 03:09:26 -07:00
Linux Build Service Account
51f3b4cff5 Merge "ipq807x: Fix the napa 2nd-port 1G speed" 2018-07-10 09:03:38 -07:00
Linux Build Service Account
8796bb93b3 Merge "tzt: Enabled exectzt for ipq40xx with dcache off" 2018-07-10 07:04:30 -07:00
Sham Muthayyan
eff774150c ipq807x: Fix the napa 2nd-port 1G speed
Change-Id: I15317cec3dde811001be9d34c2bcf3487df9721d
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2018-07-10 05:05:49 -07:00
Gerrit - the friendly Code Review server
65bdcc3001 Merge changes 2018-07-10 03:55:53 -07:00
Gokul Sriram Palanisamy
c2382fa2fd bootm: Setting fdt_high at the end of board_init
We set 'fdt_high' inside 'bootipq' command.
While booting initramfs image using bootm,
fdt_high is not set causing fdt being loaded
at some random address that could be reserved
from kernel causing boot failure.

Change-Id: I769367dda8cbdf1b1b95233af52780f6d674f50f
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-07-10 15:21:14 +05:30
Gokul Sriram Palanisamy
0564bbf6f9 tzt: Enabled exectzt for ipq40xx with dcache off
Change-Id: I9eec6dc9dc659808757aa1197ae09d708ffbf1c2
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-07-10 02:34:16 -07:00
Linux Build Service Account
41884b5338 Merge "ipq807x: Multiple napa port support" 2018-07-10 01:08:04 -07:00
Linux Build Service Account
84705ce4b0 Merge "ipq: mmc: call board_flash_protect based on board's flashtype" 2018-07-09 22:34:10 -07:00
Linux Build Service Account
75776384b9 Merge "ipq40xx: mmc: Added check for status of sdhci node" 2018-07-09 22:34:10 -07:00
Sham Muthayyan
2de09dcab6 ipq807x: Multiple napa port support
Change-Id: I31d9ecf57e892bae31b044edb9d4ffbac2c17215
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2018-07-09 06:54:27 -07:00
Balaji Jagadeesan
9e96ab7e28 ipq40xx: mmc: Added check for status of sdhci node
Currently, we search for "sdhci" node and continue with
mmc_init if it is present. We never check for status of
the sdhci node. As sdhci node is present in all the
board variants, mmc_init happens in all boards.

So, added a check to see if the status of sdhci node is
"okay" and continue with initialization, else return.

fdtdec_get_is_enabled library function checks only for
string "okay" which is the correct usage for status
variable. So, changed the status string in the
dts files accordingly.

Change-Id: I26ac5d9930b9e91e3d9d2436eff0cf02b8977b2e
Signed-off-by: Balaji Jagadeesan <bjagadee@codeaurora.org>
2018-07-09 14:51:44 +05:30
Balaji Jagadeesan
0f86dd5445 ipq: mmc: call board_flash_protect based on board's flashtype
Call board_flash_protect only if the primary/secondary boot
type of the board is mmc.

Change-Id: Ib6f1251a7435a08d647909202c6570c383a64311
Signed-off-by: Balaji Jagadeesan <bjagadee@codeaurora.org>
2018-07-06 18:19:42 +05:30
Balaji Jagadeesan
70dae9d948 ipq40xx: dts: Remove sdhci gpio entries in DK06 and DK07
In DK06, there is no h/w support for mmc and sd.
In DK07, there is no h/w support for mmc and no support
for sd in uboot.
So, removing the sdhci entries from dts.

Change-Id: I39ac2fa56745d1ee3c23be5d8acd3ce5c355a135
Signed-off-by: Balaji Jagadeesan <bjagadee@codeaurora.org>
2018-07-06 00:38:03 -07:00
Antony Arun T
74e17d6a35 arm: qca: enable dcache command
Change-Id: I1847b41ef9e55f0e18589cf3637d3f8dcc282562
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-07-05 18:08:11 +05:30
Linux Build Service Account
d21e486821 Merge "ipq40xx: Device tree support for AP.DK07.1-C4" 2018-06-28 15:35:24 -07:00
Linux Build Service Account
12318cc099 Merge "fdt_fixup: Added debug prints" 2018-06-28 07:34:58 -07:00