lkml.org 
[lkml]   [2021]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] MIPS: of: Introduce helper function to get DTB
On Wed, Jan 27, 2021 at 02:24:30PM +0100, Thomas Bogendoerfer wrote:
> 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>
> ---
> arch/mips/ath79/setup.c | 13 +++++------
> arch/mips/bmips/setup.c | 7 +++---
> arch/mips/generic/init.c | 5 ++---
> arch/mips/include/asm/bootinfo.h | 22 ++++++++++++++++++-
> arch/mips/include/asm/octeon/octeon.h | 1 -
> arch/mips/kernel/head.S | 31 ---------------------------
> arch/mips/kernel/setup.c | 4 ----
> arch/mips/lantiq/prom.c | 7 ++----
> arch/mips/pic32/pic32mzda/init.c | 15 +------------
> arch/mips/ralink/of.c | 11 +++-------
> 10 files changed, 39 insertions(+), 77 deletions(-)

applied to mips-next.

Thomas,

--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]

\
 
 \ /
  Last update: 2021-02-04 15:15    [W:0.298 / U:3.792 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site