[U-Boot] [PATCH v4] dm: core: implement dev_map_phsymem()
R, Vignesh
vigneshr at ti.com
Fri May 6 17:46:34 CEST 2016
On 5/6/2016 9:00 PM, Jagan Teki wrote:
> On 6 May 2016 at 09:28, Vignesh R <vigneshr at ti.com> wrote:
>> This API helps to map physical register addresss pace of device to
>> virtual address space easily. Its just a wrapper around map_physmem()
>> with MAP_NOCACHE flag.
>>
>> Signed-off-by: Vignesh R <vigneshr at ti.com>
>> Suggested-by: Simon Glass <sjg at chromium.org>
>> Reviewed-by: Jagan Teki <jteki at openedev.com>
>>
>> ---
>>
>> v4: Reorder include files to avoid build warning on dra7xx.
>>
>> drivers/core/device.c | 6 ++++++
>> include/dm/device.h | 9 +++++++++
>> 2 files changed, 15 insertions(+)
>>
>> diff --git a/drivers/core/device.c b/drivers/core/device.c
>> index 1322991d6c7b..6b19b4b8c7a0 100644
>> --- a/drivers/core/device.c
>> +++ b/drivers/core/device.c
>> @@ -10,6 +10,7 @@
>> */
>>
>> #include <common.h>
>> +#include <asm/io.h>
>
> I think this look same as v3 [1] please check?
Yeah, v3 has the include files in correct. Please ignore this patch.
Sorry for the spam.
Regards
Vignesh.
More information about the U-Boot
mailing list