Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/83255?usp=email )
Change subject: soc/nvidia: Remove unneeded white spaces ......................................................................
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 --- M src/soc/nvidia/tegra124/power.c M src/soc/nvidia/tegra124/sdram_lp0.c M src/soc/nvidia/tegra210/power.c M src/soc/nvidia/tegra210/sdram_lp0.c 4 files changed, 6 insertions(+), 6 deletions(-)
Approvals: build bot (Jenkins): Verified Felix Singer: Looks good to me, approved
diff --git a/src/soc/nvidia/tegra124/power.c b/src/soc/nvidia/tegra124/power.c index 3817dd9..8e9579c 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 ef3c716..5361780 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 4968c85..4d74142 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 5d65b2d..81402cd 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) >= \