]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: generic: Abstract FDT fixup application
authorPaul Burton <paul.burton@imgtec.com>
Fri, 2 Jun 2017 19:29:54 +0000 (12:29 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 28 Jun 2017 10:22:41 +0000 (12:22 +0200)
commit3ca260fec7d3690b6bcc072cda4828a317d8df39
tree6ec1327b675ad657ca051cd327e0be4a30bff5f7
parentcfa178a6008d4b495468be5f70fe3ba77208fbd3
MIPS: generic: Abstract FDT fixup application

Introduce an apply_mips_fdt_fixups() function which can apply fixups to
an FDT based upon an array of fixup descriptions. This abstracts that
functionality such that legacy board code can apply FDT fixups without
requiring lots of duplication.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/16184/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/generic/board-sead3.c
arch/mips/generic/init.c
arch/mips/include/asm/machine.h