[U-Boot] [PATCH 0/9] Consolidate ARM timer code
Wolfgang Denk
wd at denx.de
Mon Sep 9 07:53:00 CEST 2013
Dear Rob Herring,
In message <1378671174-18535-1-git-send-email-robherring2 at gmail.com> you wrote:
> From: Rob Herring <rob.herring at calxeda.com>
>
> Much of the ARM timer code is re-implemented for each platform yet it
> is all pretty much the same code.
>
> This series introduces a common implementation of timer functions and
> simplifies the platform code down to 2 or 3 config defines. It is
> intended for platforms with 32-bit freerunning timers. I've converted
> a couple of platforms as an example, but there are many more still that
> can be converted. This probably could be extended to work with 16-bit
> timers as well.
>
> I've compiled all ARM boards, but only tested on highbank.
Why do we need any ARM specific code at all? What's the difference
between an ARM and - say - a PowerPC system in this respect, and why
do we need different code for both?
If we consolidate code, it should always be done in a cross-platform
way, unless platform specifc code really cannot be avoided (which I
fail to see yet here).
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Teenagers are people who express a burning desire to be different by
dressing exactly alike.
There are some strings. They're just not attached.
More information about the U-Boot
mailing list