arch: xtensa: replace DT_CPU_CLOCK_FREQUENCY with new dt macros
Replace DT_CPU_CLOCK_FREQUENCY with a PATH based reference to cpu@0 (DT_PATH(cpus, cpu_0)) and than getting the clock_frequency property: DT_CPU_CLOCK_FREQUENCY -> DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency) This lets us remove DT_CPU_CLOCK_FREQUENCY from dts_fixup.h Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
b29c15ed09
commit
6784558b22
5 changed files with 2 additions and 25 deletions
|
@ -2,8 +2,6 @@
|
|||
|
||||
/* SoC level DTS fixup file */
|
||||
|
||||
#define DT_CPU_CLOCK_FREQUENCY DT_CADENCE_TENSILICA_XTENSA_LX6_0_CLOCK_FREQUENCY
|
||||
|
||||
#define DT_L2_SRAM_BASE CONFIG_SRAM_BASE_ADDRESS
|
||||
#define DT_L2_SRAM_SIZE CONFIG_SRAM_SIZE * 1024
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue