From 594c1dbf7b1a1fe4365f089fd72428b594795659 Mon Sep 17 00:00:00 2001
From: "arne.jonsson" <arne.jonsson@iopsys.eu>
Date: Wed, 9 Feb 2022 17:06:55 +0100
Subject: [PATCH] Fixed flash layout and overlay

---
 iopsys-brcm63xx-arm/config/dna0332tls/config                    | 2 +-
 .../dna0332tls/base-files/lib/preinit/70_flash_layout_fixup     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/iopsys-brcm63xx-arm/config/dna0332tls/config b/iopsys-brcm63xx-arm/config/dna0332tls/config
index d6946ab0c..4a88f3682 100644
--- a/iopsys-brcm63xx-arm/config/dna0332tls/config
+++ b/iopsys-brcm63xx-arm/config/dna0332tls/config
@@ -8,5 +8,5 @@ CONFIG_BCM_VOICE=y
 
 CONFIG_BCM_FIRMWARE_TYPE_NAND_SQUASHFS=y
 
-CONFIG_BCM_FLASH_LAYOUT_OPTIONS="options_63146_dna0332_nand"
+CONFIG_BCM_FLASH_LAYOUT_OPTIONS="options_63146_nand"
 CONFIG_BCM_SECURE_BOOT_SUPPORT=y
diff --git a/iopsys-brcm63xx-arm/dna0332tls/base-files/lib/preinit/70_flash_layout_fixup b/iopsys-brcm63xx-arm/dna0332tls/base-files/lib/preinit/70_flash_layout_fixup
index 9f90a29d2..06038aefd 100644
--- a/iopsys-brcm63xx-arm/dna0332tls/base-files/lib/preinit/70_flash_layout_fixup
+++ b/iopsys-brcm63xx-arm/dna0332tls/base-files/lib/preinit/70_flash_layout_fixup
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-OVERLAY_LEBS_COUNT=300 /* equal to about 36MB */
+OVERLAY_LEBS_COUNT=150 # equal to about 36MB
 
 flash_layout_fixup () {
 	vol_name="overlay1"
-- 
GitLab