From patchwork Sat May 30 16:29:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 246873 List-Id: U-Boot discussion From: sjg at chromium.org (Simon Glass) Date: Sat, 30 May 2020 10:29:03 -0600 Subject: [PATCH 1/2] usb: ohci: Add header file for ARCH_DMA_MINALIGN Message-ID: <20200530102901.1.If199dabafae549dee591e7cfbd7df2be1b306d08@changeid> This is defined in the asm/cache.h header file. Update this header file to include it so it gets the same value consistently across U-Boot. This fixes 'usb host' on omapl138_lcdk. Fixes: 90526e9fbac ("common: Drop net.h from common header") Reported-by: Adam Ford Signed-off-by: Simon Glass Tested-by: Adam Ford Reviewed-by: Tom Rini --- drivers/usb/host/ohci.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/host/ohci.h b/drivers/usb/host/ohci.h index 9b264bd92a..a38cd25eb8 100644 --- a/drivers/usb/host/ohci.h +++ b/drivers/usb/host/ohci.h @@ -11,6 +11,7 @@ * e.g. PCI controllers need this */ +#include #include #ifdef CONFIG_SYS_OHCI_SWAP_REG_ACCESS From patchwork Sat May 30 16:29:04 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 246874 List-Id: U-Boot discussion From: sjg at chromium.org (Simon Glass) Date: Sat, 30 May 2020 10:29:04 -0600 Subject: [PATCH 2/2] dma-mapping: Add header file for ARCH_DMA_MINALIGN In-Reply-To: <20200530102901.1.If199dabafae549dee591e7cfbd7df2be1b306d08@changeid> References: <20200530102901.1.If199dabafae549dee591e7cfbd7df2be1b306d08@changeid> Message-ID: <20200530102901.2.If199dabafae549dee591e7cfbd7df2be1b306d08@changeid> This is defined in the asm/cache.h header file. Update this header file to include it. Signed-off-by: Simon Glass Reviewed-by: Tom Rini Tested-by: Adam Ford #da850-evm --- include/linux/dma-mapping.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/dma-mapping.h b/include/linux/dma-mapping.h index 20b6d60dd8..6a107d52e0 100644 --- a/include/linux/dma-mapping.h +++ b/include/linux/dma-mapping.h @@ -2,6 +2,7 @@ #ifndef _LINUX_DMA_MAPPING_H #define _LINUX_DMA_MAPPING_H +#include #include #include #include