From be4cf2ff07b9ef60b061ab14137f4720361db402 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20H=C3=B6glund?= <jonas.hoglund@embeddednation.com>
Date: Fri, 3 Apr 2020 10:18:31 +0200
Subject: [PATCH] Add Xavi XUG534 board.

---
 iopsys-brcm63xx-arm/Config.in          | 4 ++++
 iopsys-brcm63xx-arm/image/Config.in    | 3 +++
 iopsys-brcm63xx-arm/profiles/iopsys.mk | 8 ++++++++
 3 files changed, 15 insertions(+)

diff --git a/iopsys-brcm63xx-arm/Config.in b/iopsys-brcm63xx-arm/Config.in
index def4ff830..9aaec198c 100644
--- a/iopsys-brcm63xx-arm/Config.in
+++ b/iopsys-brcm63xx-arm/Config.in
@@ -80,6 +80,8 @@ menu "Target options Brcm63xx (ARM/MIPS)"
 	default "96858GWO" if TARGET_iopsys_brcm63xx_arm_tiger
 	default "96846GWO" if TARGET_iopsys_brcm63xx_arm_panther
 
+	default "96856GWO" if TARGET_iopsys_brcm63xx_arm_xug534
+
 
     menuconfig BCM_CHIP_ID
         string
@@ -105,6 +107,7 @@ menu "Target options Brcm63xx (ARM/MIPS)"
         default "63138" if TARGET_iopsys_brcm63xx_arm_sdx810_rg
 		default "6858" if TARGET_iopsys_brcm63xx_arm_tiger
 		default "6846" if TARGET_iopsys_brcm63xx_arm_panther
+		default "6856" if TARGET_iopsys_brcm63xx_arm_xug534
 
     menuconfig BCM_TOOLTUPLE
         string "Broadcom toolchain tuple"
@@ -139,6 +142,7 @@ menu "Target options Brcm63xx (ARM/MIPS)"
         default "SDX810_RG"   if TARGET_iopsys_brcm63xx_arm_sdx810_rg
         default "TIGER"      if TARGET_iopsys_brcm63xx_arm_tiger
         default "PANTHER"     if TARGET_iopsys_brcm63xx_arm_panther
+		default "XUG534"     if TARGET_iopsys_brcm63xx_arm_xug534
 
 	config TARGET_HAS_VOICE
 		bool "Whether to build voice or exclude it entirely"
diff --git a/iopsys-brcm63xx-arm/image/Config.in b/iopsys-brcm63xx-arm/image/Config.in
index e13956cb9..8c76deb15 100644
--- a/iopsys-brcm63xx-arm/image/Config.in
+++ b/iopsys-brcm63xx-arm/image/Config.in
@@ -101,6 +101,7 @@ config TARGET_NAND_DEVSZ
 	default "268435456"  if TARGET_iopsys_brcm63xx_arm_sdx810_rg
 	default "268435456"  if TARGET_iopsys_brcm63xx_arm_tiger
 	default "268435456"  if TARGET_iopsys_brcm63xx_arm_panther
+	default "268435456"  if TARGET_iopsys_brcm63xx_arm_xug534
 	range 67108864 4294967296
 	depends on NAND_SUPPORT
 
@@ -117,6 +118,7 @@ config TARGET_NAND_BLOCKSZ
 	default "131072"     if TARGET_iopsys_brcm63xx_arm_sdx810_rg
 	default "131072"     if TARGET_iopsys_brcm63xx_arm_tiger
 	default "131072"     if TARGET_iopsys_brcm63xx_arm_panther
+	default "131072"     if TARGET_iopsys_brcm63xx_arm_xug534
 	range 16384 1048576
 	depends on NAND_SUPPORT
 
@@ -133,6 +135,7 @@ config TARGET_NAND_PAGESZ
 	default "2048"       if TARGET_iopsys_brcm63xx_arm_sdx810_rg
 	default "2048"       if TARGET_iopsys_brcm63xx_arm_tiger
 	default "2048"       if TARGET_iopsys_brcm63xx_arm_panther
+	default "2048"       if TARGET_iopsys_brcm63xx_arm_xug534
 	range 256 65536
 	depends on NAND_SUPPORT
 
diff --git a/iopsys-brcm63xx-arm/profiles/iopsys.mk b/iopsys-brcm63xx-arm/profiles/iopsys.mk
index 06c31137a..dda65d67b 100644
--- a/iopsys-brcm63xx-arm/profiles/iopsys.mk
+++ b/iopsys-brcm63xx-arm/profiles/iopsys.mk
@@ -95,3 +95,11 @@ endef
 
 $(eval $(call Profile,panther))
 
+#################### Xavi xug534
+define Profile/xug534
+  NAME:=xug534
+endef
+
+define Profile/xug534/Description
+	 Xavi xug534 profile
+endef
-- 
GitLab