diff mbox

[U-Boot,11/22] ppc: xilinx-ppc405-generic: Cleanout header files

Message ID 1453803865-2623-12-git-send-email-ricardo.ribalda@gmail.com
State Accepted
Commit 2150addeffbf6e4f40b30709237896a9c5de22cb
Delegated to: Michal Simek
Headers show

Commit Message

Ricardo Ribalda Delgado Jan. 26, 2016, 10:24 a.m. UTC
Now that there is only one header file for all ppc405 files, merge
header files.

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
---
 include/configs/xilinx-ppc405-generic.h |  5 ++++-
 include/configs/xilinx-ppc405.h         | 22 ----------------------
 2 files changed, 4 insertions(+), 23 deletions(-)
 delete mode 100644 include/configs/xilinx-ppc405.h

Comments

Bin Meng Jan. 26, 2016, 12:21 p.m. UTC | #1
On Tue, Jan 26, 2016 at 6:24 PM, Ricardo Ribalda Delgado
<ricardo.ribalda@gmail.com> wrote:
> Now that there is only one header file for all ppc405 files, merge
> header files.
>
> Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
> ---
>  include/configs/xilinx-ppc405-generic.h |  5 ++++-
>  include/configs/xilinx-ppc405.h         | 22 ----------------------
>  2 files changed, 4 insertions(+), 23 deletions(-)
>  delete mode 100644 include/configs/xilinx-ppc405.h
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tom Rini Jan. 26, 2016, 2:44 p.m. UTC | #2
On Tue, Jan 26, 2016 at 11:24:14AM +0100, Ricardo Ribalda Delgado wrote:

> Now that there is only one header file for all ppc405 files, merge
> header files.
> 
> Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>

Reviewed-by: Tom Rini <trini@konsulko.com>
Stefan Roese Jan. 26, 2016, 3:17 p.m. UTC | #3
On 26.01.2016 11:24, Ricardo Ribalda Delgado wrote:
> Now that there is only one header file for all ppc405 files, merge
> header files.
>
> Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>

Acked-by: Stefan Roese <sr@denx.de>

Thanks,
Stefan
diff mbox

Patch

diff --git a/include/configs/xilinx-ppc405-generic.h b/include/configs/xilinx-ppc405-generic.h
index bdb9372abc45..e2d189d0ac60 100644
--- a/include/configs/xilinx-ppc405-generic.h
+++ b/include/configs/xilinx-ppc405-generic.h
@@ -14,6 +14,9 @@ 
 
 #include "../board/xilinx/ppc405-generic/xparameters.h"
 
+#define CONFIG_405		1
+#define CONFIG_XILINX_405	1
+
 /* sdram */
 #define CONFIG_SYS_SDRAM_SIZE_MB	256
 
@@ -37,5 +40,5 @@ 
 #define MTDIDS_DEFAULT			"nor0=ppc405-flash"
 #define MTDPARTS_DEFAULT		"mtdpartsa=ppc405-flash:-(user)"
 
-#include <configs/xilinx-ppc405.h>
+#include <configs/xilinx-ppc.h>
 #endif			/* __CONFIG_H */
diff --git a/include/configs/xilinx-ppc405.h b/include/configs/xilinx-ppc405.h
deleted file mode 100644
index dcfe56e0483b..000000000000
--- a/include/configs/xilinx-ppc405.h
+++ /dev/null
@@ -1,22 +0,0 @@ 
-/*
- *
- * (C) Copyright 2008
- * Ricado Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda@gmail.com
- * This work has been supported by: QTechnology http://qtec.com/
- *
- * (C) Copyright 2008
- * Georg Schardt <schardt@team-ctech.de>
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-/* cpu parameter */
-#define CONFIG_405		1
-#define CONFIG_XILINX_405	1
-
-#include <configs/xilinx-ppc.h>
-
-#endif