openrisc: Refactor or32_early_setup()
authorGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 12 Nov 2013 19:42:23 +0000 (20:42 +0100)
committerJonas Bonn <jonas@southpole.se>
Fri, 15 Nov 2013 10:03:51 +0000 (11:03 +0100)
commit621c2cd853fca98258b720d9fe7e8c031ec7f96f
treebf499fda61078e61a38cca93415c7b3a68d05e88
parent0db041be3be9c84c2949a4f7eb9c3b6cd80ae97c
openrisc: Refactor or32_early_setup()

  - Change fdt pointer (passed from head.S) from unsigned int to void *,
    which allows to kill a cast, and makes it compatible with __dtb_start.
  - Use pr_info(),
  - Extract common part.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: linux@lists.openrisc.net
Signed-off-by: Jonas Bonn <jonas@southpole.se>
arch/openrisc/kernel/setup.c