From 0c1fb792077bea563d1aa60b77358a03c4194634 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20H=C3=B6glund?= <jonas.hoglund@embeddednation.com>
Date: Wed, 18 Mar 2020 16:00:20 +0100
Subject: [PATCH] Only run marvell init script for XG6846B.

---
 iopsys-brcm63xx-arm/panther/base-files/etc/init.d/marvell | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/iopsys-brcm63xx-arm/panther/base-files/etc/init.d/marvell b/iopsys-brcm63xx-arm/panther/base-files/etc/init.d/marvell
index 484c759bb..6eee5a227 100755
--- a/iopsys-brcm63xx-arm/panther/base-files/etc/init.d/marvell
+++ b/iopsys-brcm63xx-arm/panther/base-files/etc/init.d/marvell
@@ -6,6 +6,9 @@ START=20
 USE_PROCD=1
 
 boot() {
+	# Only run for XG6846B board
+	[ $(db -q get hw.board.model_name) != XG6846B ] && exit 0
+
 	disable_addr_learn
 	port_mapping
 
-- 
GitLab