Skip to contentSkip to conversation

fix build error for pantheon and armada100

PATCH New Lei Wen 2 participants 5 messages Oct 31, 2011 – Nov 1, 2011 Arm (32-bit)

lore
Share & tools
lore

Lei Wen

author
#0 lore raw

cover fix build error for pantheon and armada100

For the CONFIG_SYS_CACHELINE_SIZE is required to be defined defaultly. Add it to pantheon and armada100 accordingly.

Lei Wen (2):
pantheon: define CONFIG_SYS_CACHELINE_SIZE
armada100: define CONFIG_SYS_CACHELINE_SIZE

 arch/arm/include/asm/arch-armada100/config.h |    2 ++
 arch/arm/include/asm/arch-pantheon/config.h  |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)
author
#1 lore raw

PATCH 1/2 pantheon: define CONFIG_SYS_CACHELINE_SIZE

By default, on Pantheon SoC DCache Lnd ICache line lengths are 32 bytes long

---
 arch/arm/include/asm/arch-pantheon/config.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/include/asm/arch-pantheon/config.h +2 -0
index d10583d..e4fce7d 100644
@@ -28,6 +28,8 @@
 #include <asm/arch/pantheon.h>
 
 #define CONFIG_ARM926EJS	1	/* Basic Architecture */
+/* default Dcache Line length for pantheon */
+#define CONFIG_SYS_CACHELINE_SIZE	32
 
 #define CONFIG_SYS_TCLK		(14745600)	/* NS16550 clk config */
 #define CONFIG_SYS_HZ_CLOCK	(3250000)	/* Timer Freq. 3.25MHZ */
Signature · 1 line
1.7.0.4
#2 lore raw

PATCH 1/2 pantheon: define CONFIG_SYS_CACHELINE_SIZE

Quoted 30 lines

-----Original Message-----
From: Lei Wen [mailto:leiwen at marvell.com]
Sent: Monday, October 31, 2011 8:36 PM
To: Prafulla Wadaskar; u-boot at lists.denx.de
Subject: [PATCH 1/2] pantheon: define CONFIG_SYS_CACHELINE_SIZE

By default, on Pantheon SoC DCache Lnd ICache line lengths are 32 bytes long

---
 arch/arm/include/asm/arch-pantheon/config.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/include/asm/arch-pantheon/config.h +2 -0
index d10583d..e4fce7d 100644
@@ -28,6 +28,8 @@
 #include <asm/arch/pantheon.h>
 
 #define CONFIG_ARM926EJS	1	/* Basic Architecture */
+/* default Dcache Line length for pantheon */
+#define CONFIG_SYS_CACHELINE_SIZE	32
 
 #define CONFIG_SYS_TCLK		(14745600)	/* NS16550 clk config
 */
Quoted 2 lines

#define CONFIG_SYS_HZ_CLOCK (3250000) /* Timer Freq. 3.25MHZ
*/

Applied to u-boot-marvell.git master branch

Regards..
Prafulla . . .

author
#3 lore raw

PATCH 2/2 armada100: define CONFIG_SYS_CACHELINE_SIZE

In reply to Lei Wen

By default, on Armada100 SoC DCache Lnd ICache line lengths are 32 bytes long

---
 arch/arm/include/asm/arch-armada100/config.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/include/asm/arch-armada100/config.h +2 -0
index d2094e5..637f313 100644
@@ -33,6 +33,8 @@
 
 #include <asm/arch/armada100.h>
 #define CONFIG_ARM926EJS	1	/* Basic Architecture */
+/* default Dcache Line length for armada100 */
+#define CONFIG_SYS_CACHELINE_SIZE       32
 
 #define CONFIG_SYS_TCLK		(14745600)	/* NS16550 clk config */
 #define CONFIG_SYS_HZ_CLOCK	(3250000)	/* Timer Freq. 3.25MHZ */
Signature · 1 line
1.7.0.4
#4 lore raw

PATCH 2/2 armada100: define CONFIG_SYS_CACHELINE_SIZE

Quoted 31 lines

-----Original Message-----
From: Lei Wen [mailto:leiwen at marvell.com]
Sent: Monday, October 31, 2011 8:36 PM
To: Prafulla Wadaskar; u-boot at lists.denx.de
Subject: [PATCH 2/2] armada100: define CONFIG_SYS_CACHELINE_SIZE

By default, on Armada100 SoC DCache Lnd ICache line lengths are 32 bytes long

---
 arch/arm/include/asm/arch-armada100/config.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/include/asm/arch-armada100/config.h +2 -0
index d2094e5..637f313 100644
@@ -33,6 +33,8 @@
 
 #include <asm/arch/armada100.h>
 #define CONFIG_ARM926EJS	1	/* Basic Architecture */
+/* default Dcache Line length for armada100 */
+#define CONFIG_SYS_CACHELINE_SIZE       32
 
 #define CONFIG_SYS_TCLK		(14745600)	/* NS16550 clk config
 */
Quoted 2 lines

#define CONFIG_SYS_HZ_CLOCK (3250000) /* Timer Freq. 3.25MHZ
*/

Applied to u-boot-marvell.git master branch

Regards..
Prafulla . . .