Re: [PATCH 2/8] ARM: rockchip: Add timer driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 28, 2016 at 4:55 AM, Wadim Egorov <w.egorov@xxxxxxxxx> wrote:
>
>
> On 20.07.2016 19:35, Andrey Smirnov wrote:
>> On Wed, Jul 20, 2016 at 7:17 AM, Wadim Egorov <w.egorov@xxxxxxxxx> 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.

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux