aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/staging/tidspbridge/core/tiomap3430.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/staging/tidspbridge/core/tiomap3430.c b/drivers/staging/tidspbridge/core/tiomap3430.c
index a3b0a183d570..c3126e2e23f0 100644
--- a/drivers/staging/tidspbridge/core/tiomap3430.c
+++ b/drivers/staging/tidspbridge/core/tiomap3430.c
@@ -786,10 +786,7 @@ static int bridge_dev_create(struct bridge_dev_context
786 786
787 pt_attrs = kzalloc(sizeof(struct pg_table_attrs), GFP_KERNEL); 787 pt_attrs = kzalloc(sizeof(struct pg_table_attrs), GFP_KERNEL);
788 if (pt_attrs != NULL) { 788 if (pt_attrs != NULL) {
789 /* Assuming that we use only DSP's memory map 789 pt_attrs->l1_size = SZ_16K; /* 4096 entries of 32 bits */
790 * until 0x4000:0000 , we would need only 1024
791 * L1 enties i.e L1 size = 4K */
792 pt_attrs->l1_size = 0x1000;
793 align_size = pt_attrs->l1_size; 790 align_size = pt_attrs->l1_size;
794 /* Align sizes are expected to be power of 2 */ 791 /* Align sizes are expected to be power of 2 */
795 /* we like to get aligned on L1 table size */ 792 /* we like to get aligned on L1 table size */