From 88607a4b1002ed6acc7f316f274feea2fd861095 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Fri, 5 Oct 2018 10:36:45 +0200 Subject: src: Use tabs for indentation Change-Id: I6b40aaf5af5d114bbb0cd227dfd50b0ee19eebba Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/28934 Reviewed-by: Stefan Reinauer Reviewed-by: Paul Menzel Tested-by: build bot (Jenkins) --- src/soc/nvidia/tegra124/chip.h | 2 +- src/soc/nvidia/tegra124/display.c | 14 +++++++------- src/soc/nvidia/tegra124/dp.c | 10 +++++----- 3 files changed, 13 insertions(+), 13 deletions(-) (limited to 'src/soc/nvidia/tegra124') 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); -- cgit v1.2.3