This patch updates the uniphy soft reset function
to do the reset based on uniphy index only for the
required ports.
Change-Id: I7078b7f1e53fd86f32ec213dffe1eeebd5c702ad
Signed-off-by: speriaka <speriaka@codeaurora.org>
Without this change, even during link down, all
the ports were getting configured. This introduces
unnecessary delay.
This patch changes this behaviour and does the
configurations based on link speed, only when link
is up.
Change-Id: Ideed015ab087b317d2617369496c46abf21979f9
Signed-off-by: speriaka <speriaka@codeaurora.org>
This patch adds EDMA HW reset during EDMA init
before disabling interrupts and rings.
Change-Id: I8cf07c0ee35f7efa799037c3b0c22317e248701a
Signed-off-by: speriaka <speriaka@codeaurora.org>
This patch updates the edma eth_recv by disabling
the interrupts for txcmpl and rxfill. These interrupts
are again enabled as and when needed.
This patch also updates the alloc_rx_buffer next
pointer based on currently filled rx buffers.
Change-Id: I84aaba61132d683dc91e8e7156b3919570e4a0d1
Signed-off-by: speriaka <speriaka@codeaurora.org>
This patch removes EDMA config during each ping
and moves it to init code which is executed once
during boot
Change-Id: I0e988ac176386b1b95f1964be02f33a22f8113c3
Signed-off-by: speriaka <speriaka@codeaurora.org>
This patch adds port mac reset during link
speed change.
This patch also adds 100 ms delay after
full reset of NSS PPE and also updates
the comment for gmac disable.
Change-Id: I9c17ff1d0ad47d301094ce06cec07a478f48b1f0
Signed-off-by: speriaka <speriaka@codeaurora.org>
This patch updates the XPCS reset function. It
makes sure only the 2nd bit is modified and not the
entire register. Only 2nd bit needs to be toggled
for XPCS assert and deassert.
Change-Id: I7d11674f253d9b55825d1b285572e824ca218b95
Signed-off-by: speriaka <speriaka@codeaurora.org>
dump_minimal env variable is not currently
validated against junk characters. This check enables
minimal dump only when it is set to 1.
Change-Id: I62a32ae1fc5c9355321c7b5ba2f6a96d8e890c50
Signed-off-by: Venkat Raju Sana <vrsana@codeaurora.org>
Signed-off-by: Venkat Raju Sana <vrsana@codeaurora.org>
In tiny u-boot variant, PCI, USB and Aquantia Phy support
has been disabled.
Change-Id: I3057839ed9756755a8bd77bc8d208880dbce4c5b
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
This change modifies size of crashdump buffer to
12K from 16K for ipq60xx and ipq807x
This change also makes dumping of crashdump TLVs more
generic and does not assume any fixed positions for
static or dynamic dump segments
Change-Id: I9723ebf55e4a6db3360b3370a2c6e15d22741e08
Signed-off-by: Gitanjali Krishna <gitanjal@codeaurora.org>
For QCN3018, as the device tree states that there are 4 cpus,
the kernel thinks it has 4 present cpus (2 offline), it shows
2 cpus in places such as cpufreq. To avoid this, dynamically
patch the fdt and remove core2 and core3
Change-Id: Ie11dfd35ed9d9983252884b0f5aa08c993150ed5
Signed-off-by: Sumit Gaur <gaur@codeaurora.org>
moving SYS_TEXT_BASE to 0x4A400000, so that the 3MB
from 0x4A100000 to 0x4A400000 will be used for u-boot
stack and heap and the memory from 0x4A400000 to 0x4A500000
will be used for the u-boot code.
Change-Id: Ibe88b31ff4e2926f5f7c8923ffe69e5d3d5940ae
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
in ipq6018, instead of going for warm reset after collecting dump into flash,
checking wonce register and deciding whether to go for warm/cold reboot.
Change-Id: I6537d7455e6922467b4727f95e62ad0f2fc54295
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
Doing PMIC reset only when there is a abnormal reset/kernel panic
and wonce register is set to cold reboot.
Change-Id: I08db31e476788be30cb7ab139a2057a40d98cb89
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
To treat warnings as errors, enable Werror in CFLAGS.
sysupgrade-helper will compile separately only for 64
bit target, since it has architecture specific registers
which throws warning on 32 bit compilation. For 32 bit
target sysupgrade tools will compile as part of uboot-2016
and installed to target.
Change-Id: I2f9bc0610d1738c17b294ddd79a9cadd2eb2f6b0
Signed-off-by: Sanjeev N <nsanjeev@codeaurora.org>
This change adds support to search for valid FAT32 partition
throughout the device during crashdump collection on USB,
despite encountering any invalid-partition on the loop.
Change-Id: Ic6bda03a2448c38f0e93d32214340c2ee896f385
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
Added support to patch kernel device tree
for Q6 auto-restart using rproc framework.
Change-Id: I2d48282a4bf69a461431bfca1a4094e44c47359a
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
As UTCM is NSS specific memory,
Renaming crash dump binary name from UTCM.BIN to NSSUTCM.BIN
Change-Id: I6641559cd98a723a4bd560225bad1d5e9c1d5031
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
This change adds support to ignore invalidated
TLVs in crashdump buffer
Change-Id: Ic8513fb4155755f421f94683fe739ba73d55aa21
Signed-off-by: Gitanjali Krishna <gitanjal@codeaurora.org>