This is because we will be needing pcie and usb deinit
during bootm.
Also during booti, bootm will be called, so that time
also this deinit will be called.
Change-Id: I81eb43bf6db89a3f5600ce5327042a5aab0bb437
Signed-off-by: speriaka <speriaka@codeaurora.org>
Incorrct scm id was used for pshold. Use correct value instead.
Change-Id: Ife5c5d73cd007865234e4c899304a861f6c4ea9d
Signed-off-by: Prasanna Kumar Thoorvas Samyrao Muralidharan <ptsm@codeaurora.org>
By default UNIPHY PLL takes 48MHz, now this need to take 50M
from external oscilator input pin for HK10. So need to change
the PLL ref sel.
Affected only for HK10. Tested on Reworked HK01 board with 50MHz
oscillator connected to USGMII_OSCILL_50M pin
Change-Id: Ie90fdbbfbfc700a30d9ada895baa1a170db25888
Signed-off-by: Tushar Nimkar <tnimkar@codeaurora.org>
When crashdump is disabled, kernel will set the dload_magic
as 0x40. When dload magic is 0x40, u-boot will clear the
magic and do warm/cold reset.
Change-Id: I4e5ed215419ba550776993f8a1772ad30f1a27e4
Signed-off-by: speriaka <speriaka@codeaurora.org>
patch-up kernel dts file with "qca,coldreboot-enabled" if atf env
variable is set in uboot.
Change-Id: If4988b1828b162499b0dc76f99375a0ba6a9abf4
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
This patch adds malloc for loading ethphyfw instead
of loading it in RAM Address.
Change-Id: I0f39d7b61b7675667201a218e5e7830910472b9c
Signed-off-by: speriaka <speriaka@codeaurora.org>
REQUEST SUMMARY
Setup Data 8006000200000900 Direction Device-to-host
Type Standard Recipient Device
bRequest GET_DESCRIPTOR wValue CONFIGURATION, Index 0
wIndex 0x0000 wLength 0x0009
DECODING INFORMATION
Field Length(bits) Offset(bits) Decoded HexValue Description
bRequest 8 8 GET_DESCRIPTOR 0x06 bRequest HexVal: 0x06
wValue 16 16 CONFIGURATION type, Index 0 0x0200 Type of Descriptor
wIndex 16 32 0x0000 0x0000 index info
DEVICE_QUALIFIER
Descriptor(128 bytes) Field Length(bits) Offset(bits) Decoded HexValue Description
bLength 8 0 0x80 0x80 Descriptor size is 128 bytes
bDescriptorType 8 8 0x06 0x06 DEVICE_QUALIFIER Descriptor Type
bcdUSB 16 16 0x0200 0x0200 USB Specification version 2.00
bDeviceClass 8 32 0x00 0x00 Each interface specifies its own class information
bDeviceSubClass 8 40 0x00 0x00 Each interface specifies its own Subclass information
bDeviceProtocol 8 48 0x09 0x09 Protocol code = 9
bMaxPacketSize0 8 56 0x00 0x00 The Maximum packet size 0 for endpoint zero is invalid! (Only 8,16,32,or 64 are valid)
bNumConfigurations 8 64 0x09 0x09 The device has 9 possible other-speed configurations
The Transcend device fails for get configuration descriptor length.
Adding a delay fixes the issue.
Change-Id: Ic337e94e6342163e57e652781544709d0c32edcc
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
As per FAT spec, the number of sectors can be more than
clusters, as clusters starts from databegin.
So check cluster overflow against total clusters.
The FAT at present in u-boot lacks a lot, such as
support for long file names, subdir etc.
The mini dump was using more than 8 character name,
changed that one too.
Change-Id: Icfae6d955dd93432b3d33d7c0b9a724382d87185
Signed-off-by: Manoharan Vijaya Raghavan <mraghava@codeaurora.org>
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>