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

Commit d33b91af authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "coresight: tmc: Change ETR DDR transaction configuration"

parents fad60cc4 6e56c6aa
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -930,6 +930,10 @@ static void tmc_etr_enable_hw(struct tmc_drvdata *drvdata)
		axictl |= TMC_AXICTL_SCT_GAT_MODE;
	}

	axictl = (axictl &
		  ~(TMC_AXICTL_CACHE_CTL_B0 | TMC_AXICTL_CACHE_CTL_B1 |
		  TMC_AXICTL_CACHE_CTL_B2 | TMC_AXICTL_CACHE_CTL_B3)) |
		  TMC_AXICTL_CACHE_CTL_B0;
	writel_relaxed(axictl, drvdata->base + TMC_AXICTL);
	tmc_write_dba(drvdata, etr_buf->hwaddr);
	/*
+4 −0
Original line number Diff line number Diff line
@@ -64,6 +64,10 @@

#define TMC_AXICTL_PROT_CTL_B0	BIT(0)
#define TMC_AXICTL_PROT_CTL_B1	BIT(1)
#define TMC_AXICTL_CACHE_CTL_B0	BIT(2)
#define TMC_AXICTL_CACHE_CTL_B1	BIT(3)
#define TMC_AXICTL_CACHE_CTL_B2	BIT(4)
#define TMC_AXICTL_CACHE_CTL_B3	BIT(5)
#define TMC_AXICTL_SCT_GAT_MODE	BIT(7)
#define TMC_AXICTL_WR_BURST_16	0xF00
/* Write-back Read and Write-allocate */