mirror of
				https://xff.cz/git/u-boot/
				synced 2025-10-31 10:26:10 +01:00 
			
		
		
		
	board: mediatek: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed add missing include files directly. Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
		| @@ -4,7 +4,6 @@ | |||||||
|  * Author: Sam Shih <sam.shih@mediatek.com> |  * Author: Sam Shih <sam.shih@mediatek.com> | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| #include <common.h> |  | ||||||
| #include <config.h> | #include <config.h> | ||||||
| #include <env.h> | #include <env.h> | ||||||
| #include <init.h> | #include <init.h> | ||||||
|   | |||||||
| @@ -3,7 +3,7 @@ | |||||||
|  * Copyright (C) 2018 MediaTek Inc. |  * Copyright (C) 2018 MediaTek Inc. | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| #include <common.h> | #include <config.h> | ||||||
| #include <mmc.h> | #include <mmc.h> | ||||||
| #include <asm/global_data.h> | #include <asm/global_data.h> | ||||||
|  |  | ||||||
|   | |||||||
| @@ -3,7 +3,7 @@ | |||||||
|  * Copyright (C) 2018 MediaTek Inc. |  * Copyright (C) 2018 MediaTek Inc. | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| #include <common.h> | #include <config.h> | ||||||
| #include <asm/global_data.h> | #include <asm/global_data.h> | ||||||
|  |  | ||||||
| DECLARE_GLOBAL_DATA_PTR; | DECLARE_GLOBAL_DATA_PTR; | ||||||
|   | |||||||
| @@ -4,7 +4,6 @@ | |||||||
|  * Author: Fabien Parent <fparent@baylibre.com> |  * Author: Fabien Parent <fparent@baylibre.com> | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| #include <common.h> |  | ||||||
| #include <dm.h> | #include <dm.h> | ||||||
| #include <net.h> | #include <net.h> | ||||||
|  |  | ||||||
|   | |||||||
| @@ -3,7 +3,6 @@ | |||||||
|  * Copyright (C) 2019 MediaTek Inc. |  * Copyright (C) 2019 MediaTek Inc. | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| #include <common.h> |  | ||||||
| #include <dm.h> | #include <dm.h> | ||||||
| #include <log.h> | #include <log.h> | ||||||
| #include <wdt.h> | #include <wdt.h> | ||||||
|   | |||||||
| @@ -3,7 +3,6 @@ | |||||||
|  * Copyright (C) 2019 BayLibre SAS |  * Copyright (C) 2019 BayLibre SAS | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| #include <common.h> |  | ||||||
| #include <dm.h> | #include <dm.h> | ||||||
| #include <net.h> | #include <net.h> | ||||||
|  |  | ||||||
|   | |||||||
| @@ -3,7 +3,7 @@ | |||||||
|  * Copyright (C) 2019 MediaTek Inc. |  * Copyright (C) 2019 MediaTek Inc. | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| #include <common.h> | #include <config.h> | ||||||
| #include <dm.h> | #include <dm.h> | ||||||
| #include <init.h> | #include <init.h> | ||||||
| #include <log.h> | #include <log.h> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user