diff options
author | Matthias Schiffer <matthias.schiffer@ew.tq-group.com> | 2024-01-24 11:50:31 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2024-05-07 16:25:00 +0200 |
commit | ad679719d7020a200c4a10248ebb3bbb374d423d (patch) | |
tree | f4b452bf7e7b381784d5757f01022e9c2fd1cd05 /arch/powerpc/include/asm/reg.h | |
parent | powerpc: Fix typos (diff) | |
download | linux-ad679719d7020a200c4a10248ebb3bbb374d423d.tar.xz linux-ad679719d7020a200c4a10248ebb3bbb374d423d.zip |
powerpc: rename SPRN_HID2 define to SPRN_HID2_750FX
This register number is hardware-specific, rename it for clarity.
FIXME comments are added in a few places where it seems like the wrong
register is used. As I can't test this, only the rename is done with no
functional change.
Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20240124105031.45734-1-matthias.schiffer@ew.tq-group.com
Diffstat (limited to 'arch/powerpc/include/asm/reg.h')
-rw-r--r-- | arch/powerpc/include/asm/reg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/reg.h b/arch/powerpc/include/asm/reg.h index d3d1aea009b4..eed33cb916d0 100644 --- a/arch/powerpc/include/asm/reg.h +++ b/arch/powerpc/include/asm/reg.h @@ -615,7 +615,7 @@ #define HID1_ABE (1<<10) /* 7450 Address Broadcast Enable */ #define HID1_PS (1<<16) /* 750FX PLL selection */ #endif -#define SPRN_HID2 0x3F8 /* Hardware Implementation Register 2 */ +#define SPRN_HID2_750FX 0x3F8 /* IBM 750FX HID2 Register */ #define SPRN_HID2_GEKKO 0x398 /* Gekko HID2 Register */ #define SPRN_HID2_G2_LE 0x3F3 /* G2_LE HID2 Register */ #define HID2_G2_LE_HBE (1<<18) /* High BAT Enable (G2_LE) */ |