]> 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)
commite889dfca12ce95cdeaa50f66d1f33ad8fed4ca58
tree6ec1327b675ad657ca051cd327e0be4a30bff5f7
parentc3d62fc6a058d1024f3ad0525a251e9d6c5203ed
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