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:
@@ -2575,9 +2575,6 @@ static int qcom_ubwcp_probe(struct platform_device *pdev)
|
|||||||
}
|
}
|
||||||
DBG("ubwcp: ula_range: size = 0x%lx", ubwcp->ula_pool_size);
|
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);
|
INIT_LIST_HEAD(&ubwcp->err_handler_list);
|
||||||
|
|
||||||
mutex_init(&ubwcp->desc_lock);
|
mutex_init(&ubwcp->desc_lock);
|
||||||
|
Reference in New Issue
Block a user