[U-Boot] [PATCH v1 07/41] net: mvpp2: enable building on 64-bit platforms

Joe Hershberger joe.hershberger at gmail.com
Tue Mar 21 17:02:33 UTC 2017


On Tue, Mar 21, 2017 at 9:27 AM, Stefan Roese <sr at denx.de> wrote:
> From: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
>
> The mvpp2 is going to be extended to support the Marvell Armada 7K/8K
> platform, which is ARM64. As a preparation to this work, this commit
> enables building the mvpp2 driver on ARM64, by:
>
>  - Adjusting the Kconfig dependency
>
>  - Fixing the types used in the driver so that they are 32/64-bits
>    compliant. We use dma_addr_t for DMA addresses, and unsigned long
>    for virtual addresses.
>
> It is worth mentioning that after this commit, the driver is for now
> still only used on 32-bits platforms, and will only work on 32-bits
> platforms.
>
> Changed by Stefan for U-Boot:
> Removed the Kconfig change as it does not apply to U-Boot this way.
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
> Signed-off-by: Stefan Roese <sr at denx.de>

Acked-by: Joe Hershberger <joe.hershberger at ni.com>


More information about the U-Boot mailing list