soc_hw_version can used to prevent cross-platform
flashing of single images to prevent board
from getting bricked.
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Change-Id: I579489498c8cbbc944b54e3050a319d1e11cb825
This changes enable nor enviornemnt support if its no flash with
eMMC and NAND is disabled.
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I1ff389ed388fb7f72543cc87e852c360a965db48
This changes remove nand command and Env support
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I6c59f8259306ef79499420afe4da17a2674e98be
QCN3018 has only 2 cores, the kernel has to bringup
only 2 cores, hence if the SoC is identified as QCN3018
restrict the number of cores using "maxcpus" bootargs
Change-Id: Idafc44c02de302b65f9c9dfc5f77783a91b2c018
Signed-off-by: Sumit Gaur <gaur@codeaurora.org>
This is to provide software framework to retain IMEM’s state
across warm reset. For warm reset crashdump collection should be
disabled.
In uboot we will check for the environment variable dload_warm_reset.The
crashdump magic is reset to 0x10 in SDI path, hence disable the SDI bit
in Uboot if environment variable is set which will disable crashdump
collection.
Change-Id: Ic60b63ead03436689ee04d2e3e7ecdbb275ccfee
Signed-off-by: Nikhil Prakash V <nprakash@codeaurora.org>
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>
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>
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>
Add environment variable in uboot and device-tree node
in kernel as "flash_type" to expose current boot mode.
Change-Id: I15d4547f135f187a157dd7b303fc31f2df77cec2
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
Enable or disable of cache functions provided by board.
This should override the default functions, hence should not be
__weak function definition in board command files.
Change-Id: I676c1f05975c723a88a0cbd2596e907fcf089eff
Signed-off-by: Manoharan Vijaya Raghavan <mraghava@codeaurora.org>
If readonly bit of gpt attribute is set,
power-on write protection will be enabled.
Change-Id: I7dd9250fd592988626e889f92f07c6839585eb7d
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
dcache is enabled only during boot from flash.
During JTAG recovery, dcache_enable is skipped
to avoid cache issues in recovery environment.
Change-Id: Ie3003f67c787cbc6b88dc42017aeb2a9508d2ff9
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Previous pending L2 cache errors are cleared during the
cleanup phase before transferring the control to linux.
Change-Id: I3a54c64049135e150c2b49b0d6de1667511b6a14
This patch involves changes which makes
sure that spi related functionalities are
used only when the config corresponding
to it is defined.
This change will allow us to disable or
enable spi as per our need.
Change-Id: I6c3865a6028b9f2a50fe0bface35b1695b17b515
Signed-off-by: speriaka <speriaka@codeaurora.org>
U-boot uses APPSBLENV partition on flash to save environment variables.
During flashless boot, there cannot be any dependency over a flash partition.
This patch revokes the support for this flash partition for flashless boot.
Change-Id: Id387ec3af52c597f3fd408e022446c9b600ecf1d
Signed-off-by: Gopinath Sekar <gsekar@codeaurora.org>
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
flash_secondary_type is specific to ipq8064. Initialization of this
parameter is moved into boards specific file.
Change-Id: If1a0e44e3d0a674ce497de045d9c5095b67bc913
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
As the U-boot source is going to be common between ARM and MIPS
architecture , it is required to pick only the files specific
to the respective architectures during the build.
So, move the qca arm target specific common files to another
sub level by specifying the ARCH arm.
Change-Id: I06b538834109981f21fef6270bfb8e437a2f5a7e
Signed-off-by: Prabhu Jayakumar <pjayak@codeaurora.org>
2017-01-06 12:33:30 +05:30
Renamed from board/qca/common/board_init.c (Browse further)