mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-30 16:35:37 +00:00
board: ti: 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:
parent
1267f220e2
commit
c4083e0184
25 changed files with 16 additions and 22 deletions
|
@ -7,7 +7,7 @@
|
|||
* Copyright (C) 2011, Texas Instruments, Incorporated - https://www.ti.com/
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <config.h>
|
||||
#include <dm.h>
|
||||
#include <env.h>
|
||||
#include <errno.h>
|
||||
|
|
|
@ -10,6 +10,8 @@
|
|||
#ifndef _BOARD_H_
|
||||
#define _BOARD_H_
|
||||
|
||||
#include <linux/string.h>
|
||||
|
||||
/**
|
||||
* AM335X (EMIF_4D) EMIF REG_COS_COUNT_1, REG_COS_COUNT_2, and
|
||||
* REG_PR_OLD_COUNT values to avoid LCDC DMA FIFO underflows and Frame
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <config.h>
|
||||
#include <asm/arch/sys_proto.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/arch/mux.h>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
* Copyright (C) 2013, Texas Instruments, Incorporated - https://www.ti.com/
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <config.h>
|
||||
#include <asm/global_data.h>
|
||||
#include <dm/uclass.h>
|
||||
#include <env.h>
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
#ifndef _BOARD_H_
|
||||
#define _BOARD_H_
|
||||
|
||||
#include <linux/string.h>
|
||||
#include <asm/arch/omap.h>
|
||||
|
||||
#define DEV_ATTR_MAX_OFFSET 5
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
* Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <asm/arch/sys_proto.h>
|
||||
#include <asm/arch/mux.h>
|
||||
#include "../common/board_detect.h"
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
* Based on board/ti/dra7xx/evm.c
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <config.h>
|
||||
#include <env.h>
|
||||
#include <fastboot.h>
|
||||
#include <fdt_support.h>
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
* Steve Kipisz
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <log.h>
|
||||
#include <net.h>
|
||||
#include <linux/types.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/omap_common.h>
|
||||
#include <dm/uclass.h>
|
||||
|
|
|
@ -4,10 +4,11 @@
|
|||
* Köry Maincent, Bootlin, <kory.maincent@bootlin.com>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <stdio.h>
|
||||
#include <malloc.h>
|
||||
#include <i2c.h>
|
||||
#include <extension_board.h>
|
||||
#include <vsprintf.h>
|
||||
|
||||
#include "cape_detect.h"
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
* Aneesh V <aneesh@ti.com>
|
||||
* Steve Sakoman <steve@sakoman.com>
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <config.h>
|
||||
#include <env.h>
|
||||
#include <fdt_support.h>
|
||||
#include <fastboot.h>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* Texas Instruments Incorporated, <www.ti.com>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <config.h>
|
||||
#include <asm/global_data.h>
|
||||
#include "board.h"
|
||||
#include <env.h>
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
* Texas Instruments Incorporated, <www.ti.com>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <image.h>
|
||||
#include <init.h>
|
||||
#include <asm/arch/ddr3.h>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* (C) Copyright 2015
|
||||
* Texas Instruments Incorporated, <www.ti.com>
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <config.h>
|
||||
#include <env.h>
|
||||
#include <hang.h>
|
||||
#include <image.h>
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
* Texas Instruments Incorporated, <www.ti.com>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <image.h>
|
||||
#include <init.h>
|
||||
#include <asm/arch/clock.h>
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
* Texas Instruments Incorporated, <www.ti.com>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <image.h>
|
||||
#include <init.h>
|
||||
#include <asm/arch/ddr3.h>
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
* Texas Instruments Incorporated, <www.ti.com>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
|
||||
#include <asm/arch/ddr3.h>
|
||||
#include "ddr3_cfg.h"
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
* Texas Instruments Incorporated, <www.ti.com>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include "ddr3_cfg.h"
|
||||
#include <asm/arch/ddr3.h>
|
||||
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
* Texas Instruments Incorporated, <www.ti.com>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include "ddr3_cfg.h"
|
||||
#include <asm/arch/ddr3.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
* Texas Instruments Incorporated, <www.ti.com>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include "ddr3_cfg.h"
|
||||
#include <asm/arch/ddr3.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
* Texas Instruments Incorporated, <www.ti.com>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include "ddr3_cfg.h"
|
||||
#include <asm/arch/ddr3.h>
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
* Richard Woodruff <r-woodruff2@ti.com>
|
||||
* Syed Mohammed Khasim <khasim@ti.com>
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <config.h>
|
||||
#include <dm.h>
|
||||
#include <env.h>
|
||||
#include <init.h>
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
* Texas Instruments Incorporated, <www.ti.com>
|
||||
* Steve Sakoman <steve@sakoman.com>
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <init.h>
|
||||
#include <log.h>
|
||||
#include <net.h>
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
* Copyright (C) 2010 Texas Instruments
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
|
||||
#ifdef CONFIG_CMD_BAT
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
* Aneesh V <aneesh@ti.com>
|
||||
* Steve Sakoman <steve@sakoman.com>
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <init.h>
|
||||
#include <net.h>
|
||||
#include <twl6030.h>
|
||||
|
|
|
@ -8,6 +8,8 @@
|
|||
#ifndef __ASM_OMAP_GPMC_H
|
||||
#define __ASM_OMAP_GPMC_H
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
/* Maximum Number of Chip Selects */
|
||||
#define GPMC_CS_NUM 8
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue