zynq: Use system timer implementation instead of our
Subsystems (3)
PATCH 1/1 zynq: Use system timer implementation instead of our
Use error-prone system timer implementation to simplify our code. The generic code is proven and it is easier to maintain.
Signed-off-by Michal Simek <[email protected]>
---
arch/arm/mach-zynq/include/mach/hardware.h | 1 - arch/arm/mach-zynq/timer.c | 83 +----------------------------- include/configs/zynq-common.h | 5 ++ 3 files changed, 6 insertions(+), 83 deletions(-)
arch/arm/mach-zynq/include/mach/hardware.h +0 -1
@@ -12,7 +12,6 @@#define ZYNQ_SYS_CTRL_BASEADDR 0xF8000000#define ZYNQ_DEV_CFG_APB_BASEADDR 0xF8007000#define ZYNQ_SCU_BASEADDR 0xF8F00000 -#define ZYNQ_SCUTIMER_BASEADDR 0xF8F00600#define ZYNQ_GEM_BASEADDR0 0xE000B000#define ZYNQ_GEM_BASEADDR1 0xE000C000#define ZYNQ_SDHCI_BASEADDR0 0xE0100000
arch/arm/mach-zynq/timer.c +1 -82
92 lines not on this page · raw message
include/configs/zynq-common.h +5 -0
@@ -25,6 +25,11 @@# define CONFIG_SYS_PL310_BASE 0xf8f02000#endif +#define ZYNQ_SCUTIMER_BASEADDR 0xF8F00600 +#define CONFIG_SYS_TIMERBASE ZYNQ_SCUTIMER_BASEADDR +#define CONFIG_SYS_TIMER_COUNTS_DOWN +#define CONFIG_SYS_TIMER_COUNTER (CONFIG_SYS_TIMERBASE + 0x4) +/* Serial drivers */ #define CONFIG_BAUDRATE 115200/* The following table includes the supported baudrates */
Signature · 1 line
2.3.5
PATCH 1/1 zynq: Use system timer implementation instead of our
Quoted 1 line · Michal Simek
Use error-prone system timer implementation to simplify our code.
I think you forgot a word in there :)
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150429/0a66ca0a/attachment.sig>