From 085cbb4e5533b823c529683c1cfb11e91327cf60 Mon Sep 17 00:00:00 2001 From: Willy Tu Date: Wed, 10 Feb 2021 11:30:01 -0800 Subject: meta-google: recipes-bsp: images: Import from gBMC Initial recipes-bsp/images code from gBMC. Google-Bug-Id: 179618483 Upstream: 8ac594bdf054082ca6dbe35c4345759fe4c31669 Signed-off-by: Willy Tu Change-Id: I914a3ac26eee2b121eeb1b92ea0c5636295c4272 --- .../images/npcm7xx-igps-native_%.bbappend | 3 ++ ...DRD_CFG-and-FIU_Clk_divider-for-gbmc-hoth.patch | 52 ++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 meta-google/dynamic-layers/nuvoton-layer/recipes-bsp/images/npcm7xx-igps-native_%.bbappend create mode 100644 meta-google/dynamic-layers/nuvoton-layer/recipes-bsp/images/npcm7xx-igps/0001-Set-FIU0_DRD_CFG-and-FIU_Clk_divider-for-gbmc-hoth.patch (limited to 'meta-google/dynamic-layers') diff --git a/meta-google/dynamic-layers/nuvoton-layer/recipes-bsp/images/npcm7xx-igps-native_%.bbappend b/meta-google/dynamic-layers/nuvoton-layer/recipes-bsp/images/npcm7xx-igps-native_%.bbappend new file mode 100644 index 0000000000..890ebbb645 --- /dev/null +++ b/meta-google/dynamic-layers/nuvoton-layer/recipes-bsp/images/npcm7xx-igps-native_%.bbappend @@ -0,0 +1,3 @@ +FILESEXTRAPATHS_prepend_gbmc_hoth := "${THISDIR}/${BPN}:" + +SRC_URI_append_gbmc_hoth = " file://0001-Set-FIU0_DRD_CFG-and-FIU_Clk_divider-for-gbmc-hoth.patch" diff --git a/meta-google/dynamic-layers/nuvoton-layer/recipes-bsp/images/npcm7xx-igps/0001-Set-FIU0_DRD_CFG-and-FIU_Clk_divider-for-gbmc-hoth.patch b/meta-google/dynamic-layers/nuvoton-layer/recipes-bsp/images/npcm7xx-igps/0001-Set-FIU0_DRD_CFG-and-FIU_Clk_divider-for-gbmc-hoth.patch new file mode 100644 index 0000000000..9352bb4ee1 --- /dev/null +++ b/meta-google/dynamic-layers/nuvoton-layer/recipes-bsp/images/npcm7xx-igps/0001-Set-FIU0_DRD_CFG-and-FIU_Clk_divider-for-gbmc-hoth.patch @@ -0,0 +1,52 @@ +From 98c236c535e6cd8cce3d08bb424f5f0d8a99617d Mon Sep 17 00:00:00 2001 +From: Benjamin Fair +Date: Wed, 20 Nov 2019 14:20:38 -0800 +Subject: [PATCH] Set FIU0_DRD_CFG and FIU_Clk_divider for gbmc hoth + +This is to set the SPI frequency to 20MHz + +Signed-off-by: Benjamin Fair +Signed-off-by: Brandon Kim +--- + ImageGeneration/references/BootBlockAndHeader_EB.xml | 4 ++-- + ImageGeneration/references/UbootHeader_EB.xml | 2 +- + 2 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/ImageGeneration/references/BootBlockAndHeader_EB.xml b/ImageGeneration/references/BootBlockAndHeader_EB.xml +index 775534f..4d5c053 100644 +--- a/ImageGeneration/references/BootBlockAndHeader_EB.xml ++++ b/ImageGeneration/references/BootBlockAndHeader_EB.xml +@@ -63,7 +63,7 @@ + 0x108 + 0x4 + +- 0x030011BB ++ 0x0300100B + + + +@@ -73,7 +73,7 @@ + 0x10C + 0x1 + +- 4 ++ 10 + + + +diff --git a/ImageGeneration/references/UbootHeader_EB.xml b/ImageGeneration/references/UbootHeader_EB.xml +index 1e72e22..4434504 100644 +--- a/ImageGeneration/references/UbootHeader_EB.xml ++++ b/ImageGeneration/references/UbootHeader_EB.xml +@@ -63,7 +63,7 @@ + 0x108 + 0x4 + +- 0x030111BC ++ 0x0300100B + + + +-- +2.28.0.220.ged08abb693-goog + -- cgit v1.2.3