Since OCR value is changed,1ms delay is added to
give cards time to respond.
Change-Id: I18bddbc9d01ab2c62529c9f2065331f83b7ecca9
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
Kw issues occurred with below message:
"Array 'buf'of size 256 may use index value(s) -2..0".
In order to fix this issue, error message will be
returned with array index out of index if buffer
size isless than 0 or if it increases buffer size.
Change-Id: I5a7885b0ee2fd6e9c0ac3083b28366f1ae5ceaee
Signed-off-by: Avinash Pandey <avinasv@codeaurora.org>
This change modifies the size of IMEM region during dump
collection in secured and non-secured boots.
Change-Id: If418a353ff8fa37bdad20730f9dfcc46cddd5491
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
As 52Mhz clk does not have 50% dutycycle, setting
48MHz clk for mmc data transfer mode
Change-Id: Id9c0ce07fe652df7d575c5ea11f1d83eab0fb24c
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
In non-secured boards the dump save size is set to
be the size of RAM buffer. Since the name field of
dumpinfo was same for both secured and non-secured
boards,the dump save size for secured board is also
set to RAM buffer size which causes data abort during
secure crashdump collection. This patch retains the
actual save size of secure board.
Change-Id: Ib26fc4730355a7f0cb131dee61983a15c1825f6f
Signed-off-by: Sasirekaa Madhesu <smadhesu@codeaurora.org>
fdt_path_offset function will return zero or positive
value for success case.So fixed the return value check
accordingly.
Change-Id: Iafacdaf7c12cecdb882f3795f6145730efe938a6
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
Since mmc_deinit is invoked in ft_board_setup, removing the
redundant call.
Change-Id: I9ce0c6cf2f6ae197eaf77718dc6097d5a0070b76
Signed-off-by: Sasirekaa Madhesu <smadhesu@codeaurora.org>
Do generic flash structure initialization, for the devices
not listed in the SPI NOR flash lookup table, so that
we can access the flash even before the support is added.
Block size and density are obtained from smem.
Change-Id: I568eb538615bb36124c43a2509bcfce2e4a1188a
Signed-off-by: Balaji Jagadeesan <bjagadee@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>
This patch will improve the spi flash read/write
performance.
Change-Id: I3939d202bf504a3386a4ae44644c715ec17f01ab
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
This patch enables SDHCI mode and also supports
data transfer using ADMA method.
Change-Id: Idafb0ecd6cb3ddf28e18681f8823134be99574cd
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>