]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit30b3469c96a8ef7d908d58b4cacbac4c90218b7c
tree8ddc0b7e76974718408e826aa83e7b7084193bb9
parent9fb2973a261da1811bf0638208d6ac5c9e91f666
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