This is an automated email from Gerrit.

Alex Crawford ([email protected]) just uploaded a new patch set to Gerrit, 
which you can find at http://openocd.zylin.com/4329

-- gerrit

commit 46ca36a260f44ed2bbd153573943f7e4dfd3ed8e
Author: Alex Crawford <[email protected]>
Date:   Fri Jan 12 17:05:45 2018 -0800

    flash/nor: add support for EFM32GG11
    
    This is largely the same as the original Giant Geckos.
    
    Change-Id: Ifa2e64c031f0f42d736759ced3c17f05fd83e612
    Signed-off-by: Alex Crawford <[email protected]>

diff --git a/src/flash/nor/efm32.c b/src/flash/nor/efm32.c
index 81c1a37..39bfecd 100644
--- a/src/flash/nor/efm32.c
+++ b/src/flash/nor/efm32.c
@@ -46,6 +46,7 @@
 #define EFM_FAMILY_ID_WONDER_GECKO      75
 #define EFM_FAMILY_ID_ZERO_GECKO        76
 #define EFM_FAMILY_ID_HAPPY_GECKO      77
+#define EFM_FAMILY_ID_GIANT_GECKO_GG11  100
 #define EZR_FAMILY_ID_WONDER_GECKO             120
 #define EZR_FAMILY_ID_LEOPARD_GECKO            121
 
@@ -181,6 +182,7 @@ static int efm32x_read_info(struct flash_bank *bank,
                        EFM_FAMILY_ID_HAPPY_GECKO == efm32_info->part_family)
                efm32_info->page_size = 1024;
        else if (EFM_FAMILY_ID_GIANT_GECKO == efm32_info->part_family ||
+                       EFM_FAMILY_ID_GIANT_GECKO_GG11 == 
efm32_info->part_family ||
                        EFM_FAMILY_ID_LEOPARD_GECKO == efm32_info->part_family) 
{
                if (efm32_info->prod_rev >= 18) {
                        uint8_t pg_size = 0;
@@ -253,6 +255,7 @@ static int efm32x_decode_info(struct efm32_info *info, char 
*buf, int buf_size)
                        printed = snprintf(buf, buf_size, "Gecko");
                        break;
                case EFM_FAMILY_ID_GIANT_GECKO:
+               case EFM_FAMILY_ID_GIANT_GECKO_GG11:
                        printed = snprintf(buf, buf_size, "Giant Gecko");
                        break;
                case EFM_FAMILY_ID_TINY_GECKO:

-- 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to