Skip to contentSkip to conversation

platform: andex/ae350: Fix comments in plicsw.c

PATCH New Bin Meng 1 participant 2 messages Jun 4, 2021

lore
Share & tools
lore

Bin Meng

author
#0 lore raw

PATCH 1/2 platform: andex/ae350: Fix comments in plicsw.c

- %s/CLINT/PLICSW
- replace '.' with a space

---

 platform/andes/ae350/plicsw.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
platform/andes/ae350/plicsw.c +2 -2
index d07df28..fb994bf 100644
@@ -83,7 +83,7 @@ void plicsw_ipi_clear(u32 target_hart)
 	if (plicsw_ipi_hart_count <= target_hart)
 		return;
 
-	/* Clear CLINT IPI */
+	/* Clear PLICSW IPI */
 	plicsw_claim();
 	plicsw_complete();
 }
@@ -111,7 +111,7 @@ int plicsw_cold_ipi_init(unsigned long base, u32 hart_count)
 	for (int i = 0; i < AE350_HART_COUNT*PLICSW_PENDING_PER_HART; i++)
 		writel(1, &priority[i]);
 
-	/* Setup target enable.*/
+	/* Setup target enable */
 	uint32_t enable_mask = PLICSW_HART_MASK;
 
 	for (int i = 0; i < AE350_HART_COUNT; i++) {
Signature · 1 line
2.25.1
author
#1 lore raw

PATCH 2/2 docs/platform: andes-ae350: Fix missing spaces

Fix several places in the docmentation that are missing spaces.

---

 docs/platform/andes-ae350.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
docs/platform/andes-ae350.md +3 -3
index 46889a1..1cf83cf 100644
@@ -1,9 +1,9 @@
 Andes AE350 SoC Platform
 ========================
 The AE350 AXI/AHB-based platform N25(F)/NX25(F)/D25F/A25/AX25 CPU with level-one
-memories,interrupt controller, debug module, AXI and AHB Bus Matrix Controller,
-AXI-to-AHB Bridge and a collection of fundamentalAHB/APB bus IP components
-pre-integrated together as a system design.The high-quality and configurable
+memories, interrupt controller, debug module, AXI and AHB Bus Matrix Controller,
+AXI-to-AHB Bridge and a collection of fundamental AHB/APB bus IP components
+pre-integrated together as a system design. The high-quality and configurable
 AHB/APB IPs suites a majority embedded systems, and the verified platform serves
 as a starting point to jump start SoC designs.
 
Signature · 1 line
2.25.1