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/tegra210 | |
parent | d9169f826a3c19a7380a7d73c7126e52eb62e77d (diff) | |
download | coreboot-88607a4b1002ed6acc7f316f274feea2fd861095.tar.xz |
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/tegra210')
-rw-r--r-- | src/soc/nvidia/tegra210/dc.c | 18 | ||||
-rw-r--r-- | src/soc/nvidia/tegra210/dsi.c | 8 | ||||
-rw-r--r-- | src/soc/nvidia/tegra210/romstage_asm.S | 2 | ||||
-rw-r--r-- | src/soc/nvidia/tegra210/stack.S | 2 |
4 files changed, 15 insertions, 15 deletions
diff --git a/src/soc/nvidia/tegra210/dc.c b/src/soc/nvidia/tegra210/dc.c index b892c602b3..10003463c0 100644 --- a/src/soc/nvidia/tegra210/dc.c +++ b/src/soc/nvidia/tegra210/dc.c @@ -25,26 +25,26 @@ 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 */ @@ -76,7 +76,7 @@ static void print_mode(const struct soc_nvidia_tegra210_config *config) } int update_display_mode(struct display_controller *disp_ctrl, - struct soc_nvidia_tegra210_config *config) + struct soc_nvidia_tegra210_config *config) { print_mode(config); @@ -124,7 +124,7 @@ int update_display_mode(struct display_controller *disp_ctrl, } void update_display_shift_clock_divider(struct display_controller *disp_ctrl, - u32 shift_clock_div) + u32 shift_clock_div) { WRITEL((PIXEL_CLK_DIVIDER_PCD1 << PIXEL_CLK_DIVIDER_SHIFT) | (shift_clock_div & 0xff) << SHIFT_CLK_DIVIDER_SHIFT, diff --git a/src/soc/nvidia/tegra210/dsi.c b/src/soc/nvidia/tegra210/dsi.c index 532ffc3122..205bc1e1db 100644 --- a/src/soc/nvidia/tegra210/dsi.c +++ b/src/soc/nvidia/tegra210/dsi.c @@ -886,12 +886,12 @@ static int dsi_probe_if(int dsi_index, /* * Set default value. Will be taken from attached device once detected */ - dsi->flags = 0; - dsi->format = MIPI_DSI_FMT_RGB888; - dsi->lanes = 4; + dsi->flags = 0; + dsi->format = MIPI_DSI_FMT_RGB888; + dsi->lanes = 4; /* get tegra_mipi_device */ - dsi->mipi = tegra_mipi_request(&mipi_device_data[dsi_index], dsi_index); + dsi->mipi = tegra_mipi_request(&mipi_device_data[dsi_index], dsi_index); /* calibrate */ err = tegra_dsi_pad_calibrate(dsi); diff --git a/src/soc/nvidia/tegra210/romstage_asm.S b/src/soc/nvidia/tegra210/romstage_asm.S index 9bceadb6fc..110149b0d9 100644 --- a/src/soc/nvidia/tegra210/romstage_asm.S +++ b/src/soc/nvidia/tegra210/romstage_asm.S @@ -16,7 +16,7 @@ #include <arch/asm.h> #include "stack.S" - .section ".text", "ax", %progbits + .section ".text", "ax", %progbits ENTRY(main) stack_init stack_top=_estack stack_bottom=_stack seed=0 func=romstage diff --git a/src/soc/nvidia/tegra210/stack.S b/src/soc/nvidia/tegra210/stack.S index acab70c9ec..416cdb39f9 100644 --- a/src/soc/nvidia/tegra210/stack.S +++ b/src/soc/nvidia/tegra210/stack.S @@ -21,7 +21,7 @@ * @func : Function to call after initializing stack */ .macro stack_init stack_top, stack_bottom, seed, func - /* Check if stack seeding is required */ + /* Check if stack seeding is required */ mov r0, #\seed cmp r0, #1 bne call_func |