From dcbbac55edbcc97e1ba320149eba886d3ab901b0 Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Mon, 15 May 2017 23:59:25 +0200 Subject: mpc85xx: use the generic board detect Use the values populated by the generic board detect function. The first compatible from the device tree source file will be the board name in userspace. The model property from the device tree source file will be the model name. Change the board name where used in the userspace and drop the target specific board detect, to use the generic one. Signed-off-by: Mathias Kresin --- .../mpc85xx/base-files/lib/preinit/01_preinit_do_mpc85xx.sh | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 target/linux/mpc85xx/base-files/lib/preinit/01_preinit_do_mpc85xx.sh (limited to 'target/linux/mpc85xx/base-files/lib/preinit/01_preinit_do_mpc85xx.sh') diff --git a/target/linux/mpc85xx/base-files/lib/preinit/01_preinit_do_mpc85xx.sh b/target/linux/mpc85xx/base-files/lib/preinit/01_preinit_do_mpc85xx.sh deleted file mode 100644 index 88ba608379..0000000000 --- a/target/linux/mpc85xx/base-files/lib/preinit/01_preinit_do_mpc85xx.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -do_mpc85xx() { - . /lib/mpc85xx.sh - - mpc85xx_board_detect -} - -boot_hook_add preinit_main do_mpc85xx -- cgit v1.2.3