Commit b50bdcea authored by Douglas Raillard's avatar Douglas Raillard Committed by Soby Mathew
Browse files

GICv3: Fix gic600.c indentation



Reindent the file using tabs as the mix of spaces and tabs confuses some
editors and leads them to use spaces instead of tabs for new code
although the coding style mandates tabs.

Change-Id: I87fa4a5d368a048340054b9b3622325f3f7befba
Signed-off-by: default avatarDouglas Raillard <douglas.raillard@arm.com>
parent c64d1345
...@@ -18,19 +18,19 @@ ...@@ -18,19 +18,19 @@
#include "gicv3_private.h" #include "gicv3_private.h"
/* GIC600-specific register offsets */ /* GIC600-specific register offsets */
#define GICR_PWRR 0x24 #define GICR_PWRR 0x24
/* GICR_PWRR fields */ /* GICR_PWRR fields */
#define PWRR_RDPD_SHIFT 0 #define PWRR_RDPD_SHIFT 0
#define PWRR_RDGPD_SHIFT 2 #define PWRR_RDGPD_SHIFT 2
#define PWRR_RDGPO_SHIFT 3 #define PWRR_RDGPO_SHIFT 3
#define PWRR_RDGPD (1 << PWRR_RDGPD_SHIFT) #define PWRR_RDGPD (1 << PWRR_RDGPD_SHIFT)
#define PWRR_RDGPO (1 << PWRR_RDGPO_SHIFT) #define PWRR_RDGPO (1 << PWRR_RDGPO_SHIFT)
/* Values to write to GICR_PWRR register to power redistributor */ /* Values to write to GICR_PWRR register to power redistributor */
#define PWRR_ON (0 << PWRR_RDPD_SHIFT) #define PWRR_ON (0 << PWRR_RDPD_SHIFT)
#define PWRR_OFF (1 << PWRR_RDPD_SHIFT) #define PWRR_OFF (1 << PWRR_RDPD_SHIFT)
/* Generic GICv3 resources */ /* Generic GICv3 resources */
extern const gicv3_driver_data_t *gicv3_driver_data; extern const gicv3_driver_data_t *gicv3_driver_data;
...@@ -38,12 +38,12 @@ extern const gicv3_driver_data_t *gicv3_driver_data; ...@@ -38,12 +38,12 @@ extern const gicv3_driver_data_t *gicv3_driver_data;
/* GIC600-specific accessor functions */ /* GIC600-specific accessor functions */
static void gicr_write_pwrr(uintptr_t base, unsigned int val) static void gicr_write_pwrr(uintptr_t base, unsigned int val)
{ {
mmio_write_32(base + GICR_PWRR, val); mmio_write_32(base + GICR_PWRR, val);
} }
static uint32_t gicr_read_pwrr(uintptr_t base) static uint32_t gicr_read_pwrr(uintptr_t base)
{ {
return mmio_read_32(base + GICR_PWRR); return mmio_read_32(base + GICR_PWRR);
} }
static int gicr_group_powering_down(uint32_t pwrr) static int gicr_group_powering_down(uint32_t pwrr)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment