[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <48b8455031e.651d5701@auth.smtp.1and1.co.uk>
Date: Mon, 29 Aug 2016 18:52:15 +0100 (BST)
From: Darren Stevens <darren@...vens-zone.net>
To: PrasannaKumar Muralidharan <prasannatsmkumar@...il.com>
CC: LABBE Corentin <clabbe.montjoie@...il.com>,
Herbert Xu <herbert@...dor.apana.org.au>,
linux-kernel@...r.kernel.org, linux-crypto@...r.kernel.org,
mpm@...enic.com, olof@...om.net, linuxppc-dev@...ts.ozlabs.org
Subject: Re: hwrng: pasemi_rng.c: Migrate to managed API
Hello PrasannaKumar
On 25/08/2016, PrasannaKumar Muralidharan wrote:
>> I will propose to use devm_ioremap_resource() instead for removing this
>> hardcoded 0x100, but i cannot find any user of this driver in any dts.
>> (And so cannot check that this 0x100 is given in any DT resource node)
>
>> Is this normal ?
>
> I wanted to use devm_ioremap_resource but could not find DT entry
> required for this driver in any of the .dts files. So did not change
> that. I could not find any dts/dtsi for this platform. So I assume
> that the dtb is not present in the kernel, dtb is supplied by the
> bootloader. I may be wrong in this. Can anyone confirm this?
On mine (Amigaone X1000) that is correct, we boot linux with a vmlinux file,
and the bootloader (CFE) passes a fixed dtb. I think it is possible to dump
the tree from inside CFE, if it would help I can invetigate?
Regards
Darren
Powered by blists - more mailing lists