From 67f8718b26b0efdbabb57e1e76cd4fae4fe08268 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 23 Jan 2018 00:35:20 +0100 Subject: [PATCH] minor cleanup --- litex/soc/integration/builder.py | 4 ++-- litex/soc/software/include/base/irq.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/litex/soc/integration/builder.py b/litex/soc/integration/builder.py index 066c847a..7be7d4e5 100644 --- a/litex/soc/integration/builder.py +++ b/litex/soc/integration/builder.py @@ -162,8 +162,8 @@ class Builder: if self.gateware_toolchain_path is not None: toolchain_path = self.gateware_toolchain_path - if 'run' not in kwargs: - kwargs['run'] = self.compile_gateware + if "run" not in kwargs: + kwargs["run"] = self.compile_gateware vns = self.soc.build(build_dir=os.path.join(self.output_dir, "gateware"), toolchain_path=toolchain_path, **kwargs) return vns diff --git a/litex/soc/software/include/base/irq.h b/litex/soc/software/include/base/irq.h index a042384c..5f8c36d7 100644 --- a/litex/soc/software/include/base/irq.h +++ b/litex/soc/software/include/base/irq.h @@ -10,7 +10,7 @@ extern "C" { // instructions. It also doesn't have a global interrupt enable/disable, so // we have to emulate it via saving and restoring a mask and using 0/~1 as a // hardware mask. -// Due to all this somewhat low-level mess, all of the glue is implementein +// Due to all this somewhat low-level mess, all of the glue is implemented in // the RiscV crt0, and this header is kept as a thin wrapper. Since interrupts // managed by this layer, do not call interrupt instructions directly, as the // state will go out of sync with the hardware. -- 2.30.2