ubwcp: Set ULA PA range size from DT

Use the UBWC-P ula_range DT property to configure the
UBWC-P ULA PA range size.

Change-Id: I46579146904f76160c0f984d8e377e8d28a56dd7
Signed-off-by: Liam Mark <quic_lmark@quicinc.com>
This commit is contained in:
Liam Mark
2023-02-06 10:39:42 -08:00
parent fcb70f9328
commit b5312c5129

View File

@@ -2575,9 +2575,6 @@ static int qcom_ubwcp_probe(struct platform_device *pdev)
}
DBG("ubwcp: ula_range: size = 0x%lx", ubwcp->ula_pool_size);
/*TBD: remove later. reducing size for quick testing...*/
ubwcp->ula_pool_size = 0x20000000; //500MB instead of 8GB
INIT_LIST_HEAD(&ubwcp->err_handler_list);
mutex_init(&ubwcp->desc_lock);