From b717c79249609b0153c90467932e005d8579cc65 Mon Sep 17 00:00:00 2001 From: Ram Kumar D Date: Fri, 8 Jul 2022 08:54:45 +0530 Subject: [PATCH] drivers: net: devsoc: enable init non-cache buf support This changes initialize non-cache buffer every time before edma configuration. Change-Id: I3a4f84076516feeb7b578a7543d6e68d788c8931 Signed-off-by: Ram Kumar D --- drivers/net/devsoc/devsoc_edma.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/devsoc/devsoc_edma.c b/drivers/net/devsoc/devsoc_edma.c index 06aec4160a..229612f539 100644 --- a/drivers/net/devsoc/devsoc_edma.c +++ b/drivers/net/devsoc/devsoc_edma.c @@ -1723,12 +1723,13 @@ int devsoc_edma_init(void *edma_board_cfg) #endif int node, phy_addr, mode, phy_node = -1, res = -1; int aquantia_port[2] = {-1, -1}, aquantia_port_cnt = -1; - +#endif /* * Init non cache buffer */ noncached_init(); +#ifndef CONFIG_DEVSOC_RUMI node = fdt_path_offset(gd->fdt_blob, "/ess-switch"); if (node >= 0) {