]> git.sur5r.net Git - u-boot/commitdiff
board: cogent: include header files in a more natural way
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Mon, 11 Nov 2013 01:30:20 +0000 (10:30 +0900)
committerTom Rini <trini@ti.com>
Fri, 15 Nov 2013 20:49:36 +0000 (15:49 -0500)
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
board/cogent/config.mk [deleted file]
board/cogent/dipsw.c
board/cogent/flash.c
board/cogent/lcd.c
board/cogent/mb.c
board/cogent/serial.c

diff --git a/board/cogent/config.mk b/board/cogent/config.mk
deleted file mode 100644 (file)
index 1452d46..0000000
+++ /dev/null
@@ -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)
index d2027c975899440e0982f1fd28ac1a723713c850..ecfbc25981949ff86602e5ab9752241114b5b5f6 100644 (file)
@@ -1,5 +1,5 @@
 #include <common.h>
-#include <board/cogent/dipsw.h>
+#include "dipsw.h"
 
 unsigned char
 dipsw_raw(void)
index d4ae4d0a3ccfdbe023f922f9abfd426e090cd116..1da8f10a1f955b370851f49eabd4151d45fec489 100644 (file)
@@ -6,7 +6,7 @@
  */
 
 #include <common.h>
-#include <board/cogent/flash.h>
+#include "flash.h"
 #include <linux/compiler.h>
 
 flash_info_t   flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; /* info for FLASH chips */
index 76f5ad103fa1b6f24742cf5866291ef6a02da7c7..8e90f9853a1a9ec903bc346a3ef3e77abd70df57 100644 (file)
@@ -48,7 +48,7 @@
 
 #include <common.h>
 #include <stdarg.h>
-#include <board/cogent/lcd.h>
+#include "lcd.h"
 
 static char lines[2][LCD_LINE_LENGTH+1];
 static int curline;
index 603f1235a425cfa08387125cd29091d1efc60272..3eea47d3e83a7b8487115232a5ba16931f1da9b6 100644 (file)
@@ -6,11 +6,11 @@
  */
 
 #include <common.h>
-#include <board/cogent/dipsw.h>
-#include <board/cogent/lcd.h>
-#include <board/cogent/rtc.h>
-#include <board/cogent/par.h>
-#include <board/cogent/pci.h>
+#include "dipsw.h"
+#include "lcd.h"
+#include "rtc.h"
+#include "par.h"
+#include "pci.h"
 
 /* ------------------------------------------------------------------------- */
 
index 20631d162dd72ea5b623495927d2d31fc01dbfa9..f0d6b22cfd9138d95d69e6f6db052aeb4c393ae5 100644 (file)
@@ -4,7 +4,7 @@
  */
 
 #include <common.h>
-#include <board/cogent/serial.h>
+#include "serial.h"
 #include <serial.h>
 #include <linux/compiler.h>