During serial init after relocation, if TX FIFO is
not empty, clock init on-the-fly causes baudrate
flucutation resulting in TX data corruption and
outputs as garbage data on the console.
This patch fixes this by waiting until TX FIFO
gets flushed before serial initialization starts.
Change-Id: I487c73fbfb4fdb80b20d8beb8daa111ee9bae34e
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Force the crashdump collection based on environment variable. If the
environment varibale force_crashdump is set then we will proceed directly
with the crashdump collection, else we will wait for user input
for 10s before going for crashdump collection.
Change-Id: Ida500bd060dcdd46736e9ea950a0009353abcbf1
Signed-off-by: Nikhil Prakash V <nprakash@codeaurora.org>
ipq6018 CXO is 24 MHz. It is downscaled by 1/100
to 240 KHz for EMU platform.
Change-Id: Id94e4f9cb3516e6d0750d89596c0153018fb9674
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
Deleted cpu operating point opp06,
npu-supply and mx-supply from nss.
Change-Id: I0b8c464d6d93c2af24958ddd84e89b3fbd87641b
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
device-tree name suffix with soc version
is made specific to ipq806x
Change-Id: I32913a13929127ff41cec83d1319f0c98fdb3127
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Copy these from Linux v4.5-rc6 tag.
This is needed so that we can keep up with newer gcc versions. Note
that we don't have the uapi/ hierarchy from the kernel so continue to
use <linux/types.h>
Signed-off-by: Tom Rini <trini@konsulko.com>
(cherry picked from commit 9b2c282b34)
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
This change adds support to flash V1 images as if default version is 1,
if the soc version information are not supported in boot loader.
Change-Id: I7867ae3b26032215da45d2a97d61ea7398e152d9
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
This change removes the "default" option in existing flash command
and makes use of environment variables in default case.
Change-Id: Ibc6ed68043acc708323b90132686cecf7f2f0d82
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
This change modifies the pack script to generate soc-version
specific names for images to be packed into single image.
Change-Id: Ic6406fe0fc164d8c6e7b2622c97915aac2afaac8
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
This patch checks for the errors during the fifo write itself
like in qca_pio_read function. Previously, error was checked
only after the total xfer_size is written to the fifo and
errors during the fifo write operation were ignored.
Change-Id: I2a549b0032bfd774973773cc49b595c75682aac7
Signed-off-by: Balaji Prakash Jagadeesan <bjagadee@codeaurora.org>
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>