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>
We are allocating the dma descriptors,but they are not explicitly
freed. This change will free the dma descriptors after every transfer.
Change-Id: I0a851923ab4d2551215e29b34c7c31b85502fb3f
Signed-off-by: sameeruddin shaik <samesh@codeaurora.org>
This change modifies kstrtoint function to update
the result in destination buffer and return zero on success.
Change-Id: Ibdd9b36eed39d5e2ee3afc6f1609c1e35d5fb464
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
Rootfs's certificate is appended in kernel image. Read from
there, pack it with rootfs image and validate rootfs.
Change-Id: I2b40f88e23225c17362a02f6c7868edda2a8e8bd
Signed-off-by: Praveenkumar I <ipkumar@codeaurora.org>
Nodeoff must be initialized to ensure root node is present.
Change-Id: I1091a816f5b92c3f798222da9c987d899ef4bc9f
Signed-off-by: Sanjeev N <nsanjeev@codeaurora.org>
power-on write protection also gets cleared during sd-ldo toggle in kernel.
This toggle is required only for SD card. So, If the boot flash type is
eMMC or NOR+eMMC sd-ldo removed from the device tree.
Change-Id: I3c7bf14a5f67df3bcef2bd6507da5146c2beffb7
Signed-off-by: Vinoth Gnanasekaran <vgnana@codeaurora.org>
Some cards are not working due to pcie reset.
So doing pcie reset with pcie reset gpio.
Change-Id: I0c631b116923b90bf94223d09e5662900a31244e
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
Since set_sgmii_mode function does not return any value, changed its
functon type to void.
Change-Id: I4f098747ed2e562488cf97dc06dbb48a54b53fc3
Signed-off-by: Nikhil Prakash V <nprakash@codeaurora.org>
The "flash" command erases given partition and
writes the image to flash.
Change-Id: I059414fd3d7eefeac0c626e1980a70985f2de986
Signed-off-by: Pavithra Palanisamy <pavip@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>
Currently, we search for "sdhci" node and continue with
mmc_init if it is present. We never check for status of
the sdhci node. As sdhci node is present in all the
board variants, mmc_init happens in all boards.
So, added a check to see if the status of sdhci node is
"okay" and continue with initialization, else return.
fdtdec_get_is_enabled library function checks only for
string "okay" which is the correct usage for status
variable. So, changed the status string in the
dts files accordingly.
Change-Id: I26ac5d9930b9e91e3d9d2436eff0cf02b8977b2e
Signed-off-by: Balaji Jagadeesan <bjagadee@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>
In DK06, there is no h/w support for mmc and sd.
In DK07, there is no h/w support for mmc and no support
for sd in uboot.
So, removing the sdhci entries from dts.
Change-Id: I39ac2fa56745d1ee3c23be5d8acd3ce5c355a135
Signed-off-by: Balaji Jagadeesan <bjagadee@codeaurora.org>