Commit graph

35980 commits

Author SHA1 Message Date
Linux Build Service Account
e0b4311d3b Merge "ipq6018: usb: 24 Mhz reference clock update" 2019-06-18 17:05:09 -07:00
Linux Build Service Account
88fdb5c2bb Merge "u-boot-2016: Fix compiler warnings" 2019-06-18 17:05:09 -07:00
Linux Build Service Account
6a7c325c8d Merge "ipq806x: Fix compiler warnings in uboot-2016" 2019-06-18 14:35:23 -07:00
Linux Build Service Account
f1722570f2 Merge "driver: mtd: Add support to read entire ONFI parameter page structure." 2019-06-18 14:35:23 -07:00
Pradeep Das
f674027c3d ipq6018: usb: 24 Mhz reference clock update
Updated mock_utmi_clk to 24 MHz. GUCTL and FLADJ updated to use
appropriate clock period and frame length adjustment respectively.

Change-Id: I19c7ba8193ddbc53ee509e957bc38a298f32ce5b
2019-06-18 05:36:42 -07:00
sameeruddin shaik
6d35c71cfc ipq806x: Fix compiler warnings in uboot-2016
This change will fix the following warning
1.Wint-conversion

Change-Id: Ieb23517197742bd587cc63096477f5e0bacb89c0
Signed-off-by: sameeruddin shaik <samesh@codeaurora.org>
2019-06-18 16:58:07 +05:30
Linux Build Service Account
06d1d60bbb Merge "ipq6018: Enabled DEVICE_NULLDEV" 2019-06-17 07:06:33 -07:00
speriaka
feb8361018 ipq6018: Enabled DEVICE_NULLDEV
Enabled DEVICE_NULLDEV to redirect unwanted console prints.

Change-Id: I8167cc1efe9e58a4a415be11d468078ce98a72c6
Signed-off-by: speriaka <speriaka@codeaurora.org>
2019-06-17 12:51:54 +05:30
Linux Build Service Account
41f464df56 Merge "ipq6018: Fixing cold reboot issue during crash in kernel" 2019-06-16 23:34:10 -07:00
Linux Build Service Account
884b934d7a Merge "ipq807x:Fix compiler warnings in u-boot" 2019-06-14 09:35:13 -07:00
Linux Build Service Account
2a7f11236f Merge "ipq6018: set drive strength of NOR & NAND gpio to 12mA for db-cp01" 2019-06-13 11:35:29 -07:00
Linux Build Service Account
c257237fc5 Merge "ipq806x: Add MII RESET and AUTONEG for all phy devices" 2019-06-13 06:06:31 -07:00
Antony Arun T
100bb422ce ipq6018: Fixing cold reboot issue during crash in kernel
the information required for deciding whether to go
for cold/warm reboot is in TZ_WONCE_4 and not in TZ_WONCE_3 register.

Change-Id: If86864a2356c7e862153dbfea098b81cffce0c99
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-06-13 15:54:30 +05:30
Sham Muthayyan
da7ff0332a ipq806x: Add MII RESET and AUTONEG for all phy devices
Change-Id: I63972ccc1e9dc139ab282ee4ac66b1884ba5e4dc
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2019-06-13 01:03:49 -07:00
speriaka
16dde8f870 arm: dts: ipq6018: Add Ethernet support for DB-CP02
Change-Id: Ib700c1528a1f59f620e7788a872cbc35aceea00e
Signed-off-by: speriaka <speriaka@codeaurora.org>
2019-06-12 22:36:19 -07:00
Antony Arun T
15720d3e6a ipq6018: set drive strength of NOR & NAND gpio to 12mA for db-cp01
Change-Id: I8745bed1a99b52fa373cda18532243ff85eeac4a
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-06-12 21:38:45 -07:00
Linux Build Service Account
2aebda94b9 Merge "ipq6018: fixing pmic i2c bus to i2c bus no 1" 2019-06-12 11:09:20 -07:00
Antony Arun T
8fb622766c ipq6018: fixing pmic i2c bus to i2c bus no 1
Change-Id: I6c42d1ada2879e0fbd5ca104b5069abf73eb5a85
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-06-12 17:18:25 +05:30
Linux Build Service Account
9debc566c9 Merge "ipq6018: Handling error cases in elf parsing" 2019-06-12 03:06:26 -07:00
sameeruddin shaik
5c56233d2d ipq807x:Fix compiler warnings in u-boot
This change will fix the following warnings
1.Wunused-but-set-variable
2.Wunused-variable

Change-Id: I1524e14d775dd5b3d3eb85066cee429addd9a0ce
Signed-off-by: sameeruddin shaik <samesh@codeaurora.org>
2019-06-11 22:15:59 -07:00
Linux Build Service Account
b36354d6d4 Merge "ipq6018: Enable i2c1 to communicate with PMIC" 2019-06-11 18:38:23 -07:00
Linux Build Service Account
55807876dc Merge "ipq: fix implicit declaration compiler warning" 2019-06-11 18:38:23 -07:00
Md Sadre Alam
f2ed166473 driver: mtd: Add support to read entire ONFI parameter page structure.
This change will read entire ONFI parameter page. This will helpful
while validating new ONFI AVL part.

To read entire ONFI parameter page data structure use command:

"#nand onfipara".

Change-Id: Icea80fce6900716871d8c82a2d1ac0c00531af98
Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
2019-06-11 22:51:13 +05:30
Linux Build Service Account
e9a894449f Merge "ipq6018: Enable cache command" 2019-06-11 06:35:35 -07:00
Rajkumar Ayyasamy
51903dfa04 ipq6018: Handling error cases in elf parsing
Change-Id: Ic1c3e90c86ea1bfc2d0066a5d4723fd05e2386bb
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2019-06-11 14:12:25 +05:30
Antony Arun T
95eef2aafa ipq6018: Enable i2c1 to communicate with PMIC
Change-Id: I6cb2d8585fc058f8ac9af3e74367d4fbc1f7c6f2
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-06-10 23:35:53 -07:00
Antony Arun T
5e45eef4a8 ipq: fix implicit declaration compiler warning
Change-Id: I889c95a2d6c8b38f1ffd2c4ce7127edbebaead74
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-06-10 22:21:37 -07:00
Antony Arun T
04b909a77a ipq6018: fix compilar warnings
fixing type conversion & prototypes warnings

Change-Id: Icaf52251e8a801ef413c2d988ce6516b338f2ee0
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-06-10 22:21:05 -07:00
Antony Arun T
7c35e421d7 ipq6018: Enable cache command
Change-Id: I8a6a768346742508889f1a1e611809ca359f987c
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-06-10 22:04:38 -07:00
Linux Build Service Account
5eeb0996ee Merge "ipq6018: moving __weak function definition to common file" 2019-06-10 17:35:39 -07:00
Linux Build Service Account
1e6c59be2e Merge "ipq6018: fix compilar warning in smem file" 2019-06-10 17:35:38 -07:00
Linux Build Service Account
70b8722dc8 Merge "ipq6018: fix macro redefined warnings" 2019-06-10 17:35:38 -07:00
Linux Build Service Account
eb909680e0 Merge "common: cmd_boot: Add stack canary test command." 2019-06-10 17:35:37 -07:00
Linux Build Service Account
4f840795ea Merge "Makefile: Enable Stack protector flag" 2019-06-10 17:35:36 -07:00
Gitanjali Krishna
9af31feb8b u-boot-2016: Fix compiler warnings
Change-Id: I1bf55699f4767de381c3875a0a3d84177a87282e
Signed-off-by: Gitanjali Krishna <gitanjal@codeaurora.org>
2019-06-10 14:50:33 -07:00
Antony Arun T
370c2e402f ipq6018: fix compilar warning in smem file
Change-Id: I107f9e237587318dcee2aa79a57634105f23a912
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-06-09 23:51:15 -07:00
Md Sadre Alam
f80127f8a7 common: cmd_boot: Add stack canary test command.
This change will add stack canary test command in
u-boot command list.

The stack canary test command format like as :
canary <string>. The string must be 10 bytes long.

e.g
" #canary Helloworldhelloworld".

After this command we can see the below print.
Stack Canary test start.
stack-protector: U-boot stack is corrupted.
Resetting CPU ...

If stack-protection not enabled and stack overflow
occure then we will get the following print.

prefetch abort
pc : [<4a006f72>]          lr : [<4a90faf0>]
reloc pc : [<4a006f72>]    lr : [<4a90faf0>]
sp : 4a77f948  ip : 20f14495     fp : 4a90fab4
r10: 00000002  r9 : 4a77fea0     r8 : 00000000
r7 : 4a983d20  r6 : 6f6f6f6f     r5 : 6f6f6f6f  r4 : 6f6f6f6f
r3 : 00000000  r2 : 4a77f946     r1 : 4a78233b  r0 : 00000000
Flags: nZCv  IRQs off  FIQs off  Mode SVC_32
Resetting CPU ...

Change-Id: If36d1da3ecc1d0038cd1a6bad6ab3d265b47dac8
Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
2019-06-10 11:48:03 +05:30
Md Sadre Alam
8aef0ad840 Makefile: Enable Stack protector flag
This change will enable stack protector for u-boot code
for ipq807x.

Change-Id: Iea28c20efa3bf582728e8a0099f01c8f93595ff6
Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
2019-06-10 11:47:27 +05:30
Md Sadre Alam
305ca3b4d5 board: common: cmd_bootqca: Add missing symbol to enable stack-protection
The symbol __stack_guard & __stack_fail_check not present so add
these symbols explicitly in u-boot source code as per defined in kernel
source code.

The symbol __stack_guard is defined with a magic value for stack canary.
Whenever u-boot source code build with "fstack-protector" enabled then
stack canary appiled for specific function and it saved on stack.

Whenever stack canary value get currupted then __stack_fail_check
function will get called and after that programs behaves as per pre
defined behaviour.

Change-Id: Ia0575a26ab43aa2177af127e59c67a41873748c3
Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
2019-06-10 11:46:19 +05:30
Antony Arun T
26787b36f9 ipq6018: fix macro redefined warnings
Change-Id: I7c8be82ce2fdf91ddd80d301993a5d9a1770ee54
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-06-10 11:32:16 +05:30
Antony Arun T
f3c23aaa63 emmc: move macro definition to board specific files
moving emmc related macros definitions to ipq807x & ipq40xx
board specific files from common files to avoid
redefined compilar warnings

Change-Id: Ic8d9537535a0b5439d42e8b0b53faadba72c50a3
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-06-10 11:24:59 +05:30
Antony Arun T
263809b4a7 ipq6018: moving __weak function definition to common file
moving __weak function from board specific file to
common file to avoid implicit declaration of function
warning

Change-Id: I60232c24eb3f7c4e16831de16452def3fe2671c3
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-06-09 22:05:24 -07:00
Linux Build Service Account
1f10c52b39 Merge "arm: dts: Add Ethernet support for db-cp01" 2019-06-07 15:35:31 -07:00
Linux Build Service Account
b91946abd7 Merge "ipq6018: Add support to patch up cpu_type and soc version" 2019-06-07 15:35:30 -07:00
Linux Build Service Account
62ace151d1 Merge "ipq807x: Add support for 512M Toshiba Nand in U-Boot" 2019-06-07 15:35:28 -07:00
Linux Build Service Account
2ae8d70a52 Merge "ipq: Enable crashdump collection in usb device" 2019-06-07 15:35:28 -07:00
speriaka
e6b8828d93 arm: dts: Add Ethernet support for db-cp01
Change-Id: I0bbbd938701ca4f460b467effbb922129ef69bd8
Signed-off-by: speriaka <speriaka@codeaurora.org>
2019-06-07 16:06:37 +05:30
speriaka
e90966487f drivers: net: ipq6018: Add Support for NAPA ports
This patch updates the edma init, ppe port mux
and uniphy config to enable support for the NAPA
ports.

Change-Id: I638d3251b5843e5491cca9eea6859a5840d8567a
Signed-off-by: speriaka <speriaka@codeaurora.org>
2019-06-07 16:05:37 +05:30
Linux Build Service Account
03c5bcfbd6 Merge " driver: spi: Add support for Macronix-(MX25U51245G) nor flash." 2019-06-07 03:34:58 -07:00
Linux Build Service Account
530a3b288f Merge "driver: spi: Add support for Macronix-(MX66U1G45GMI00) nor flash." 2019-06-07 03:34:58 -07:00