Skip to contentSkip to conversation

config: remove platform CONFIG_SYS_HZ definition part 4

PATCH Superseded Masahiro Yamada 2 participants 2 messages Apr 18, 2014

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 config: remove platform CONFIG_SYS_HZ definition part 4

Some new boards define CONFIG_SYS_HZ again! Remove.

---
 include/configs/T208xRDB.h         | 1 -
 include/configs/sama5d3_xplained.h | 1 -
 2 files changed, 2 deletions(-)
include/configs/T208xRDB.h +0 -1
index 743eee3..f354367 100644
@@ -655,7 +655,6 @@ unsigned long get_board_ddr_clk(void);
 #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE+sizeof(CONFIG_SYS_PROMPT)+16)
 #define CONFIG_SYS_MAXARGS	16	/* max number of command args */
 #define CONFIG_SYS_BARGSIZE	CONFIG_SYS_CBSIZE/* Boot Argument Buffer Size */
-#define CONFIG_SYS_HZ		1000	/* decrementer freq: 1ms ticks*/
 
 /*
  * For booting Linux, the board info and command line data
include/configs/sama5d3_xplained.h +0 -1
index 91cc7d8..41c946d 100644
@@ -17,7 +17,6 @@
 /* ARM asynchronous clock */
 #define CONFIG_SYS_AT91_SLOW_CLOCK      32768
 #define CONFIG_SYS_AT91_MAIN_CLOCK      12000000 /* from 12 MHz crystal */
-#define CONFIG_SYS_HZ		        1000
 
 #define CONFIG_AT91FAMILY
 #define CONFIG_ARCH_CPU_INIT
Signature · 1 line
1.8.3.2
#1 lore raw

PATCH 1/1 config: remove platform CONFIG_SYS_HZ definition part 4

Hi Masahiro Yamada,

Quoted 3 lines · Masahiro Yamada

Some new boards define CONFIG_SYS_HZ again! Remove.

Thanks.

Quoted 23 lines
---
  include/configs/T208xRDB.h         | 1 -
  include/configs/sama5d3_xplained.h | 1 -
  2 files changed, 2 deletions(-)
include/configs/T208xRDB.h +0 -1
index 743eee3..f354367 100644
@@ -655,7 +655,6 @@ unsigned long get_board_ddr_clk(void);
  #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE+sizeof(CONFIG_SYS_PROMPT)+16)
  #define CONFIG_SYS_MAXARGS	16	/* max number of command args */
  #define CONFIG_SYS_BARGSIZE	CONFIG_SYS_CBSIZE/* Boot Argument Buffer Size */
-#define CONFIG_SYS_HZ		1000	/* decrementer freq: 1ms ticks*/
 
  /*
   * For booting Linux, the board info and command line data
include/configs/sama5d3_xplained.h +0 -0
index 91cc7d8..41c946d 100644

include/configs/sama5d3_xplained.h line 22

Quoted 7 lines
include/configs/sama5d3_xplained.h +0 -1
@@ -17,7 +17,6 @@
  /* ARM asynchronous clock */
  #define CONFIG_SYS_AT91_SLOW_CLOCK      32768
  #define CONFIG_SYS_AT91_MAIN_CLOCK      12000000 /* from 12 MHz crystal */
-#define CONFIG_SYS_HZ		        1000
 
  #define CONFIG_AT91FAMILY
  #define CONFIG_ARCH_CPU_INIT

Best Regards,
Bo Shen