board: cogent: include header files in a more natural way

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
This commit is contained in:
Masahiro Yamada 2013-11-11 10:30:20 +09:00 committed by Tom Rini
parent e63510d1cb
commit 0298793dd9
6 changed files with 9 additions and 21 deletions

View file

@ -1,12 +0,0 @@
#
# (C) Copyright 2000
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
#
# SPDX-License-Identifier: GPL-2.0+
#
#
# Cogent Modular Architecture
#
PLATFORM_CPPFLAGS += -I$(TOPDIR)

View file

@ -1,5 +1,5 @@
#include <common.h> #include <common.h>
#include <board/cogent/dipsw.h> #include "dipsw.h"
unsigned char unsigned char
dipsw_raw(void) dipsw_raw(void)

View file

@ -6,7 +6,7 @@
*/ */
#include <common.h> #include <common.h>
#include <board/cogent/flash.h> #include "flash.h"
#include <linux/compiler.h> #include <linux/compiler.h>
flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; /* info for FLASH chips */ flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; /* info for FLASH chips */

View file

@ -48,7 +48,7 @@
#include <common.h> #include <common.h>
#include <stdarg.h> #include <stdarg.h>
#include <board/cogent/lcd.h> #include "lcd.h"
static char lines[2][LCD_LINE_LENGTH+1]; static char lines[2][LCD_LINE_LENGTH+1];
static int curline; static int curline;

View file

@ -6,11 +6,11 @@
*/ */
#include <common.h> #include <common.h>
#include <board/cogent/dipsw.h> #include "dipsw.h"
#include <board/cogent/lcd.h> #include "lcd.h"
#include <board/cogent/rtc.h> #include "rtc.h"
#include <board/cogent/par.h> #include "par.h"
#include <board/cogent/pci.h> #include "pci.h"
/* ------------------------------------------------------------------------- */ /* ------------------------------------------------------------------------- */

View file

@ -4,7 +4,7 @@
*/ */
#include <common.h> #include <common.h>
#include <board/cogent/serial.h> #include "serial.h"
#include <serial.h> #include <serial.h>
#include <linux/compiler.h> #include <linux/compiler.h>