mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-18 02:24:18 +00:00
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: Douglas Raillard <douglas.raillard@arm.com>
This commit is contained in:
parent
c64d1345a8
commit
b50bdceadf
1 changed files with 7 additions and 7 deletions
|
@ -18,19 +18,19 @@
|
|||
#include "gicv3_private.h"
|
||||
|
||||
/* GIC600-specific register offsets */
|
||||
#define GICR_PWRR 0x24
|
||||
#define GICR_PWRR 0x24
|
||||
|
||||
/* GICR_PWRR fields */
|
||||
#define PWRR_RDPD_SHIFT 0
|
||||
#define PWRR_RDGPD_SHIFT 2
|
||||
#define PWRR_RDGPO_SHIFT 3
|
||||
|
||||
#define PWRR_RDGPD (1 << PWRR_RDGPD_SHIFT)
|
||||
#define PWRR_RDGPO (1 << PWRR_RDGPO_SHIFT)
|
||||
#define PWRR_RDGPD (1 << PWRR_RDGPD_SHIFT)
|
||||
#define PWRR_RDGPO (1 << PWRR_RDGPO_SHIFT)
|
||||
|
||||
/* Values to write to GICR_PWRR register to power redistributor */
|
||||
#define PWRR_ON (0 << PWRR_RDPD_SHIFT)
|
||||
#define PWRR_OFF (1 << PWRR_RDPD_SHIFT)
|
||||
#define PWRR_ON (0 << PWRR_RDPD_SHIFT)
|
||||
#define PWRR_OFF (1 << PWRR_RDPD_SHIFT)
|
||||
|
||||
/* Generic GICv3 resources */
|
||||
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 */
|
||||
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)
|
||||
{
|
||||
return mmio_read_32(base + GICR_PWRR);
|
||||
return mmio_read_32(base + GICR_PWRR);
|
||||
}
|
||||
|
||||
static int gicr_group_powering_down(uint32_t pwrr)
|
||||
|
|
Loading…
Add table
Reference in a new issue