Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8b8ba6f3 authored by Satyajit Desai's avatar Satyajit Desai
Browse files

soc: qcom: Insert poison value into DCC SRAM



Poison the DCC SRAM with a known poison value. This
value will help in finding which particular register
accesses are resulting in a bus hang on dump collection.

Change-Id: Ia7d367d015bf8193325087492d1ee7ff8db19d23
Signed-off-by: default avatarSatyajit Desai <sadesai@codeaurora.org>
parent cc8c86a2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -536,7 +536,7 @@ static int dcc_enable(struct dcc_drvdata *drvdata)

	mutex_lock(&drvdata->mutex);

	memset_io(drvdata->ram_base, 0, drvdata->ram_size);
	memset_io(drvdata->ram_base, 0xDE, drvdata->ram_size);

	for (list = 0; list < DCC_MAX_LINK_LIST; list++) {