summaryrefslogtreecommitdiff
path: root/meta-google/dynamic-layers/nuvoton-layer/recipes-bsp/images/npcm7xx-igps/0001-Set-FIU0_DRD_CFG-and-FIU_Clk_divider-for-gbmc-hoth.patch
blob: 9352bb4ee158b136ae1e2cd2a1c68ebc827a4392 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
From 98c236c535e6cd8cce3d08bb424f5f0d8a99617d Mon Sep 17 00:00:00 2001
From: Benjamin Fair <benjaminfair@google.com>
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 <benjaminfair@google.com>
Signed-off-by: Brandon Kim <brandonkim@google.com>
---
 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 @@
 			<offset>0x108</offset>
 			<size>0x4</size>
 		</config>
-		<content format='32bit'>0x030011BB</content>               <!-- content the user should fill -->
+		<content format='32bit'>0x0300100B</content>               <!-- content the user should fill -->
 	</BinField>

 	<BinField>
@@ -73,7 +73,7 @@
 			<offset>0x10C</offset>
 			<size>0x1</size>
 		</config>
-		<content format='bytes'>4</content>               <!-- content the user should fill -->
+		<content format='bytes'>10</content>               <!-- content the user should fill -->
 	</BinField>

 	<BinField>
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 @@
 			<offset>0x108</offset>        <!-- offset in the header -->
 			<size>0x4</size>              <!-- size in the header -->
 		</config>
-		<content format='32bit'>0x030111BC</content>               <!-- content the user should fill 0x030032EB -->
+		<content format='32bit'>0x0300100B</content>               <!-- content the user should fill 0x030032EB -->
 	</BinField>

 	<BinField>
--
2.28.0.220.ged08abb693-goog