summaryrefslogtreecommitdiff
path: root/ports/litex
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@flameeyes.com>2020-05-30 10:44:13 +0100
committerDiego Elio Pettenò <flameeyes@flameeyes.com>2020-06-03 10:56:35 +0100
commitdd5d7c86d22807c021dd1711eb7dd3daebc5cfcf (patch)
treedde417af2cae8cb1797582d6489eab9cb9caeddf /ports/litex
parent60df6170cc5d0e495fde9613c05c55b64189b425 (diff)
Fix up end of file and trailing whitespace.
This can be enforced by pre-commit, but correct it separately to make it easier to review.
Diffstat (limited to 'ports/litex')
-rw-r--r--ports/litex/common-hal/supervisor/Runtime.c1
-rw-r--r--ports/litex/common-hal/supervisor/__init__.c2
-rw-r--r--ports/litex/hw/common.h2
-rw-r--r--ports/litex/irq.h2
-rw-r--r--ports/litex/supervisor/internal_flash.c1
5 files changed, 3 insertions, 5 deletions
diff --git a/ports/litex/common-hal/supervisor/Runtime.c b/ports/litex/common-hal/supervisor/Runtime.c
index feab6987d..ea663f897 100644
--- a/ports/litex/common-hal/supervisor/Runtime.c
+++ b/ports/litex/common-hal/supervisor/Runtime.c
@@ -35,4 +35,3 @@ bool common_hal_get_serial_connected(void) {
bool common_hal_get_serial_bytes_available(void) {
return (bool) serial_bytes_available();
}
-
diff --git a/ports/litex/common-hal/supervisor/__init__.c b/ports/litex/common-hal/supervisor/__init__.c
index ac88556b4..6dca35fb5 100644
--- a/ports/litex/common-hal/supervisor/__init__.c
+++ b/ports/litex/common-hal/supervisor/__init__.c
@@ -37,4 +37,4 @@ const super_runtime_obj_t common_hal_supervisor_runtime_obj = {
.base = {
.type = &supervisor_runtime_type,
},
-}; \ No newline at end of file
+};
diff --git a/ports/litex/hw/common.h b/ports/litex/hw/common.h
index 6a97ca2e9..b902bc4f2 100644
--- a/ports/litex/hw/common.h
+++ b/ports/litex/hw/common.h
@@ -30,4 +30,4 @@ static inline uint32_t csr_readl(uint32_t addr)
{
return *(volatile uint32_t *)addr;
}
-#endif /* _HW_COMMON_H_ */ \ No newline at end of file
+#endif /* _HW_COMMON_H_ */
diff --git a/ports/litex/irq.h b/ports/litex/irq.h
index a82218907..dc96c228d 100644
--- a/ports/litex/irq.h
+++ b/ports/litex/irq.h
@@ -68,4 +68,4 @@ static inline unsigned int irq_pending(void)
}
#endif
-#endif /* __IRQ_H */ \ No newline at end of file
+#endif /* __IRQ_H */
diff --git a/ports/litex/supervisor/internal_flash.c b/ports/litex/supervisor/internal_flash.c
index 2dbf46b3a..cf777a8ac 100644
--- a/ports/litex/supervisor/internal_flash.c
+++ b/ports/litex/supervisor/internal_flash.c
@@ -348,4 +348,3 @@ mp_uint_t supervisor_flash_write_blocks(const uint8_t *src, uint32_t lba, uint32
void supervisor_flash_release_cache(void) {
}
-