qcacld-3.0: Fix crash caused by sdio ramdump allocation

For TF sdio chip with platform driver, ramdump is
configured in platform driver. Driver can get the
virtual memory, but it can't call ioremap again.

If there is a platform driver, ramdump should be
allocated in platform driver, and if there is no
platform driver, ramdump should be allocated in
driver.

CRs-Fixed: 2066529
Change-Id: Ia2a32a4895f354e365522a30bbfac949ccb7a391
This commit is contained in:
bings
2017-06-26 13:58:08 +08:00
committed by snandini
parent d2eee305f4
commit 75be2d0a45
2 changed files with 62 additions and 1 deletions

View File

@@ -59,7 +59,6 @@
#define AXI_LOCATION 0x000a0000
#define AXI_SIZE 0x00018000
#define TOTAL_DUMP_SIZE 0x00200000
#define PCIE_READ_LIMIT 0x00005000
#define SHA256_DIGEST_SIZE 32