[U-Boot] [PATCH v2 04/15] dm: ns16550: Use an address instead of a pointer for the uart base

Simon Glass sjg at chromium.org
Fri Oct 24 05:51:48 CEST 2014


On 22 October 2014 21:37, Simon Glass <sjg at chromium.org> wrote:
> It is inconvenient to have to use casts when specifying platform data. Also
> it is not strictly correct, since we should use map_sysmem() to convert an
> address to a pointer.
>
> Adjust the platform data to use an address.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Reviewed-by: Tom Rini <trini at ti.com>
> ---
>
> Changes in v2: None
>
>  drivers/serial/ns16550.c | 6 +++---
>  include/ns16550.h        | 2 +-
>  2 files changed, 4 insertions(+), 4 deletions(-)

Applied to u-boot-dm/master


More information about the U-Boot mailing list