diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-10-05 10:36:45 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-10-08 09:46:16 +0000 |
commit | 88607a4b1002ed6acc7f316f274feea2fd861095 (patch) | |
tree | e004c85f36109da78872b88875d4f0ea1c30aaff /src/soc/nvidia/tegra124 | |
parent | d9169f826a3c19a7380a7d73c7126e52eb62e77d (diff) |
src: Use tabs for indentation
Change-Id: I6b40aaf5af5d114bbb0cd227dfd50b0ee19eebba
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/28934
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/nvidia/tegra124')
-rw-r--r-- | src/soc/nvidia/tegra124/chip.h | 2 | ||||
-rw-r--r-- | src/soc/nvidia/tegra124/display.c | 14 | ||||
-rw-r--r-- | src/soc/nvidia/tegra124/dp.c | 10 |
3 files changed, 13 insertions, 13 deletions
diff --git a/src/soc/nvidia/tegra124/chip.h b/src/soc/nvidia/tegra124/chip.h index d9ab67bf5f..7e930d11d6 100644 --- a/src/soc/nvidia/tegra124/chip.h +++ b/src/soc/nvidia/tegra124/chip.h @@ -75,7 +75,7 @@ struct soc_nvidia_tegra124_config { int hpd_unplug_min_us; int hpd_plug_min_us; - int hpd_irq_min_us; + int hpd_irq_min_us; int href_to_sync; int hsync_width; diff --git a/src/soc/nvidia/tegra124/display.c b/src/soc/nvidia/tegra124/display.c index febb420497..c90e392e0e 100644 --- a/src/soc/nvidia/tegra124/display.c +++ b/src/soc/nvidia/tegra124/display.c @@ -40,26 +40,26 @@ struct tegra_dc dc_data; int dump = 0; unsigned long READL(void *p) { - unsigned long value; + unsigned long value; /* * In case of hard hung on readl(p), we can set dump > 1 to print out * the address accessed. */ - if (dump > 1) + if (dump > 1) printk(BIOS_SPEW, "readl %p\n", p); - value = read32(p); - if (dump) + value = read32(p); + if (dump) printk(BIOS_SPEW, "readl %p %08lx\n", p, value); - return value; + return value; } void WRITEL(unsigned long value, void *p) { - if (dump) + if (dump) printk(BIOS_SPEW, "writel %p %08lx\n", p, value); - write32(p, value); + write32(p, value); } /* return in 1000ths of a Hertz */ diff --git a/src/soc/nvidia/tegra124/dp.c b/src/soc/nvidia/tegra124/dp.c index a9b8d7da97..7fae4e9a45 100644 --- a/src/soc/nvidia/tegra124/dp.c +++ b/src/soc/nvidia/tegra124/dp.c @@ -1362,10 +1362,10 @@ void dp_init(void *_config) struct tegra_dc *dc = config->dc_data; struct tegra_dc_dp_data *dp = &dp_data; - // set up links among config, dc, dp and sor - dp->dc = dc; - dc->out = dp; - dp->sor.dc = dc; + // set up links among config, dc, dp and sor + dp->dc = dc; + dc->out = dp; + dp->sor.dc = dc; dp->sor.power_is_up = 0; dp->sor.base = (void *)TEGRA_ARM_SOR; @@ -1427,7 +1427,7 @@ void dp_enable(void *_dp) if (tegra_dc_dp_init_max_link_cfg(config, dp, &dp->link_cfg)) { printk(BIOS_ERR, "dp: failed to init link configuration\n"); goto error_enable; - } + } tegra_dc_sor_enable_dp(&dp->sor); |