[U-Boot] [PATCH v3 1/2] nios2: map physical address to uncached virtual address

Thomas Chou thomas at wytron.com.tw
Wed Sep 16 14:19:12 CEST 2015



On 09/15/2015 03:28 PM, Thomas Chou wrote:
> Add ioremap() to map physical address to uncached virtual
> address. We need this to convert the reg address from the
> device tree.
>
> The order of headers inclusion in interrupts.c is changed
> because common.h will include board header that contains
> IO_REGION_BASE.
>
> In the future, the IO_REGION_BASE should be decided from
> the device tree.
> tree
>
> Signed-off-by: Thomas Chou <thomas at wytron.com.tw>
> Acked-by: Marek Vasut <marex at denx.de>
> ---
>   arch/nios2/cpu/interrupts.c | 4 ++--
>   arch/nios2/include/asm/io.h | 5 +++++
>   2 files changed, 7 insertions(+), 2 deletions(-)

This patch should not be bound with the jtag uart driver. Separate this 
from the series.

Applied to u-boot-nios.


More information about the U-Boot mailing list