[PATCH 2/8] ARM: rockchip: Add timer driver
Andrey Smirnov
andrew.smirnov at gmail.com
Thu Jul 28 12:12:41 PDT 2016
On Thu, Jul 28, 2016 at 4:55 AM, Wadim Egorov <w.egorov at phytec.de> wrote:
>
>
> On 20.07.2016 19:35, Andrey Smirnov wrote:
>> On Wed, Jul 20, 2016 at 7:17 AM, Wadim Egorov <w.egorov at phytec.de> wrote:
>>> This driver comes from the u-boot (v2016.01).
>> I'd suggest this to be moved to "drivers/clocksource" and converted to
>> a proper driver that binds against DT node and doesn't use a CONFIG_*
>> symbol to determine its base address.
>
> I want to use this driver in the SPL part later. The SRAM we can use is
> very limited on the RK3288. So I don't want to add more DT code here.
You can do add_generic_device() in SPL and compiler would probably
throw away the majority, if not all, of DT specific code if
CONFIG_OFTREE is not enabled.
More information about the barebox
mailing list