summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2024-06-28 10:15:59 +0200
committerFelix Held <felix-coreboot@felixheld.de>2024-07-01 13:38:20 +0000
commit06575901cfd47fb02706f253a7b335aeb70664cd (patch)
treeccd261ba058ff158d3de7bb3ac7c6eff266682bd
parentdef571c8ada0944189497f46634690f7fe5b271a (diff)
soc/nvidia: Remove unneeded white spaces
Change-Id: Ifd19cdcfbdf0b01984e0db0aa880fdcb256663b4 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/83255 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
-rw-r--r--src/soc/nvidia/tegra124/power.c4
-rw-r--r--src/soc/nvidia/tegra124/sdram_lp0.c4
-rw-r--r--src/soc/nvidia/tegra210/power.c2
-rw-r--r--src/soc/nvidia/tegra210/sdram_lp0.c2
4 files changed, 6 insertions, 6 deletions
diff --git a/src/soc/nvidia/tegra124/power.c b/src/soc/nvidia/tegra124/power.c
index 3817dd96ed..8e9579c0dd 100644
--- a/src/soc/nvidia/tegra124/power.c
+++ b/src/soc/nvidia/tegra124/power.c
@@ -8,8 +8,8 @@
#include <soc/pmc.h>
#include <soc/power.h>
-static struct tegra_pmc_regs * const pmc = (void *)TEGRA_PMC_BASE;
-static struct flow_ctlr * const flow = (void *)TEGRA_FLOW_BASE;
+static struct tegra_pmc_regs *const pmc = (void *)TEGRA_PMC_BASE;
+static struct flow_ctlr *const flow = (void *)TEGRA_FLOW_BASE;
static int partition_powered(int id)
{
diff --git a/src/soc/nvidia/tegra124/sdram_lp0.c b/src/soc/nvidia/tegra124/sdram_lp0.c
index ef3c716840..5361780919 100644
--- a/src/soc/nvidia/tegra124/sdram_lp0.c
+++ b/src/soc/nvidia/tegra124/sdram_lp0.c
@@ -23,8 +23,8 @@
*/
void sdram_lp0_save_params(const struct sdram_params *sdram)
{
- struct tegra_pmc_regs * pmc = (void *)TEGRA_PMC_BASE;
- struct clk_rst_ctlr * clk_rst = (void *)TEGRA_CLK_RST_BASE;
+ struct tegra_pmc_regs *pmc = (void *)TEGRA_PMC_BASE;
+ struct clk_rst_ctlr *clk_rst = (void *)TEGRA_CLK_RST_BASE;
#define pack(src, src_bits, dst, dst_bits) { \
_Static_assert((1 ? src_bits) >= (0 ? src_bits) && (1 ? dst_bits) >= \
diff --git a/src/soc/nvidia/tegra210/power.c b/src/soc/nvidia/tegra210/power.c
index 4968c85120..4d74142d63 100644
--- a/src/soc/nvidia/tegra210/power.c
+++ b/src/soc/nvidia/tegra210/power.c
@@ -7,7 +7,7 @@
#include <soc/pmc.h>
#include <soc/power.h>
-static struct tegra_pmc_regs * const pmc = (void *)TEGRA_PMC_BASE;
+static struct tegra_pmc_regs *const pmc = (void *)TEGRA_PMC_BASE;
enum {
POWER_GATE = 0,
diff --git a/src/soc/nvidia/tegra210/sdram_lp0.c b/src/soc/nvidia/tegra210/sdram_lp0.c
index 5d65b2dd61..81402cd78a 100644
--- a/src/soc/nvidia/tegra210/sdram_lp0.c
+++ b/src/soc/nvidia/tegra210/sdram_lp0.c
@@ -12,7 +12,7 @@
*/
void sdram_lp0_save_params(const struct sdram_params *sdram)
{
- struct tegra_pmc_regs * pmc = (void *)TEGRA_PMC_BASE;
+ struct tegra_pmc_regs *pmc = (void *)TEGRA_PMC_BASE;
#define pack(src, src_bits, dst, dst_bits) { \
_Static_assert((1 ? src_bits) >= (0 ? src_bits) && (1 ? dst_bits) >= \