aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLarry Doolittle <ldoolitt@recycle.lbl.gov>2020-04-23 17:58:32 +0200
committerClaire Wolf <claire@symbioticeda.com>2020-04-23 17:59:17 +0200
commit9129d18bf5699e69f25edffa7864aaf88d6dd385 (patch)
tree0ed757d884c882fccce380fc8ed8c168bb98b0c3
parent409d0dfd6772551e2ce77502e368973c447cbeb8 (diff)
downloadpicorv32-9129d18bf5699e69f25edffa7864aaf88d6dd385.tar.gz
picorv32-9129d18bf5699e69f25edffa7864aaf88d6dd385.zip
Cleanup whitespaces
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
-rw-r--r--dhrystone/syscalls.c2
-rw-r--r--firmware/riscv.ld6
-rw-r--r--picosoc/spiflash.v2
-rw-r--r--scripts/csmith/syscalls.c2
-rw-r--r--scripts/cxxdemo/syscalls.c2
-rw-r--r--scripts/romload/firmware.c2
-rw-r--r--scripts/romload/syscalls.c2
7 files changed, 9 insertions, 9 deletions
diff --git a/dhrystone/syscalls.c b/dhrystone/syscalls.c
index 82e633b..8ea84ca 100644
--- a/dhrystone/syscalls.c
+++ b/dhrystone/syscalls.c
@@ -77,7 +77,7 @@ int _fstat(int file, struct stat *st)
void *_sbrk(ptrdiff_t incr)
{
- extern unsigned char _end[]; // Defined by linker
+ extern unsigned char _end[]; // Defined by linker
static unsigned long heap_end;
if (heap_end == 0)
diff --git a/firmware/riscv.ld b/firmware/riscv.ld
index bf339fb..16fde8d 100644
--- a/firmware/riscv.ld
+++ b/firmware/riscv.ld
@@ -59,9 +59,9 @@ SECTIONS
.gcc_except_table : ONLY_IF_RW { *(.gcc_except_table .gcc_except_table.*) }
.exception_ranges : ONLY_IF_RW { *(.exception_ranges .exception_ranges*) }
/* Thread Local Storage sections */
- .tdata : { *(.tdata .tdata.* .gnu.linkonce.td.*) }
- .tbss : { *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon) }
- .preinit_array :
+ .tdata : { *(.tdata .tdata.* .gnu.linkonce.td.*) }
+ .tbss : { *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon) }
+ .preinit_array :
{
PROVIDE_HIDDEN (__preinit_array_start = .);
KEEP (*(.preinit_array))
diff --git a/picosoc/spiflash.v b/picosoc/spiflash.v
index 1ade543..298219d 100644
--- a/picosoc/spiflash.v
+++ b/picosoc/spiflash.v
@@ -46,7 +46,7 @@ module spiflash (
);
localparam verbose = 0;
localparam integer latency = 8;
-
+
reg [7:0] buffer;
integer bitcount = 0;
integer bytecount = 0;
diff --git a/scripts/csmith/syscalls.c b/scripts/csmith/syscalls.c
index 82e633b..8ea84ca 100644
--- a/scripts/csmith/syscalls.c
+++ b/scripts/csmith/syscalls.c
@@ -77,7 +77,7 @@ int _fstat(int file, struct stat *st)
void *_sbrk(ptrdiff_t incr)
{
- extern unsigned char _end[]; // Defined by linker
+ extern unsigned char _end[]; // Defined by linker
static unsigned long heap_end;
if (heap_end == 0)
diff --git a/scripts/cxxdemo/syscalls.c b/scripts/cxxdemo/syscalls.c
index 82e633b..8ea84ca 100644
--- a/scripts/cxxdemo/syscalls.c
+++ b/scripts/cxxdemo/syscalls.c
@@ -77,7 +77,7 @@ int _fstat(int file, struct stat *st)
void *_sbrk(ptrdiff_t incr)
{
- extern unsigned char _end[]; // Defined by linker
+ extern unsigned char _end[]; // Defined by linker
static unsigned long heap_end;
if (heap_end == 0)
diff --git a/scripts/romload/firmware.c b/scripts/romload/firmware.c
index 72bb9a1..4bc9ed8 100644
--- a/scripts/romload/firmware.c
+++ b/scripts/romload/firmware.c
@@ -4,7 +4,7 @@
int x1 = 1000;
int x2 = 2000;
-void main()
+void main()
{
int z;
x1 = 50;
diff --git a/scripts/romload/syscalls.c b/scripts/romload/syscalls.c
index 82e633b..8ea84ca 100644
--- a/scripts/romload/syscalls.c
+++ b/scripts/romload/syscalls.c
@@ -77,7 +77,7 @@ int _fstat(int file, struct stat *st)
void *_sbrk(ptrdiff_t incr)
{
- extern unsigned char _end[]; // Defined by linker
+ extern unsigned char _end[]; // Defined by linker
static unsigned long heap_end;
if (heap_end == 0)