OSDN Git Service

MIPS: of: Introduce helper function to get DTB
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>
Wed, 27 Jan 2021 13:24:30 +0000 (14:24 +0100)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Thu, 4 Feb 2021 12:34:51 +0000 (13:34 +0100)
commitb83ba0b9df56f8404ccc6ebcc7050fb8294f0f20
tree8ddc0b7e76974718408e826aa83e7b7084193bb9
parenta056aacd2df2ec8134ed3baffd7fb6ba02874652
MIPS: of: Introduce helper function to get DTB

Selection of the DTB to be used was burried in more or less readable
code in head.S. Move this code into a inline helper function and
use it.

Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
arch/mips/ath79/setup.c
arch/mips/bmips/setup.c
arch/mips/generic/init.c
arch/mips/include/asm/bootinfo.h
arch/mips/include/asm/octeon/octeon.h
arch/mips/kernel/head.S
arch/mips/kernel/setup.c
arch/mips/lantiq/prom.c
arch/mips/pic32/pic32mzda/init.c
arch/mips/ralink/of.c