diff options
author | Josh Cartwright <josh.cartwright@ni.com> | 2012-11-19 10:01:03 -0600 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2012-11-21 10:51:57 +0100 |
commit | 667f2988e2c11b25e79a46aff2f269696dbe8dc1 (patch) | |
tree | 3ade143b92848bc3172bd2587e294c143040f7be /arch/arm/mach-zynq/include | |
parent | 84d2e38e935620004245f0e22113cf8389834635 (diff) |
ARM: zynq: remove TTC early mapping
Now that the TTC driver has proper support for DT bindings, it is not
necessary for the registers to be mapped early. They will be mapped
during clock initialization using of_iomap(). Remove the early mapping.
In addition, remove the extraneous zynq_soc.h include from the timer
driver.
Signed-off-by: Josh Cartwright <josh.cartwright@ni.com>
Tested-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/arm/mach-zynq/include')
-rw-r--r-- | arch/arm/mach-zynq/include/mach/zynq_soc.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/arm/mach-zynq/include/mach/zynq_soc.h b/arch/arm/mach-zynq/include/mach/zynq_soc.h index 5ebbd8e6eee..2995044682d 100644 --- a/arch/arm/mach-zynq/include/mach/zynq_soc.h +++ b/arch/arm/mach-zynq/include/mach/zynq_soc.h @@ -29,13 +29,9 @@ #define UART_SIZE SZ_4K #define UART_VIRT 0xF0001000 -#define TTC0_PHYS 0xF8001000 -#define TTC0_SIZE SZ_4K -#define TTC0_VIRT (VMALLOC_END - TTC0_SIZE) - #define SCU_PERIPH_PHYS 0xF8F00000 #define SCU_PERIPH_SIZE SZ_8K -#define SCU_PERIPH_VIRT (TTC0_VIRT - SCU_PERIPH_SIZE) +#define SCU_PERIPH_VIRT (VMALLOC_END - SCU_PERIPH_SIZE) #if IS_ENABLED(CONFIG_DEBUG_ZYNQ_UART1) # define LL_UART_PADDR UART1_PHYS |