fix build error for pantheon and armada100
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(-)
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
@@ -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
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: defineCONFIG_SYS_CACHELINE_SIZEBy default, on Pantheon SoC DCache Lnd ICache line lengths are 32 bytes long
Signed-off-by Lei Wen <[email protected]>--- 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@@ -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 . . .
PATCH 2/2 armada100: define CONFIG_SYS_CACHELINE_SIZE
In reply to Lei WenBy 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
@@ -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
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: defineCONFIG_SYS_CACHELINE_SIZEBy default, on Armada100 SoC DCache Lnd ICache line lengths are 32 bytes long
Signed-off-by Lei Wen <[email protected]>--- 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@@ -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 . . .