[U-Boot] [PATCH v4] dm: core: implement dev_map_phsymem()

Jagan Teki jagannadh.teki at gmail.com
Fri May 6 17:30:06 CEST 2016


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?

>  #include <fdtdec.h>
>  #include <fdt_support.h>
>  #include <malloc.h>

[1] https://patchwork.ozlabs.org/patch/618361/

-- 
Jagan.


More information about the U-Boot mailing list