diff options
| author | Ethan Nelson-Moore <enelsonmoore@gmail.com> | 2026-05-16 19:37:20 -0700 |
|---|---|---|
| committer | Gregory CLEMENT <gregory.clement@bootlin.com> | 2026-06-01 10:26:30 +0200 |
| commit | bf4ad3be0679460585ab17dbcf298d085cf23429 (patch) | |
| tree | 7ea2c8fc21fd0ab2bc6ced17b7f2b227d81897fb /drivers/phy/eswin/git@git.tavy.me:linux.git | |
| parent | b2a4bd1ee306a9d9f53ab76f5f9fea1890e457f1 (diff) | |
ARM: orion5x: update board check in mss2_pci_init() to use the DT
The mss2_pci_init() function contains a check for the ARM machine ID
via the machine_is_mss2() macro. The board concerned now supports only
FDT booting, which does not use machine IDs, and therefore the code
should be updated to check the DT compatible property instead. The
machine was converted to FDT booting in commit fbf04d814d0a ("ARM:
orion5x: convert Maxtor Shared Storage II to the Device Tree"). The
presence of this machine ID check prevents the removal of machine IDs
no longer used by the kernel from arch/arm/tools/mach-types, because
the machine_is_*() macros are generated from mach-types. To resolve
this issue, use of_machine_is_compatible() instead.
Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Diffstat (limited to 'drivers/phy/eswin/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
