Skip to contentSkip to conversation

xilinx-ppc4xx: Cleanout and port to DM serial

PATCH New Ricardo Ribalda Delgado 5 participants 86 messages Jan 26, 2016

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

cover xilinx-ppc4xx: Cleanout and port to DM serial

xilinx-ppc4xx made us of serial uartlite, which was ported to DM. This patch moves port these boards to DM.

Now that Kconfig works really well, there is no need to maintain the specific boards (fx12mm, ml507 and v5fx30teval) or their flash version.

The ppc440 boards have been wired to the ll_temac driver.

A series of cleanouts have been done.

This patchset sits on top of:
http://git.denx.de/?p=u-boot/u-boot-microblaze.git;a=shortlog;h=refs/heads/mb

It has been tested on a ppc440 bard.

Hopefully Georg Schardt can test the changes on his fx12mm.

These changes can also be browset at
https://github.com/ribalda/u-boot/tree/xilinx-ppc4xx-generic-dm

Regards (and thanks for your patience)!

Ricardo Ribalda (22):
ppc: xilinx-ppc440: Remove support for ml507
ppc: xilinx-ppc405: Remove support for fx12mm
xilinx-ppc440: Remove support for v5fx30teval .mailmap: Add all the mail alias for Ricardo Ribalda
mailaddr: Update mail address
ppc: pp405-generic: Simplify Makefile
ppc: pp440-generic: Simplify Makefile
ppc: ppc440: ppc440-generic_flash_defconfig
ppc: ppc405: ppc405-generic_flash_defconfig
ppc: xilinx-ppc440-generic: Cleanout header files
ppc: xilinx-ppc405-generic: Cleanout header files
ppc: xilinx-ppc4xx-generic: Update xparameters.h
ppc: dts: Add device tree for xilix-ppc4xx-generic configs/xilinx-ppc405-generic: Typos and size configs/xilinx-ppc440-generic: Typos and size
ppc: xilinx-ppc4xx: Port to DM serial
ppc: xilinx_ppc405_generic: Remove weak attributes
ppc: xilinx_ppc440_generic: Remove weak attributes
ppc: xilinx_ppc405_generic: Remove uncalled functions
ppc: xilinx_ppc440_generic: Remove uncalled functions
net: xilinx_ll_temac: Fix string overflow
ppc: xilinx-ppc440-generic: Wire LL_TEMAC driver

 .mailmap                                           |  3 ++
 arch/powerpc/cpu/ppc4xx/Kconfig                    | 20 ++++-----
 arch/powerpc/cpu/ppc4xx/interrupts.c               |  2 +-
 arch/powerpc/cpu/ppc4xx/uic.c                      |  2 +-
 arch/powerpc/cpu/ppc4xx/xilinx_irq.c               |  2 +-
 arch/powerpc/dts/Makefile                          |  2 +
 arch/powerpc/dts/xilinx-ppc405-generic.dts         | 13 ++++++
 arch/powerpc/dts/xilinx-ppc440-generic.dts         | 13 ++++++
 arch/powerpc/include/asm/interrupt.h               |  2 +-
 arch/powerpc/include/asm/xilinx_irq.h              |  2 +-
 board/avnet/fx12mm/Kconfig                         | 12 ------
 board/avnet/fx12mm/MAINTAINERS                     |  7 ---
 board/avnet/fx12mm/Makefile                        | 11 -----
 board/avnet/fx12mm/fx12mm.c                        | 34 ---------------
 board/avnet/fx12mm/xparameters.h                   | 35 ---------------
 board/avnet/v5fx30teval/Kconfig                    | 12 ------
 board/avnet/v5fx30teval/MAINTAINERS                |  7 ---
 board/avnet/v5fx30teval/Makefile                   | 11 -----
 board/avnet/v5fx30teval/v5fx30teval.c              | 17 --------
 board/avnet/v5fx30teval/xparameters.h              | 22 ----------
 board/xilinx/ml507/Kconfig                         | 12 ------
 board/xilinx/ml507/MAINTAINERS                     |  7 ---
 board/xilinx/ml507/Makefile                        | 11 -----
 board/xilinx/ml507/ml507.c                         | 17 --------
 board/xilinx/ml507/xparameters.h                   | 23 ----------
 board/xilinx/ppc405-generic/MAINTAINERS            |  2 +-
 board/xilinx/ppc405-generic/Makefile               |  4 +-
 .../xilinx/ppc405-generic/xilinx_ppc405_generic.c  | 31 ++++++--------
 board/xilinx/ppc405-generic/xparameters.h          |  7 ++-
 board/xilinx/ppc440-generic/MAINTAINERS            |  2 +-
 board/xilinx/ppc440-generic/Makefile               |  6 +--
 board/xilinx/ppc440-generic/init.S                 |  2 +-
 .../xilinx/ppc440-generic/xilinx_ppc440_generic.c  | 49 ++++++++++++++-------
 board/xilinx/ppc440-generic/xparameters.h          | 15 ++++---
 configs/fx12mm_defconfig                           | 10 -----
 configs/fx12mm_flash_defconfig                     |  9 ----
 configs/ml507_defconfig                            |  9 ----
 configs/ml507_flash_defconfig                      |  8 ----
 configs/v5fx30teval_defconfig                      |  9 ----
 configs/v5fx30teval_flash_defconfig                |  8 ----
 configs/xilinx-ppc405-generic_defconfig            |  8 ++++
 configs/xilinx-ppc405-generic_flash_defconfig      |  8 ----
 configs/xilinx-ppc440-generic_defconfig            | 17 ++++++--
 configs/xilinx-ppc440-generic_flash_defconfig      |  8 ----
 drivers/hwmon/adt7460.c                            |  2 +-
 drivers/net/xilinx_ll_temac.c                      |  3 +-
 drivers/serial/Kconfig                             |  2 +-
 include/configs/fx12mm.h                           | 50 ----------------------
 include/configs/ml507.h                            | 38 ----------------
 include/configs/v5fx30teval.h                      | 38 ----------------
 include/configs/xilinx-ppc.h                       | 22 +++-------
 include/configs/xilinx-ppc405-generic.h            | 19 ++++----
 include/configs/xilinx-ppc405.h                    | 22 ----------
 include/configs/xilinx-ppc440-generic.h            | 27 ++++++++----
 include/configs/xilinx-ppc440.h                    | 17 --------
 55 files changed, 169 insertions(+), 582 deletions(-)
 create mode 100644 arch/powerpc/dts/xilinx-ppc405-generic.dts
 create mode 100644 arch/powerpc/dts/xilinx-ppc440-generic.dts
 delete mode 100644 board/avnet/fx12mm/Kconfig
 delete mode 100644 board/avnet/fx12mm/MAINTAINERS
 delete mode 100644 board/avnet/fx12mm/Makefile
 delete mode 100644 board/avnet/fx12mm/fx12mm.c
 delete mode 100644 board/avnet/fx12mm/xparameters.h
 delete mode 100644 board/avnet/v5fx30teval/Kconfig
 delete mode 100644 board/avnet/v5fx30teval/MAINTAINERS
 delete mode 100644 board/avnet/v5fx30teval/Makefile
 delete mode 100644 board/avnet/v5fx30teval/v5fx30teval.c
 delete mode 100644 board/avnet/v5fx30teval/xparameters.h
 delete mode 100644 board/xilinx/ml507/Kconfig
 delete mode 100644 board/xilinx/ml507/MAINTAINERS
 delete mode 100644 board/xilinx/ml507/Makefile
 delete mode 100644 board/xilinx/ml507/ml507.c
 delete mode 100644 board/xilinx/ml507/xparameters.h
 delete mode 100644 configs/fx12mm_defconfig
 delete mode 100644 configs/fx12mm_flash_defconfig
 delete mode 100644 configs/ml507_defconfig
 delete mode 100644 configs/ml507_flash_defconfig
 delete mode 100644 configs/v5fx30teval_defconfig
 delete mode 100644 configs/v5fx30teval_flash_defconfig
 delete mode 100644 configs/xilinx-ppc405-generic_flash_defconfig
 delete mode 100644 configs/xilinx-ppc440-generic_flash_defconfig
 delete mode 100644 include/configs/fx12mm.h
 delete mode 100644 include/configs/ml507.h
 delete mode 100644 include/configs/v5fx30teval.h
 delete mode 100644 include/configs/xilinx-ppc405.h
 delete mode 100644 include/configs/xilinx-ppc440.h
Signature · 1 line
2.7.0.rc3
#1 lore raw

PATCH 1/22 ppc: xilinx-ppc440: Remove support for ml507

ml507 is just a specialized version of the xilinx-ppc440-generic

---
 arch/powerpc/cpu/ppc4xx/Kconfig  |  4 ----
 board/xilinx/ml507/Kconfig       | 12 ------------
 board/xilinx/ml507/MAINTAINERS   |  7 -------
 board/xilinx/ml507/Makefile      | 11 -----------
 board/xilinx/ml507/ml507.c       | 17 -----------------
 board/xilinx/ml507/xparameters.h | 23 -----------------------
 configs/ml507_defconfig          |  9 ---------
 configs/ml507_flash_defconfig    |  8 --------
 include/configs/ml507.h          | 38 --------------------------------------
 9 files changed, 129 deletions(-)
 delete mode 100644 board/xilinx/ml507/Kconfig
 delete mode 100644 board/xilinx/ml507/MAINTAINERS
 delete mode 100644 board/xilinx/ml507/Makefile
 delete mode 100644 board/xilinx/ml507/ml507.c
 delete mode 100644 board/xilinx/ml507/xparameters.h
 delete mode 100644 configs/ml507_defconfig
 delete mode 100644 configs/ml507_flash_defconfig
 delete mode 100644 include/configs/ml507.h
arch/powerpc/cpu/ppc4xx/Kconfig +0 -4
index efd316573ce6..ba09b57fca50 100644
@@ -115,9 +115,6 @@ config TARGET_PIP405
 config TARGET_XPEDITE1000
 	bool "Support xpedite1000"
 
-config TARGET_ML507
-	bool "Support ml507"
-
 config TARGET_XILINX_PPC405_GENERIC
 	bool "Support xilinx-ppc405-generic"
 
@@ -158,7 +155,6 @@ source "board/mpl/mip405/Kconfig"
 source "board/mpl/pip405/Kconfig"
 source "board/t3corp/Kconfig"
 source "board/xes/xpedite1000/Kconfig"
-source "board/xilinx/ml507/Kconfig"
 source "board/xilinx/ppc405-generic/Kconfig"
 source "board/xilinx/ppc440-generic/Kconfig"
 
board/xilinx/ml507/Kconfig deleted +0 -12
deleted file mode 100644
index d580a7beafef..000000000000
@@ -1,12 +0,0 @@
-if TARGET_ML507
-
-config SYS_BOARD
-	default "ml507"
-
-config SYS_VENDOR
-	default "xilinx"
-
-config SYS_CONFIG_NAME
-	default "ml507"
-
-endif
board/xilinx/ml507/MAINTAINERS deleted +0 -7
deleted file mode 100644
index 8b40f4450085..000000000000
@@ -1,7 +0,0 @@
-ML507 BOARD
-M:	Ricardo Ribalda <[email protected]>
-S:	Maintained
-F:	board/xilinx/ml507/
-F:	include/configs/ml507.h
-F:	configs/ml507_defconfig
-F:	configs/ml507_flash_defconfig
board/xilinx/ml507/Makefile deleted +0 -11
deleted file mode 100644
index 9a3809f3c065..000000000000
@@ -1,11 +0,0 @@
-#
-# (C) Copyright 2008
-# Ricardo Ribalda,Universidad Autonoma de Madrid, ricardo.ribalda at uam.es
-# This work has been supported by: Qtechnology http://qtec.com/
-#
-# SPDX-License-Identifier:	GPL-2.0+
-#
-
-obj-y	+= ml507.o
-
-include $(srctree)/board/xilinx/ppc440-generic/Makefile
board/xilinx/ml507/ml507.c deleted +0 -17
deleted file mode 100644
index 83b764b7337b..000000000000
@@ -1,17 +0,0 @@
-/*
- * (C) Copyright 2008
- * Ricado Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda at uam.es
- * This work has been supported by: QTechnology  http://qtec.com/
- * SPDX-License-Identifier:	GPL-2.0+
-*/
-
-#include <config.h>
-#include <common.h>
-#include <asm/processor.h>
-
-
-int checkboard(void)
-{
-	puts("Xilinx ML507 Board\n");
-	return 0;
-}
board/xilinx/ml507/xparameters.h deleted +0 -23
deleted file mode 100644
index e30e592bbe12..000000000000
@@ -1,23 +0,0 @@
-/*
- * (C) Copyright 2008
- * Ricado Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda at uam.es
- * This work has been supported by: QTechnology  http://qtec.com/
- * based on xparameters-ml507.h by Xilinx
- *
- * SPDX-License-Identifier:	GPL-2.0+
-*/
-
-#ifndef XPARAMETER_H
-#define XPARAMETER_H
-
-#define XPAR_DDR2_SDRAM_MEM_BASEADDR	0x00000000
-#define XPAR_IIC_EEPROM_BASEADDR	0x81600000
-#define XPAR_INTC_0_BASEADDR		0x81800000
-#define XPAR_UARTLITE_0_BASEADDR	0x84000000
-#define XPAR_FLASH_MEM0_BASEADDR	0xFE000000
-#define XPAR_PLB_CLOCK_FREQ_HZ		100000000
-#define XPAR_CORE_CLOCK_FREQ_HZ		400000000
-#define XPAR_INTC_MAX_NUM_INTR_INPUTS	13
-#define XPAR_UARTLITE_0_BAUDRATE	9600
-
-#endif
configs/ml507_defconfig deleted +0 -9
deleted file mode 100644
index d1e4e30371bf..000000000000
@@ -1,9 +0,0 @@
-CONFIG_PPC=y
-CONFIG_4xx=y
-CONFIG_TARGET_ML507=y
-CONFIG_SYS_EXTRA_OPTIONS="SYS_TEXT_BASE=0x04000000,RESET_VECTOR_ADDRESS=0x04100000,BOOT_FROM_XMD=1,INIT_TLB=board/xilinx/ppc440-generic/init.o"
-CONFIG_SYS_PROMPT="ml507:/# "
-# CONFIG_CMD_IMLS is not set
-# CONFIG_CMD_SETEXPR is not set
-# CONFIG_CMD_NET is not set
-# CONFIG_CMD_NFS is not set
configs/ml507_flash_defconfig deleted +0 -8
deleted file mode 100644
index 442e0ce1fa6a..000000000000
@@ -1,8 +0,0 @@
-CONFIG_PPC=y
-CONFIG_4xx=y
-CONFIG_TARGET_ML507=y
-CONFIG_SYS_EXTRA_OPTIONS="SYS_TEXT_BASE=0xF7F60000,RESET_VECTOR_ADDRESS=0xF7FFFFFC,INIT_TLB=board/xilinx/ppc440-generic/init.o"
-# CONFIG_CMD_IMLS is not set
-# CONFIG_CMD_SETEXPR is not set
-# CONFIG_CMD_NET is not set
-# CONFIG_CMD_NFS is not set
include/configs/ml507.h deleted +0 -38
deleted file mode 100644
index 89a72904b3d7..000000000000
@@ -1,38 +0,0 @@
-/*
- * (C) Copyright 2008
- *  Ricado Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda at uam.es
- *  This work has been supported by: QTechnology  http://qtec.com/
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-/*CPU*/
-#define CONFIG_440		1
-#define CONFIG_XILINX_ML507	1
-#include "../board/xilinx/ml507/xparameters.h"
-
-/*Mem Map*/
-#define CONFIG_SYS_SDRAM_SIZE_MB	256
-
-/*Env*/
-#define	CONFIG_ENV_IS_IN_FLASH	1
-#define	CONFIG_ENV_SIZE		0x20000
-#define	CONFIG_ENV_SECT_SIZE	0x20000
-#define CONFIG_ENV_OFFSET	0x340000
-#define CONFIG_ENV_ADDR		(XPAR_FLASH_MEM0_BASEADDR+CONFIG_ENV_OFFSET)
-
-/*Misc*/
-#define CONFIG_PREBOOT		"echo U-Boot is up and runnining;"
-
-/*Flash*/
-#define	CONFIG_SYS_FLASH_SIZE	(32*1024*1024)
-#define	CONFIG_SYS_MAX_FLASH_SECT	259
-#define MTDIDS_DEFAULT		"nor0=ml507-flash"
-#define MTDPARTS_DEFAULT	"mtdparts=ml507-flash:-(user)"
-
-/*Generic Configs*/
-#include <configs/xilinx-ppc440.h>
-
-#endif						/* __CONFIG_H */
Signature · 1 line
2.7.0.rc3
#2 lore raw

PATCH 1/22 ppc: xilinx-ppc440: Remove support for ml507

Quoted 14 lines · Ricardo Ribalda Delgado

ml507 is just a specialized version of the xilinx-ppc440-generic

---
 arch/powerpc/cpu/ppc4xx/Kconfig  |  4 ----
 board/xilinx/ml507/Kconfig       | 12 ------------
 board/xilinx/ml507/MAINTAINERS   |  7 -------
 board/xilinx/ml507/Makefile      | 11 -----------
 board/xilinx/ml507/ml507.c       | 17 -----------------
 board/xilinx/ml507/xparameters.h | 23 -----------------------
 configs/ml507_defconfig          |  9 ---------
 configs/ml507_flash_defconfig    |  8 --------
 include/configs/ml507.h          | 38 --------------------------------------
 9 files changed, 129 deletions(-)
Quoted 9 lines
 delete mode 100644 board/xilinx/ml507/Kconfig
 delete mode 100644 board/xilinx/ml507/MAINTAINERS
 delete mode 100644 board/xilinx/ml507/Makefile
 delete mode 100644 board/xilinx/ml507/ml507.c
 delete mode 100644 board/xilinx/ml507/xparameters.h
 delete mode 100644 configs/ml507_defconfig
 delete mode 100644 configs/ml507_flash_defconfig
 delete mode 100644 include/configs/ml507.h
#3 lore raw

PATCH 1/22 ppc: xilinx-ppc440: Remove support for ml507

In reply to Ricardo Ribalda Delgado
Quoted 3 lines · Ricardo Ribalda Delgado

ml507 is just a specialized version of the xilinx-ppc440-generic

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160126/427888c1/attachment.sig>
#4 lore raw

PATCH 1/22 ppc: xilinx-ppc440: Remove support for ml507

In reply to Ricardo Ribalda Delgado
Quoted 14 lines · Ricardo Ribalda Delgado

ml507 is just a specialized version of the xilinx-ppc440-generic

---
  arch/powerpc/cpu/ppc4xx/Kconfig  |  4 ----
  board/xilinx/ml507/Kconfig       | 12 ------------
  board/xilinx/ml507/MAINTAINERS   |  7 -------
  board/xilinx/ml507/Makefile      | 11 -----------
  board/xilinx/ml507/ml507.c       | 17 -----------------
  board/xilinx/ml507/xparameters.h | 23 -----------------------
  configs/ml507_defconfig          |  9 ---------
  configs/ml507_flash_defconfig    |  8 --------
  include/configs/ml507.h          | 38 --------------------------------------
  9 files changed, 129 deletions(-)
Quoted 8 lines

delete mode 100644 board/xilinx/ml507/Kconfig delete mode 100644 board/xilinx/ml507/MAINTAINERS delete mode 100644 board/xilinx/ml507/Makefile delete mode 100644 board/xilinx/ml507/ml507.c delete mode 100644 board/xilinx/ml507/xparameters.h delete mode 100644 configs/ml507_defconfig delete mode 100644 configs/ml507_flash_defconfig delete mode 100644 include/configs/ml507.h

Thanks,
Stefan

#5 lore raw

PATCH 2/22 ppc: xilinx-ppc405: Remove support for fx12mm

In reply to Ricardo Ribalda Delgado

It is just a specialized version of the xilinx-ppc405

---
 arch/powerpc/cpu/ppc4xx/Kconfig  |  4 ----
 board/avnet/fx12mm/Kconfig       | 12 ----------
 board/avnet/fx12mm/MAINTAINERS   |  7 ------
 board/avnet/fx12mm/Makefile      | 11 ---------
 board/avnet/fx12mm/fx12mm.c      | 34 ---------------------------
 board/avnet/fx12mm/xparameters.h | 35 ----------------------------
 configs/fx12mm_defconfig         | 10 --------
 configs/fx12mm_flash_defconfig   |  9 --------
 include/configs/fx12mm.h         | 50 ----------------------------------------
 9 files changed, 172 deletions(-)
 delete mode 100644 board/avnet/fx12mm/Kconfig
 delete mode 100644 board/avnet/fx12mm/MAINTAINERS
 delete mode 100644 board/avnet/fx12mm/Makefile
 delete mode 100644 board/avnet/fx12mm/fx12mm.c
 delete mode 100644 board/avnet/fx12mm/xparameters.h
 delete mode 100644 configs/fx12mm_defconfig
 delete mode 100644 configs/fx12mm_flash_defconfig
 delete mode 100644 include/configs/fx12mm.h
arch/powerpc/cpu/ppc4xx/Kconfig +0 -4
index ba09b57fca50..120d5cfb3f39 100644
@@ -55,9 +55,6 @@ config TARGET_YOSEMITE
 config TARGET_YUCCA
 	bool "Support yucca"
 
-config TARGET_FX12MM
-	bool "Support fx12mm"
-
 config TARGET_V5FX30TEVAL
 	bool "Support v5fx30teval"
 
@@ -136,7 +133,6 @@ source "board/amcc/sequoia/Kconfig"
 source "board/amcc/walnut/Kconfig"
 source "board/amcc/yosemite/Kconfig"
 source "board/amcc/yucca/Kconfig"
-source "board/avnet/fx12mm/Kconfig"
 source "board/avnet/v5fx30teval/Kconfig"
 source "board/esd/cpci2dp/Kconfig"
 source "board/esd/cpci405/Kconfig"
board/avnet/fx12mm/Kconfig deleted +0 -12
deleted file mode 100644
index 0b67ebde93b8..000000000000
@@ -1,12 +0,0 @@
-if TARGET_FX12MM
-
-config SYS_BOARD
-	default "fx12mm"
-
-config SYS_VENDOR
-	default "avnet"
-
-config SYS_CONFIG_NAME
-	default "fx12mm"
-
-endif
board/avnet/fx12mm/MAINTAINERS deleted +0 -7
deleted file mode 100644
index c92e258df95c..000000000000
@@ -1,7 +0,0 @@
-FX12MM BOARD
-M:	Georg Schardt <[email protected]>
-S:	Maintained
-F:	board/avnet/fx12mm/
-F:	include/configs/fx12mm.h
-F:	configs/fx12mm_defconfig
-F:	configs/fx12mm_flash_defconfig
board/avnet/fx12mm/Makefile deleted +0 -11
deleted file mode 100644
index 618b42f8917c..000000000000
@@ -1,11 +0,0 @@
-#
-# (C) Copyright 2008
-# Ricardo Ribalda,Universidad Autonoma de Madrid, ricardo.ribalda at uam.es
-# This work has been supported by: Qtechnology http://qtec.com/
-#
-# SPDX-License-Identifier:	GPL-2.0+
-#
-
-obj-y	+= fx12mm.o
-
-include $(srctree)/board/xilinx/ppc405-generic/Makefile
board/avnet/fx12mm/fx12mm.c deleted +0 -34
deleted file mode 100644
index 92e1cfb75f3c..000000000000
@@ -1,34 +0,0 @@
-/*
- * (C) Copyright 2008
- *
- * Author: Xilinx Inc.
- *
- * Modified by:
- *  Georg Schardt <[email protected]>
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-#include <config.h>
-#include <common.h>
-#include <asm/processor.h>
-
-int checkboard(void)
-{
-	char buf[64];
-	int i;
-	int l = getenv_f("serial#", buf, sizeof(buf));
-
-	if (l < 0) {
-		printf("Avnet Virtex4 FX12 with no serial #");
-	} else {
-		printf("Avnet Virtex4 FX12 Minimodul # ");
-		for (i = 0; i < l; ++i) {
-			if (buf[i] == ' ')
-				break;
-			putc(buf[i]);
-		}
-	}
-	putc('\n');
-	return 0;
-}
board/avnet/fx12mm/xparameters.h deleted +0 -35
deleted file mode 100644
index 94f682f8ecce..000000000000
@@ -1,35 +0,0 @@
-/*
- * (C) Copyright 2008
- *
- * Georg Schardt <[email protected]>
- *
- * SPDX-License-Identifier:	GPL-2.0+
- *
- * CAUTION: This file is based on the xparameters.h automatically
- * generated by libgen. Version: Xilinx EDK 10.1.02 Build EDK_K_SP2.5
- */
-
-#ifndef __XPARAMETER_H__
-#define __XPARAMETER_H__
-
-/* RS232 */
-#define XPAR_UARTNS550_0_CLOCK_FREQ_HZ 100000000
-#define XPAR_UARTNS550_0_BASEADDR 0x83E00000
-
-
-/* INT_C */
-#define XPAR_XPS_INTC_0_DEVICE_ID 0
-#define XPAR_XPS_INTC_0_BASEADDR 0x81800000
-#define XPAR_INTC_MAX_NUM_INTR_INPUTS 2
-
-/* CPU core clock */
-#define XPAR_CORE_CLOCK_FREQ_HZ 300000000
-#define XPAR_PLB_CLOCK_FREQ_HZ  100000000
-
-/* RAM */
-#define XPAR_DDR2_SDRAM_MEM_BASEADDR 0x00000000
-
-/* FLASH */
-#define XPAR_FLASH_MEM0_BASEADDR 0xFFC00000
-
-#endif
configs/fx12mm_defconfig deleted +0 -10
deleted file mode 100644
index c714d0d35e4e..000000000000
@@ -1,10 +0,0 @@
-CONFIG_PPC=y
-CONFIG_4xx=y
-CONFIG_TARGET_FX12MM=y
-CONFIG_SYS_EXTRA_OPTIONS="SYS_TEXT_BASE=0x04000000,RESET_VECTOR_ADDRESS=0x04100000,INIT_TLB=board/xilinx/ppc405-generic/init.o"
-CONFIG_SYS_PROMPT="FX12MM:/# "
-# CONFIG_CMD_IMLS is not set
-# CONFIG_CMD_SETEXPR is not set
-# CONFIG_CMD_NET is not set
-# CONFIG_CMD_NFS is not set
-CONFIG_SYS_NS16550=y
configs/fx12mm_flash_defconfig deleted +0 -9
deleted file mode 100644
index ac3841260d65..000000000000
@@ -1,9 +0,0 @@
-CONFIG_PPC=y
-CONFIG_4xx=y
-CONFIG_TARGET_FX12MM=y
-CONFIG_SYS_EXTRA_OPTIONS="SYS_TEXT_BASE=0xF7F60000,RESET_VECTOR_ADDRESS=0xF7FFFFFC,INIT_TLB=board/xilinx/ppc405-generic/init.o"
-# CONFIG_CMD_IMLS is not set
-# CONFIG_CMD_SETEXPR is not set
-# CONFIG_CMD_NET is not set
-# CONFIG_CMD_NFS is not set
-CONFIG_SYS_NS16550=y
include/configs/fx12mm.h deleted +0 -50

50 lines not on this page · raw message

Signature · 1 line
2.7.0.rc3
#6 lore raw

PATCH 2/22 ppc: xilinx-ppc405: Remove support for fx12mm

Quoted 14 lines · Ricardo Ribalda Delgado

It is just a specialized version of the xilinx-ppc405

---
 arch/powerpc/cpu/ppc4xx/Kconfig  |  4 ----
 board/avnet/fx12mm/Kconfig       | 12 ----------
 board/avnet/fx12mm/MAINTAINERS   |  7 ------
 board/avnet/fx12mm/Makefile      | 11 ---------
 board/avnet/fx12mm/fx12mm.c      | 34 ---------------------------
 board/avnet/fx12mm/xparameters.h | 35 ----------------------------
 configs/fx12mm_defconfig         | 10 --------
 configs/fx12mm_flash_defconfig   |  9 --------
 include/configs/fx12mm.h         | 50 ----------------------------------------
 9 files changed, 172 deletions(-)
Quoted 9 lines
 delete mode 100644 board/avnet/fx12mm/Kconfig
 delete mode 100644 board/avnet/fx12mm/MAINTAINERS
 delete mode 100644 board/avnet/fx12mm/Makefile
 delete mode 100644 board/avnet/fx12mm/fx12mm.c
 delete mode 100644 board/avnet/fx12mm/xparameters.h
 delete mode 100644 configs/fx12mm_defconfig
 delete mode 100644 configs/fx12mm_flash_defconfig
 delete mode 100644 include/configs/fx12mm.h
#7 lore raw

PATCH 2/22 ppc: xilinx-ppc405: Remove support for fx12mm

In reply to Ricardo Ribalda Delgado
Quoted 3 lines · Ricardo Ribalda Delgado

It is just a specialized version of the xilinx-ppc405

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160126/cdada0e3/attachment.sig>
#8 lore raw

PATCH 2/22 ppc: xilinx-ppc405: Remove support for fx12mm

In reply to Ricardo Ribalda Delgado
Quoted 14 lines · Ricardo Ribalda Delgado

It is just a specialized version of the xilinx-ppc405

---
  arch/powerpc/cpu/ppc4xx/Kconfig  |  4 ----
  board/avnet/fx12mm/Kconfig       | 12 ----------
  board/avnet/fx12mm/MAINTAINERS   |  7 ------
  board/avnet/fx12mm/Makefile      | 11 ---------
  board/avnet/fx12mm/fx12mm.c      | 34 ---------------------------
  board/avnet/fx12mm/xparameters.h | 35 ----------------------------
  configs/fx12mm_defconfig         | 10 --------
  configs/fx12mm_flash_defconfig   |  9 --------
  include/configs/fx12mm.h         | 50 ----------------------------------------
  9 files changed, 172 deletions(-)
Quoted 8 lines

delete mode 100644 board/avnet/fx12mm/Kconfig delete mode 100644 board/avnet/fx12mm/MAINTAINERS delete mode 100644 board/avnet/fx12mm/Makefile delete mode 100644 board/avnet/fx12mm/fx12mm.c delete mode 100644 board/avnet/fx12mm/xparameters.h delete mode 100644 configs/fx12mm_defconfig delete mode 100644 configs/fx12mm_flash_defconfig delete mode 100644 include/configs/fx12mm.h

Thanks,
Stefan

#9 lore raw

PATCH 3/22 xilinx-ppc440: Remove support for v5fx30teval

In reply to Ricardo Ribalda Delgado

It is just a specialized version of xilinx-ppc440

---
 arch/powerpc/cpu/ppc4xx/Kconfig       |  4 ----
 board/avnet/v5fx30teval/Kconfig       | 12 -----------
 board/avnet/v5fx30teval/MAINTAINERS   |  7 -------
 board/avnet/v5fx30teval/Makefile      | 11 ----------
 board/avnet/v5fx30teval/v5fx30teval.c | 17 ----------------
 board/avnet/v5fx30teval/xparameters.h | 22 --------------------
 configs/v5fx30teval_defconfig         |  9 ---------
 configs/v5fx30teval_flash_defconfig   |  8 --------
 include/configs/v5fx30teval.h         | 38 -----------------------------------
 9 files changed, 128 deletions(-)
 delete mode 100644 board/avnet/v5fx30teval/Kconfig
 delete mode 100644 board/avnet/v5fx30teval/MAINTAINERS
 delete mode 100644 board/avnet/v5fx30teval/Makefile
 delete mode 100644 board/avnet/v5fx30teval/v5fx30teval.c
 delete mode 100644 board/avnet/v5fx30teval/xparameters.h
 delete mode 100644 configs/v5fx30teval_defconfig
 delete mode 100644 configs/v5fx30teval_flash_defconfig
 delete mode 100644 include/configs/v5fx30teval.h
arch/powerpc/cpu/ppc4xx/Kconfig +0 -4
index 120d5cfb3f39..3959585d44c3 100644
@@ -55,9 +55,6 @@ config TARGET_YOSEMITE
 config TARGET_YUCCA
 	bool "Support yucca"
 
-config TARGET_V5FX30TEVAL
-	bool "Support v5fx30teval"
-
 config TARGET_CPCI2DP
 	bool "Support CPCI2DP"
 
@@ -133,7 +130,6 @@ source "board/amcc/sequoia/Kconfig"
 source "board/amcc/walnut/Kconfig"
 source "board/amcc/yosemite/Kconfig"
 source "board/amcc/yucca/Kconfig"
-source "board/avnet/v5fx30teval/Kconfig"
 source "board/esd/cpci2dp/Kconfig"
 source "board/esd/cpci405/Kconfig"
 source "board/esd/plu405/Kconfig"
board/avnet/v5fx30teval/Kconfig deleted +0 -12
deleted file mode 100644
index 079387b707a7..000000000000
@@ -1,12 +0,0 @@
-if TARGET_V5FX30TEVAL
-
-config SYS_BOARD
-	default "v5fx30teval"
-
-config SYS_VENDOR
-	default "avnet"
-
-config SYS_CONFIG_NAME
-	default "v5fx30teval"
-
-endif
board/avnet/v5fx30teval/MAINTAINERS deleted +0 -7
deleted file mode 100644
index 91dde7a5c8f9..000000000000
@@ -1,7 +0,0 @@
-V5FX30TEVAL BOARD
-M:	Ricardo Ribalda <[email protected]>
-S:	Maintained
-F:	board/avnet/v5fx30teval/
-F:	include/configs/v5fx30teval.h
-F:	configs/v5fx30teval_defconfig
-F:	configs/v5fx30teval_flash_defconfig
board/avnet/v5fx30teval/Makefile deleted +0 -11
deleted file mode 100644
index 8c41af02d4f2..000000000000
@@ -1,11 +0,0 @@
-#
-# (C) Copyright 2008
-# Ricardo Ribalda,Universidad Autonoma de Madrid, ricardo.ribalda at uam.es
-# This work has been supported by: Qtechnology http://qtec.com/
-#
-# SPDX-License-Identifier:	GPL-2.0+
-#
-
-obj-y	+= v5fx30teval.o
-
-include $(srctree)/board/xilinx/ppc440-generic/Makefile
board/avnet/v5fx30teval/v5fx30teval.c deleted +0 -17
deleted file mode 100644
index 68b0eb959dea..000000000000
@@ -1,17 +0,0 @@
-/*
- * (C) Copyright 2008
- * Ricado Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda at uam.es
- * This work has been supported by: QTechnology  http://qtec.com/
- * SPDX-License-Identifier:	GPL-2.0+
-*/
-
-#include <config.h>
-#include <common.h>
-#include <asm/processor.h>
-
-
-int checkboard(void)
-{
-	puts("Avnet Virtex 5 FX30 Evaluation Board\n");
-	return 0;
-}
board/avnet/v5fx30teval/xparameters.h deleted +0 -22
deleted file mode 100644
index 95b8c285ad1a..000000000000
@@ -1,22 +0,0 @@
-/*
- * (C) Copyright 2008
- * Ricado Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda at uam.es
- * This work has been supported by: QTechnology  http://qtec.com/
- * based on xparameters.h by Xilinx
- *
- * SPDX-License-Identifier:	GPL-2.0+
-*/
-
-#ifndef XPARAMETER_H
-#define XPARAMETER_H
-
-#define XPAR_DDR2_SDRAM_MEM_BASEADDR	0x00000000
-#define XPAR_INTC_0_BASEADDR		0x81800000
-#define XPAR_UARTLITE_0_BASEADDR	0x84000000
-#define XPAR_FLASH_MEM0_BASEADDR	0xFF000000
-#define XPAR_PLB_CLOCK_FREQ_HZ		100000000
-#define XPAR_CORE_CLOCK_FREQ_HZ		400000000
-#define XPAR_INTC_MAX_NUM_INTR_INPUTS	13
-#define XPAR_UARTLITE_0_BAUDRATE	9600
-
-#endif
configs/v5fx30teval_defconfig deleted +0 -9
deleted file mode 100644
index 3e2ce7d2fe76..000000000000
@@ -1,9 +0,0 @@
-CONFIG_PPC=y
-CONFIG_4xx=y
-CONFIG_TARGET_V5FX30TEVAL=y
-CONFIG_SYS_EXTRA_OPTIONS="SYS_TEXT_BASE=0x04000000,RESET_VECTOR_ADDRESS=0x04100000,BOOT_FROM_XMD=1,INIT_TLB=board/xilinx/ppc440-generic/init.o"
-CONFIG_SYS_PROMPT="v5fx30t:/# "
-# CONFIG_CMD_IMLS is not set
-# CONFIG_CMD_SETEXPR is not set
-# CONFIG_CMD_NET is not set
-# CONFIG_CMD_NFS is not set
configs/v5fx30teval_flash_defconfig deleted +0 -8
deleted file mode 100644
index b9b05e8b3951..000000000000
@@ -1,8 +0,0 @@
-CONFIG_PPC=y
-CONFIG_4xx=y
-CONFIG_TARGET_V5FX30TEVAL=y
-CONFIG_SYS_EXTRA_OPTIONS="SYS_TEXT_BASE=0xF7F60000,RESET_VECTOR_ADDRESS=0xF7FFFFFC,INIT_TLB=board/xilinx/ppc440-generic/init.o"
-# CONFIG_CMD_IMLS is not set
-# CONFIG_CMD_SETEXPR is not set
-# CONFIG_CMD_NET is not set
-# CONFIG_CMD_NFS is not set
include/configs/v5fx30teval.h deleted +0 -38
deleted file mode 100644
index 298fa3e6d0a6..000000000000
@@ -1,38 +0,0 @@
-/*
- * (C) Copyright 2008
- *  Ricado Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda at uam.es
- *  This work has been supported by: QTechnology  http://qtec.com/
- * SPDX-License-Identifier:	GPL-2.0+
-*/
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-/*CPU*/
-#define CONFIG_440		1
-#define CONFIG_XILINX_ML507	1
-#include "../board/avnet/v5fx30teval/xparameters.h"
-
-/*Mem Map*/
-#define CONFIG_SYS_SDRAM_SIZE_MB	64
-
-/*Env*/
-#define	CONFIG_ENV_IS_IN_FLASH	1
-#define	CONFIG_ENV_SIZE		0x20000
-#define	CONFIG_ENV_SECT_SIZE	0x20000
-#define CONFIG_ENV_OFFSET		0x1A0000
-#define CONFIG_ENV_ADDR		(XPAR_FLASH_MEM0_BASEADDR+CONFIG_ENV_OFFSET)
-
-/*Misc*/
-#define CONFIG_PREBOOT		"echo U-Boot is up and runnining;"
-
-/*Flash*/
-#define	CONFIG_SYS_FLASH_SIZE		(16*1024*1024)
-#define	CONFIG_SYS_MAX_FLASH_SECT	131
-#define MTDIDS_DEFAULT		"nor0=v5fx30t-flash"
-#define MTDPARTS_DEFAULT	"mtdparts=v5fx30t-flash:-(user)"
-
-/*Generic Configs*/
-#include <configs/xilinx-ppc440.h>
-
-#endif						/* __CONFIG_H */
Signature · 1 line
2.7.0.rc3
#10 lore raw

PATCH 3/22 xilinx-ppc440: Remove support for v5fx30teval

Quoted 14 lines · Ricardo Ribalda Delgado

It is just a specialized version of xilinx-ppc440

---
 arch/powerpc/cpu/ppc4xx/Kconfig       |  4 ----
 board/avnet/v5fx30teval/Kconfig       | 12 -----------
 board/avnet/v5fx30teval/MAINTAINERS   |  7 -------
 board/avnet/v5fx30teval/Makefile      | 11 ----------
 board/avnet/v5fx30teval/v5fx30teval.c | 17 ----------------
 board/avnet/v5fx30teval/xparameters.h | 22 --------------------
 configs/v5fx30teval_defconfig         |  9 ---------
 configs/v5fx30teval_flash_defconfig   |  8 --------
 include/configs/v5fx30teval.h         | 38 -----------------------------------
 9 files changed, 128 deletions(-)
Quoted 9 lines
 delete mode 100644 board/avnet/v5fx30teval/Kconfig
 delete mode 100644 board/avnet/v5fx30teval/MAINTAINERS
 delete mode 100644 board/avnet/v5fx30teval/Makefile
 delete mode 100644 board/avnet/v5fx30teval/v5fx30teval.c
 delete mode 100644 board/avnet/v5fx30teval/xparameters.h
 delete mode 100644 configs/v5fx30teval_defconfig
 delete mode 100644 configs/v5fx30teval_flash_defconfig
 delete mode 100644 include/configs/v5fx30teval.h
#11 lore raw

PATCH 3/22 xilinx-ppc440: Remove support for v5fx30teval

In reply to Ricardo Ribalda Delgado
Quoted 3 lines · Ricardo Ribalda Delgado

It is just a specialized version of xilinx-ppc440

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160126/b6b08c59/attachment.sig>
#12 lore raw

PATCH 3/22 xilinx-ppc440: Remove support for v5fx30teval

In reply to Ricardo Ribalda Delgado
Quoted 14 lines · Ricardo Ribalda Delgado

It is just a specialized version of xilinx-ppc440

---
  arch/powerpc/cpu/ppc4xx/Kconfig       |  4 ----
  board/avnet/v5fx30teval/Kconfig       | 12 -----------
  board/avnet/v5fx30teval/MAINTAINERS   |  7 -------
  board/avnet/v5fx30teval/Makefile      | 11 ----------
  board/avnet/v5fx30teval/v5fx30teval.c | 17 ----------------
  board/avnet/v5fx30teval/xparameters.h | 22 --------------------
  configs/v5fx30teval_defconfig         |  9 ---------
  configs/v5fx30teval_flash_defconfig   |  8 --------
  include/configs/v5fx30teval.h         | 38 -----------------------------------
  9 files changed, 128 deletions(-)
Quoted 8 lines

delete mode 100644 board/avnet/v5fx30teval/Kconfig delete mode 100644 board/avnet/v5fx30teval/MAINTAINERS delete mode 100644 board/avnet/v5fx30teval/Makefile delete mode 100644 board/avnet/v5fx30teval/v5fx30teval.c delete mode 100644 board/avnet/v5fx30teval/xparameters.h delete mode 100644 configs/v5fx30teval_defconfig delete mode 100644 configs/v5fx30teval_flash_defconfig delete mode 100644 include/configs/v5fx30teval.h

Thanks,
Stefan

#13 lore raw

PATCH 4/22 .mailmap: Add all the mail alias for Ricardo Ribalda

In reply to Ricardo Ribalda Delgado
---
 .mailmap | 3 +++
 1 file changed, 3 insertions(+)
.mailmap +3 -0
index 02dccfc1aee7..f72fef174825 100644
@@ -21,6 +21,9 @@ Jagan Teki <[email protected]>
 Markus Klotzbuecher <[email protected]>
 Prabhakar Kushwaha <[email protected]>
 Rajeshwari Shinde <[email protected]>
+Ricardo Ribalda Delgado <[email protected]>
+Ricardo Ribalda <[email protected]>
+Ricardo Ribalda <[email protected]>
 Sandeep Paulraj <[email protected]>
 Shaohui Xie <[email protected]>
 Stefan Roese <stroese>
Signature · 1 line
2.7.0.rc3
#15 lore raw

PATCH 4/22 .mailmap: Add all the mail alias for Ricardo Ribalda

In reply to Ricardo Ribalda Delgado
Quoted 1 line · Ricardo Ribalda Delgado
Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160126/25985d6f/attachment.sig>
#16 lore raw

PATCH 5/22 mailaddr: Update mail address

In reply to Ricardo Ribalda Delgado

The old mail address will stop working soon.
Update it all the files

---
 arch/powerpc/cpu/ppc4xx/interrupts.c                | 2 +-
 arch/powerpc/cpu/ppc4xx/uic.c                       | 2 +-
 arch/powerpc/cpu/ppc4xx/xilinx_irq.c                | 2 +-
 arch/powerpc/include/asm/interrupt.h                | 2 +-
 arch/powerpc/include/asm/xilinx_irq.h               | 2 +-
 board/xilinx/ppc405-generic/MAINTAINERS             | 2 +-
 board/xilinx/ppc405-generic/Makefile                | 2 +-
 board/xilinx/ppc405-generic/xilinx_ppc405_generic.c | 2 +-
 board/xilinx/ppc405-generic/xparameters.h           | 2 +-
 board/xilinx/ppc440-generic/MAINTAINERS             | 2 +-
 board/xilinx/ppc440-generic/Makefile                | 2 +-
 board/xilinx/ppc440-generic/init.S                  | 2 +-
 board/xilinx/ppc440-generic/xilinx_ppc440_generic.c | 2 +-
 board/xilinx/ppc440-generic/xparameters.h           | 2 +-
 drivers/hwmon/adt7460.c                             | 2 +-
 include/configs/xilinx-ppc.h                        | 2 +-
 include/configs/xilinx-ppc405-generic.h             | 2 +-
 include/configs/xilinx-ppc405.h                     | 2 +-
 include/configs/xilinx-ppc440-generic.h             | 2 +-
 include/configs/xilinx-ppc440.h                     | 2 +-
 20 files changed, 20 insertions(+), 20 deletions(-)
arch/powerpc/cpu/ppc4xx/interrupts.c +1 -1
index d9b565468b60..45997d6eae06 100644
@@ -9,7 +9,7 @@
  * Travis B. Sawyer, Sandburst Corporation, tsawyer at sandburst.com
  *
  * (C) Copyright 2008 (PPC440X05 port for Virtex 5 FX)
- * Ricardo Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda at uam.es
+ * Ricardo Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda at gmail.com
  * Work supported by Qtechnology (htpp://qtec.com)
  *
  * SPDX-License-Identifier:	GPL-2.0+
arch/powerpc/cpu/ppc4xx/uic.c +1 -1
index bd955ed83ff0..fb453b1adfb5 100644
@@ -9,7 +9,7 @@
  * Travis B. Sawyer, Sandburst Corporation, tsawyer at sandburst.com
  *
  * (C) Copyright 2008 (PPC440X05 port for Virtex 5 FX)
- * Ricardo Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda at uam.es
+ * Ricardo Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda at gmail.com
  * Work supported by Qtechnology (htpp://qtec.com)
  *
  * SPDX-License-Identifier:	GPL-2.0+
arch/powerpc/cpu/ppc4xx/xilinx_irq.c +1 -1
index 71e1be02a678..1a2e917eb23b 100644
@@ -1,6 +1,6 @@
 /*
  * (C) Copyright 2008
- * Ricado Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda at uam.es
+ * Ricado Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda at gmail.com
  * This work has been supported by: QTechnology  http://qtec.com/
  * Based on interrupts.c Wolfgang Denk-DENX Software Engineering-wd at denx.de
  * SPDX-License-Identifier:	GPL-2.0+
arch/powerpc/include/asm/interrupt.h +1 -1
index 1a6a93384e76..9f370dd83c9d 100644
@@ -1,6 +1,6 @@
 /*
  * (C) Copyright 2008
- * Ricado Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda at uam.es
+ * Ricado Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda at gmail.com
  * This work has been supported by: QTechnology  http://qtec.com/
  * Based on interrupts.c Wolfgang Denk-DENX Software Engineering-wd at denx.de
  *
arch/powerpc/include/asm/xilinx_irq.h +1 -1
index 333a0372b788..5766bde366ce 100644
@@ -1,6 +1,6 @@
 /*
  * (C) Copyright 2008
- * Ricado Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda at uam.es
+ * Ricado Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda at gmail.com
  * This work has been supported by: QTechnology  http://qtec.com/
  * Based on interrupts.c Wolfgang Denk-DENX Software Engineering-wd at denx.de
  * SPDX-License-Identifier:	GPL-2.0+
board/xilinx/ppc405-generic/MAINTAINERS +1 -1
index 2b0c98dc8b73..ba48f50c29bf 100644
@@ -1,5 +1,5 @@
 PPC405-GENERIC BOARD
-M:	Ricardo Ribalda <[email protected]>
+M:	Ricardo Ribalda <[email protected]>
 S:	Maintained
 F:	board/xilinx/ppc405-generic/
 F:	include/configs/xilinx-ppc405-generic.h
board/xilinx/ppc405-generic/Makefile +1 -1
index c9da87065747..922946d72341 100644
@@ -3,7 +3,7 @@
 # Wolfgang Denk, DENX Software Engineering, wd at denx.de.
 #
 # (C) Copyright 2008
-# Ricardo Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda at uam.es
+# Ricardo Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda at gmail.com
 # Work supported by Qtechnology http://www.qtec.com
 #
 # SPDX-License-Identifier:	GPL-2.0+
board/xilinx/ppc405-generic/xilinx_ppc405_generic.c +1 -1
index e3dd468f1eb3..8b10dbaed149 100644
@@ -1,6 +1,6 @@
 /*
  * (C) Copyright 2008
- * Ricado Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda at uam.es
+ * Ricado Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda at gmail.com
  * This work has been supported by: QTechnology  http://qtec.com/
  *
  * SPDX-License-Identifier:	GPL-2.0+
board/xilinx/ppc405-generic/xparameters.h +1 -1
index f0ff78fca565..e61040785937 100644
@@ -1,6 +1,6 @@
 /*
  * (C) Copyright 2008
- * Ricado Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda at uam.es
+ * Ricado Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda at gmail.com
  * This work has been supported by: QTechnology  http://qtec.com/
  * based on xparameters-ml507.h by Xilinx
  *
board/xilinx/ppc440-generic/MAINTAINERS +1 -1
index 2d0b11af914b..0258c8204ae1 100644
@@ -1,5 +1,5 @@
 PPC440-GENERIC BOARD
-M:	Ricardo Ribalda <[email protected]>
+M:	Ricardo Ribalda <[email protected]>
 S:	Maintained
 F:	board/xilinx/ppc440-generic/
 F:	include/configs/xilinx-ppc440-generic.h
board/xilinx/ppc440-generic/Makefile +1 -1
index 0acd95d6e4e2..5ca57a9b0d54 100644
@@ -3,7 +3,7 @@
 # Wolfgang Denk, DENX Software Engineering, wd at denx.de.
 #
 # (C) Copyright 2008
-# Ricardo Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda at uam.es
+# Ricardo Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda at gmail.com
 # Work supported by Qtechnology http://www.qtec.com
 #
 # SPDX-License-Identifier:	GPL-2.0+
board/xilinx/ppc440-generic/init.S +1 -1
index 4598a376843a..f9ff35f51b7a 100644
@@ -1,6 +1,6 @@
 /*
  *  (C) Copyright 2008
- *  Ricado Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda at uam.es
+ *  Ricado Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda at gmail.com
  *  This work has been supported by: QTechnology  http://qtec.com/
  *
  * SPDX-License-Identifier:	GPL-2.0+
board/xilinx/ppc440-generic/xilinx_ppc440_generic.c +1 -1
index 74df2f4ff785..3718a76f8022 100644
@@ -1,6 +1,6 @@
 /*
  * (C) Copyright 2008
- * Ricado Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda at uam.es
+ * Ricado Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda at gmail.com
  * This work has been supported by: QTechnology  http://qtec.com/
  *
  * SPDX-License-Identifier:	GPL-2.0+
board/xilinx/ppc440-generic/xparameters.h +1 -1
index e30e592bbe12..3c135ec42b37 100644
@@ -1,6 +1,6 @@
 /*
  * (C) Copyright 2008
- * Ricado Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda at uam.es
+ * Ricado Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda at gmail.com
  * This work has been supported by: QTechnology  http://qtec.com/
  * based on xparameters-ml507.h by Xilinx
  *
drivers/hwmon/adt7460.c +1 -1
index fd05c1779482..9b2c5b69ce55 100644
@@ -1,6 +1,6 @@
 /*
  * (C) Copyright 2008
- * Ricado Ribalda-Universidad Autonoma de Madrid, ricardo.ribalda at uam.es
+ * Ricado Ribalda-Universidad Autonoma de Madrid, ricardo.ribalda at gmail.com
  * This work has been supported by: QTechnology  http://qtec.com/
  * SPDX-License-Identifier:	GPL-2.0+
  */
include/configs/xilinx-ppc.h +1 -1
index eb400d096074..876750b13820 100644
@@ -1,6 +1,6 @@
 /*
  * (C) Copyright 2008
- *  Ricado Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda at uam.es
+ *  Ricado Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda at gmail.com
  *  This work has been supported by: QTechnology  http://qtec.com/
  *
  *  (C) Copyright 2008
include/configs/xilinx-ppc405-generic.h +1 -1
index 40fa0878a43f..bdb9372abc45 100644
@@ -1,7 +1,7 @@
 /*
  *
  * (C) Copyright 2008
- * Ricado Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda at uam.es
+ * Ricado Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda at gmail.com
  * This work has been supported by: QTechnology http://qtec.com/
  *
  * (C) Copyright 2008
include/configs/xilinx-ppc405.h +1 -1
index a0151fe8f4cb..dcfe56e0483b 100644
@@ -1,7 +1,7 @@
 /*
  *
  * (C) Copyright 2008
- * Ricado Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda at uam.es
+ * Ricado Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda at gmail.com
  * This work has been supported by: QTechnology http://qtec.com/
  *
  * (C) Copyright 2008
include/configs/xilinx-ppc440-generic.h +1 -1
index 95b883407839..769a1deb8a6f 100644
@@ -1,6 +1,6 @@
 /*
  * (C) Copyright 2008
- *  Ricado Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda at uam.es
+ *  Ricado Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda at gmail.com
  *  This work has been supported by: QTechnology  http://qtec.com/
  * SPDX-License-Identifier:	GPL-2.0+
 */
include/configs/xilinx-ppc440.h +1 -1
index f45700878ecd..f521387d2289 100644
@@ -1,6 +1,6 @@
 /*
  * (C) Copyright 2008
- *  Ricado Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda at uam.es
+ *  Ricado Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda at gmail.com
  *  This work has been supported by: QTechnology  http://qtec.com/
  * SPDX-License-Identifier:	GPL-2.0+
 */
Signature · 1 line
2.7.0.rc3
#17 lore raw

PATCH 5/22 mailaddr: Update mail address

Quoted 18 lines · Ricardo Ribalda Delgado

The old mail address will stop working soon.
Update it all the files

---
 arch/powerpc/cpu/ppc4xx/interrupts.c                | 2 +-
 arch/powerpc/cpu/ppc4xx/uic.c                       | 2 +-
 arch/powerpc/cpu/ppc4xx/xilinx_irq.c                | 2 +-
 arch/powerpc/include/asm/interrupt.h                | 2 +-
 arch/powerpc/include/asm/xilinx_irq.h               | 2 +-
 board/xilinx/ppc405-generic/MAINTAINERS             | 2 +-
 board/xilinx/ppc405-generic/Makefile                | 2 +-
 board/xilinx/ppc405-generic/xilinx_ppc405_generic.c | 2 +-
 board/xilinx/ppc405-generic/xparameters.h           | 2 +-
 board/xilinx/ppc440-generic/MAINTAINERS             | 2 +-
 board/xilinx/ppc440-generic/Makefile                | 2 +-
 board/xilinx/ppc440-generic/init.S                  | 2 +-
 board/xilinx/ppc440-generic/xilinx_ppc440_generic.c | 2 +-
Quoted 9 lines
 board/xilinx/ppc440-generic/xparameters.h           | 2 +-
 drivers/hwmon/adt7460.c                             | 2 +-
 include/configs/xilinx-ppc.h                        | 2 +-
 include/configs/xilinx-ppc405-generic.h             | 2 +-
 include/configs/xilinx-ppc405.h                     | 2 +-
 include/configs/xilinx-ppc440-generic.h             | 2 +-
 include/configs/xilinx-ppc440.h                     | 2 +-
 20 files changed, 20 insertions(+), 20 deletions(-)
#18 lore raw

PATCH 5/22 mailaddr: Update mail address

In reply to Ricardo Ribalda Delgado
Quoted 4 lines · Ricardo Ribalda Delgado

The old mail address will stop working soon.
Update it all the files

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160126/b0812763/attachment.sig>
#19 lore raw

PATCH 6/22 ppc: pp405-generic: Simplify Makefile

In reply to Ricardo Ribalda Delgado

As a result of the specific board removal, the Makefiles can be simplified.

---
 board/xilinx/ppc405-generic/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
board/xilinx/ppc405-generic/Makefile +1 -1
index 922946d72341..2800f6862640 100644
@@ -9,4 +9,4 @@
 # SPDX-License-Identifier:	GPL-2.0+
 #
 
-obj-y	+= ../../xilinx/ppc405-generic/xilinx_ppc405_generic.o
+obj-y	+= xilinx_ppc405_generic.o
Signature · 1 line
2.7.0.rc3
#21 lore raw

PATCH 6/22 ppc: pp405-generic: Simplify Makefile

In reply to Ricardo Ribalda Delgado
Quoted 4 lines · Ricardo Ribalda Delgado

As a result of the specific board removal, the Makefiles can be simplified.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160126/b2f689ed/attachment.sig>
#22 lore raw

PATCH 6/22 ppc: pp405-generic: Simplify Makefile

In reply to Ricardo Ribalda Delgado
Quoted 14 lines · Ricardo Ribalda Delgado

As a result of the specific board removal, the Makefiles can be simplified.

---
  board/xilinx/ppc405-generic/Makefile | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
board/xilinx/ppc405-generic/Makefile +0 -0
index 922946d72341..2800f6862640 100644

board/xilinx/ppc405-generic/Makefile line 12

Quoted 5 lines
board/xilinx/ppc405-generic/Makefile +1 -1
@@ -9,4 +9,4 @@
  # SPDX-License-Identifier:	GPL-2.0+
  #
 
-obj-y	+= ../../xilinx/ppc405-generic/xilinx_ppc405_generic.o
+obj-y	+= xilinx_ppc405_generic.o

Thanks,
Stefan

#23 lore raw

PATCH 7/22 ppc: pp440-generic: Simplify Makefile

In reply to Ricardo Ribalda Delgado

As a result of the specific board removal, the Makefiles can be simplified.

---
 board/xilinx/ppc440-generic/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
board/xilinx/ppc440-generic/Makefile +2 -2
index 5ca57a9b0d54..4d5f41029ac6 100644
@@ -9,5 +9,5 @@
 # SPDX-License-Identifier:	GPL-2.0+
 #
 
-obj-y	+= ../../xilinx/ppc440-generic/xilinx_ppc440_generic.o
-extra-y 	+= ../../xilinx/ppc440-generic/init.o
+obj-y	+= xilinx_ppc440_generic.o
+extra-y += init.o
Signature · 1 line
2.7.0.rc3
#25 lore raw

PATCH 7/22 ppc: pp440-generic: Simplify Makefile

In reply to Ricardo Ribalda Delgado
Quoted 4 lines · Ricardo Ribalda Delgado

As a result of the specific board removal, the Makefiles can be simplified.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160126/f0b8c195/attachment.sig>
#26 lore raw

PATCH 7/22 ppc: pp440-generic: Simplify Makefile

In reply to Ricardo Ribalda Delgado
Quoted 14 lines · Ricardo Ribalda Delgado

As a result of the specific board removal, the Makefiles can be simplified.

---
  board/xilinx/ppc440-generic/Makefile | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
board/xilinx/ppc440-generic/Makefile +0 -0
index 5ca57a9b0d54..4d5f41029ac6 100644

board/xilinx/ppc440-generic/Makefile line 13

Quoted 7 lines
board/xilinx/ppc440-generic/Makefile +2 -2
@@ -9,5 +9,5 @@
  # SPDX-License-Identifier:	GPL-2.0+
  #
 
-obj-y	+= ../../xilinx/ppc440-generic/xilinx_ppc440_generic.o
-extra-y 	+= ../../xilinx/ppc440-generic/init.o
+obj-y	+= xilinx_ppc440_generic.o
+extra-y += init.o

Thanks,
Stefan

#27 lore raw

PATCH 8/22 ppc: ppc440: ppc440-generic_flash_defconfig

In reply to Ricardo Ribalda Delgado

Remove redundant defconfig file. Boot via flash can be configured via Kconfig.

---
 configs/xilinx-ppc440-generic_flash_defconfig | 8 --------
 1 file changed, 8 deletions(-)
 delete mode 100644 configs/xilinx-ppc440-generic_flash_defconfig
configs/xilinx-ppc440-generic_flash_defconfig deleted +0 -8
deleted file mode 100644
index 629903344b77..000000000000
@@ -1,8 +0,0 @@
-CONFIG_PPC=y
-CONFIG_4xx=y
-CONFIG_TARGET_XILINX_PPC440_GENERIC=y
-CONFIG_SYS_EXTRA_OPTIONS="SYS_TEXT_BASE=0xF7F60000,RESET_VECTOR_ADDRESS=0xF7FFFFFC"
-# CONFIG_CMD_IMLS is not set
-# CONFIG_CMD_SETEXPR is not set
-# CONFIG_CMD_NET is not set
-# CONFIG_CMD_NFS is not set
Signature · 1 line
2.7.0.rc3
#28 lore raw

PATCH 8/22 ppc: ppc440: ppc440-generic_flash_defconfig

Quoted 9 lines · Ricardo Ribalda Delgado

Remove redundant defconfig file. Boot via flash can be configured via Kconfig.

---
 configs/xilinx-ppc440-generic_flash_defconfig | 8 --------
 1 file changed, 8 deletions(-)
 delete mode 100644 configs/xilinx-ppc440-generic_flash_defconfig
#29 lore raw

PATCH 8/22 ppc: ppc440: ppc440-generic_flash_defconfig

In reply to Ricardo Ribalda Delgado
Quoted 4 lines · Ricardo Ribalda Delgado

Remove redundant defconfig file. Boot via flash can be configured via Kconfig.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160126/4cbd3d0c/attachment.sig>
#30 lore raw

PATCH 8/22 ppc: ppc440: ppc440-generic_flash_defconfig

In reply to Ricardo Ribalda Delgado
Quoted 16 lines · Ricardo Ribalda Delgado

Remove redundant defconfig file. Boot via flash can be configured via Kconfig.

---
  configs/xilinx-ppc440-generic_flash_defconfig | 8 --------
  1 file changed, 8 deletions(-)

delete mode 100644 configs/xilinx-ppc440-generic_flash_defconfig

configs/xilinx-ppc440-generic_flash_defconfig deleted +0 -0
deleted file mode 100644
index 629903344b77..000000000000

configs/xilinx-ppc440-generic_flash_defconfig line 8

Quoted 8 lines
configs/xilinx-ppc440-generic_flash_defconfig deleted +0 -8
@@ -1,8 +0,0 @@
-CONFIG_PPC=y
-CONFIG_4xx=y
-CONFIG_TARGET_XILINX_PPC440_GENERIC=y
-CONFIG_SYS_EXTRA_OPTIONS="SYS_TEXT_BASE=0xF7F60000,RESET_VECTOR_ADDRESS=0xF7FFFFFC"
-# CONFIG_CMD_IMLS is not set
-# CONFIG_CMD_SETEXPR is not set
-# CONFIG_CMD_NET is not set
-# CONFIG_CMD_NFS is not set

Thanks,
Stefan

#31 lore raw

PATCH 8/22 ppc: ppc440: ppc440-generic_flash_defconfig

In reply to Ricardo Ribalda Delgado
Quoted 16 lines · Ricardo Ribalda Delgado

Remove redundant defconfig file. Boot via flash can be configured via Kconfig.

---
  configs/xilinx-ppc440-generic_flash_defconfig | 8 --------
  1 file changed, 8 deletions(-)

delete mode 100644 configs/xilinx-ppc440-generic_flash_defconfig

configs/xilinx-ppc440-generic_flash_defconfig deleted +0 -0
deleted file mode 100644
index 629903344b77..000000000000

configs/xilinx-ppc440-generic_flash_defconfig line 8

Quoted 8 lines
configs/xilinx-ppc440-generic_flash_defconfig deleted +0 -8
@@ -1,8 +0,0 @@
-CONFIG_PPC=y
-CONFIG_4xx=y
-CONFIG_TARGET_XILINX_PPC440_GENERIC=y
-CONFIG_SYS_EXTRA_OPTIONS="SYS_TEXT_BASE=0xF7F60000,RESET_VECTOR_ADDRESS=0xF7FFFFFC"
-# CONFIG_CMD_IMLS is not set
-# CONFIG_CMD_SETEXPR is not set
-# CONFIG_CMD_NET is not set
-# CONFIG_CMD_NFS is not set

Thanks,
Stefan

#32 lore raw

PATCH 9/22 ppc: ppc405: ppc405-generic_flash_defconfig

In reply to Ricardo Ribalda Delgado

Remove redundant defconfig file. Boot via flash can be configured via Kconfig.

---
 configs/xilinx-ppc405-generic_flash_defconfig | 8 --------
 1 file changed, 8 deletions(-)
 delete mode 100644 configs/xilinx-ppc405-generic_flash_defconfig
configs/xilinx-ppc405-generic_flash_defconfig deleted +0 -8
deleted file mode 100644
index 37084fb0a82d..000000000000
@@ -1,8 +0,0 @@
-CONFIG_PPC=y
-CONFIG_4xx=y
-CONFIG_TARGET_XILINX_PPC405_GENERIC=y
-CONFIG_SYS_EXTRA_OPTIONS="SYS_TEXT_BASE=0xF7F60000,RESET_VECTOR_ADDRESS=0xF7FFFFFC"
-# CONFIG_CMD_IMLS is not set
-# CONFIG_CMD_SETEXPR is not set
-# CONFIG_CMD_NET is not set
-# CONFIG_CMD_NFS is not set
Signature · 1 line
2.7.0.rc3
#33 lore raw

PATCH 9/22 ppc: ppc405: ppc405-generic_flash_defconfig

Quoted 9 lines · Ricardo Ribalda Delgado

Remove redundant defconfig file. Boot via flash can be configured via Kconfig.

---
 configs/xilinx-ppc405-generic_flash_defconfig | 8 --------
 1 file changed, 8 deletions(-)
 delete mode 100644 configs/xilinx-ppc405-generic_flash_defconfig
#34 lore raw

PATCH 9/22 ppc: ppc405: ppc405-generic_flash_defconfig

In reply to Ricardo Ribalda Delgado
Quoted 4 lines · Ricardo Ribalda Delgado

Remove redundant defconfig file. Boot via flash can be configured via Kconfig.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160126/5756c5ed/attachment.sig>
#35 lore raw

PATCH 9/22 ppc: ppc405: ppc405-generic_flash_defconfig

In reply to Ricardo Ribalda Delgado
Quoted 16 lines · Ricardo Ribalda Delgado

Remove redundant defconfig file. Boot via flash can be configured via Kconfig.

---
  configs/xilinx-ppc405-generic_flash_defconfig | 8 --------
  1 file changed, 8 deletions(-)

delete mode 100644 configs/xilinx-ppc405-generic_flash_defconfig

configs/xilinx-ppc405-generic_flash_defconfig deleted +0 -0
deleted file mode 100644
index 37084fb0a82d..000000000000

configs/xilinx-ppc405-generic_flash_defconfig line 8

Quoted 8 lines
configs/xilinx-ppc405-generic_flash_defconfig deleted +0 -8
@@ -1,8 +0,0 @@
-CONFIG_PPC=y
-CONFIG_4xx=y
-CONFIG_TARGET_XILINX_PPC405_GENERIC=y
-CONFIG_SYS_EXTRA_OPTIONS="SYS_TEXT_BASE=0xF7F60000,RESET_VECTOR_ADDRESS=0xF7FFFFFC"
-# CONFIG_CMD_IMLS is not set
-# CONFIG_CMD_SETEXPR is not set
-# CONFIG_CMD_NET is not set
-# CONFIG_CMD_NFS is not set

Thanks,
Stefan

#36 lore raw

PATCH 10/22 ppc: xilinx-ppc440-generic: Cleanout header files

In reply to Ricardo Ribalda Delgado

Now that there is only one header file for all ppc440 files, merge header files.

---
 include/configs/xilinx-ppc440-generic.h |  3 ++-
 include/configs/xilinx-ppc440.h         | 17 -----------------
 2 files changed, 2 insertions(+), 18 deletions(-)
 delete mode 100644 include/configs/xilinx-ppc440.h
include/configs/xilinx-ppc440-generic.h +2 -1
index 769a1deb8a6f..47bc4aec148e 100644
@@ -10,6 +10,7 @@
 
 /*CPU*/
 #define CONFIG_440			1
+#define CONFIG_XILINX_440		1
 #define CONFIG_XILINX_PPC440_GENERIC	1
 #include "../board/xilinx/ppc440-generic/xparameters.h"
 
@@ -33,6 +34,6 @@
 #define MTDPARTS_DEFAULT	"mtdparts=ml507-flash:-(user)"
 
 /*Generic Configs*/
-#include <configs/xilinx-ppc440.h>
+#include <configs/xilinx-ppc.h>
 
 #endif						/* __CONFIG_H */
include/configs/xilinx-ppc440.h deleted +0 -17
deleted file mode 100644
index f521387d2289..000000000000
@@ -1,17 +0,0 @@
-/*
- * (C) Copyright 2008
- *  Ricado Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda at gmail.com
- *  This work has been supported by: QTechnology  http://qtec.com/
- * SPDX-License-Identifier:	GPL-2.0+
-*/
-
-#ifndef __CONFIG_GEN_H
-#define __CONFIG_GEN_H
-
-/*CPU*/
-#define CONFIG_440		1
-#define CONFIG_XILINX_440	1
-
-#include <configs/xilinx-ppc.h>
-
-#endif						/* __CONFIG_H */
Signature · 1 line
2.7.0.rc3
#37 lore raw

PATCH 10/22 ppc: xilinx-ppc440-generic: Cleanout header files

Quoted 10 lines · Ricardo Ribalda Delgado

Now that there is only one header file for all ppc440 files, merge header files.

---
 include/configs/xilinx-ppc440-generic.h |  3 ++-
 include/configs/xilinx-ppc440.h         | 17 -----------------
 2 files changed, 2 insertions(+), 18 deletions(-)
 delete mode 100644 include/configs/xilinx-ppc440.h
#38 lore raw

PATCH 10/22 ppc: xilinx-ppc440-generic: Cleanout header files

In reply to Ricardo Ribalda Delgado
Quoted 4 lines · Ricardo Ribalda Delgado

Now that there is only one header file for all ppc440 files, merge header files.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160126/fe1856b1/attachment.sig>
#40 lore raw

PATCH 11/22 ppc: xilinx-ppc405-generic: Cleanout header files

In reply to Ricardo Ribalda Delgado

Now that there is only one header file for all ppc405 files, merge header files.

---
 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
include/configs/xilinx-ppc405-generic.h +4 -1
index bdb9372abc45..e2d189d0ac60 100644
@@ -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 */
include/configs/xilinx-ppc405.h deleted +0 -22
deleted file mode 100644
index dcfe56e0483b..000000000000
@@ -1,22 +0,0 @@
-/*
- *
- * (C) Copyright 2008
- * Ricado Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda at gmail.com
- * This work has been supported by: QTechnology http://qtec.com/
- *
- * (C) Copyright 2008
- * Georg Schardt <[email protected]>
- *
- * 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
Signature · 1 line
2.7.0.rc3
#41 lore raw

PATCH 11/22 ppc: xilinx-ppc405-generic: Cleanout header files

Quoted 10 lines · Ricardo Ribalda Delgado

Now that there is only one header file for all ppc405 files, merge header files.

---
 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
#42 lore raw

PATCH 11/22 ppc: xilinx-ppc405-generic: Cleanout header files

In reply to Ricardo Ribalda Delgado
Quoted 4 lines · Ricardo Ribalda Delgado

Now that there is only one header file for all ppc405 files, merge header files.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160126/6577758a/attachment.sig>
#44 lore raw

PATCH 12/22 ppc: xilinx-ppc4xx-generic: Update xparameters.h

In reply to Ricardo Ribalda Delgado

-Remove UART address (It is now part of the dts).
-Include dummy ns16550 clock
-Fix address to last test

---
 board/xilinx/ppc405-generic/xparameters.h | 5 ++---
 board/xilinx/ppc440-generic/xparameters.h | 9 ++++-----
 2 files changed, 6 insertions(+), 8 deletions(-)
board/xilinx/ppc405-generic/xparameters.h +2 -3
index e61040785937..c3df9e51091f 100644
@@ -14,12 +14,11 @@
 #define XPAR_IIC_EEPROM_BASEADDR	0x81600000
 #define XPAR_INTC_0_BASEADDR		0x81800000
 #define XPAR_SPI_0_BASEADDR             0x83400000
-#define XPAR_UARTLITE_0_BASEADDR	0x84000000
 #define XPAR_FLASH_MEM0_BASEADDR	0xFE000000
 #define XPAR_PLB_CLOCK_FREQ_HZ		100000000
 #define XPAR_CORE_CLOCK_FREQ_HZ		400000000
-#define XPAR_INTC_MAX_NUM_INTR_INPUTS	13
-#define XPAR_UARTLITE_0_BAUDRATE	9600
+#define XPAR_INTC_MAX_NUM_INTR_INPUTS	32
 #define XPAR_SPI_0_NUM_TRANSFER_BITS	8
+#define XPAR_UARTNS550_0_CLOCK_FREQ_HZ	100000000
 
 #endif
board/xilinx/ppc440-generic/xparameters.h +4 -5
index 3c135ec42b37..9685560673ab 100644
@@ -12,12 +12,11 @@
 
 #define XPAR_DDR2_SDRAM_MEM_BASEADDR	0x00000000
 #define XPAR_IIC_EEPROM_BASEADDR	0x81600000
-#define XPAR_INTC_0_BASEADDR		0x81800000
-#define XPAR_UARTLITE_0_BASEADDR	0x84000000
-#define XPAR_FLASH_MEM0_BASEADDR	0xFE000000
+#define XPAR_INTC_0_BASEADDR		0x87000000
+#define XPAR_FLASH_MEM0_BASEADDR	0xF0000000
 #define XPAR_PLB_CLOCK_FREQ_HZ		100000000
 #define XPAR_CORE_CLOCK_FREQ_HZ		400000000
-#define XPAR_INTC_MAX_NUM_INTR_INPUTS	13
-#define XPAR_UARTLITE_0_BAUDRATE	9600
+#define XPAR_INTC_MAX_NUM_INTR_INPUTS	32
+#define XPAR_UARTNS550_0_CLOCK_FREQ_HZ	100000000
 
 #endif
Signature · 1 line
2.7.0.rc3
#46 lore raw

PATCH 13/22 ppc: dts: Add device tree for xilix-ppc4xx-generic

In reply to Ricardo Ribalda Delgado

Add device tree example file for xilinx-ppc440-generic and xilinx-ppc405-generic

---
 arch/powerpc/dts/Makefile                  |  2 ++
 arch/powerpc/dts/xilinx-ppc405-generic.dts | 13 +++++++++++++
 arch/powerpc/dts/xilinx-ppc440-generic.dts | 13 +++++++++++++
 3 files changed, 28 insertions(+)
 create mode 100644 arch/powerpc/dts/xilinx-ppc405-generic.dts
 create mode 100644 arch/powerpc/dts/xilinx-ppc440-generic.dts
arch/powerpc/dts/Makefile +2 -0
index 5d9f5c2822b2..80b4c0c4e374 100644
@@ -3,6 +3,8 @@
 #
 
 dtb-$(CONFIG_TARGET_CANYONLANDS) += arches.dtb canyonlands.dtb glacier.dtb
+dtb-$(CONFIG_TARGET_XILINX_PPC440_GENERIC) += xilinx-ppc440-generic.dtb
+dtb-$(CONFIG_TARGET_XILINX_PPC405_GENERIC) += xilinx-ppc405-generic.dtb
 
 targets += $(dtb-y)
 
arch/powerpc/dts/xilinx-ppc405-generic.dts new file +13 -0
new file mode 100644
index 000000000000..23c89335831e
@@ -0,0 +1,13 @@
+/dts-v1/;
+/ {
+	#address-cells = <1>;
+	#size-cells = <1>;
+	aliases {
+		console = &uart0;
+	} ;
+	uart0: serial at 84000000 {
+		compatible = "xlnx,xps-uartlite-1.00.a";
+		interrupts = <0 0>;
+		reg = <0x84000000 0x10000>;
+	};
+} ;
arch/powerpc/dts/xilinx-ppc440-generic.dts new file +13 -0
new file mode 100644
index 000000000000..faae9fffcd0e
@@ -0,0 +1,13 @@
+/dts-v1/;
+/ {
+	#address-cells = <1>;
+	#size-cells = <1>;
+	aliases {
+		console = &uart0;
+	} ;
+	uart0: serial at 8b000000 {
+		compatible = "xlnx,xps-uartlite-1.00.a";
+		interrupts = <0 0>;
+		reg = <0x8b000000 0x10000>;
+	};
+} ;
Signature · 1 line
2.7.0.rc3
#47 lore raw

PATCH 13/22 ppc: dts: Add device tree for xilix-ppc4xx-generic

Hi Ricardo,

Quoted 31 lines · Ricardo Ribalda Delgado

Add device tree example file for xilinx-ppc440-generic and xilinx-ppc405-generic

---
 arch/powerpc/dts/Makefile                  |  2 ++
 arch/powerpc/dts/xilinx-ppc405-generic.dts | 13 +++++++++++++
 arch/powerpc/dts/xilinx-ppc440-generic.dts | 13 +++++++++++++
 3 files changed, 28 insertions(+)
 create mode 100644 arch/powerpc/dts/xilinx-ppc405-generic.dts
 create mode 100644 arch/powerpc/dts/xilinx-ppc440-generic.dts
arch/powerpc/dts/Makefile +2 -0
index 5d9f5c2822b2..80b4c0c4e374 100644
@@ -3,6 +3,8 @@
 #
 
 dtb-$(CONFIG_TARGET_CANYONLANDS) += arches.dtb canyonlands.dtb glacier.dtb
+dtb-$(CONFIG_TARGET_XILINX_PPC440_GENERIC) += xilinx-ppc440-generic.dtb
+dtb-$(CONFIG_TARGET_XILINX_PPC405_GENERIC) += xilinx-ppc405-generic.dtb
 
 targets += $(dtb-y)
 
arch/powerpc/dts/xilinx-ppc405-generic.dts new file +0 -0
new file mode 100644
index 000000000000..23c89335831e

arch/powerpc/dts/xilinx-ppc405-generic.dts line 1

Quoted 1 line
arch/powerpc/dts/xilinx-ppc405-generic.dts new file +1 -0
@@ -0,0 +1,13 @@
+/dts-v1/;

nits: should have a blank line here

arch/powerpc/dts/xilinx-ppc405-generic.dts line 4

Quoted 3 lines
arch/powerpc/dts/xilinx-ppc405-generic.dts new file +3 -0
+/ {
+       #address-cells = <1>;
+       #size-cells = <1>;

nits: ditto

arch/powerpc/dts/xilinx-ppc405-generic.dts line 7

Quoted 3 lines
arch/powerpc/dts/xilinx-ppc405-generic.dts new file +3 -0
+       aliases {
+               console = &uart0;
+       } ;

nits: ditto

Quoted 16 lines
arch/powerpc/dts/xilinx-ppc405-generic.dts new file +6 -0
+       uart0: serial at 84000000 {
+               compatible = "xlnx,xps-uartlite-1.00.a";
+               interrupts = <0 0>;
+               reg = <0x84000000 0x10000>;
+       };
+} ;
arch/powerpc/dts/xilinx-ppc440-generic.dts new file +4 -0
new file mode 100644
index 000000000000..faae9fffcd0e
@@ -0,0 +1,13 @@
+/dts-v1/;
+/ {
+       #address-cells = <1>;
+       #size-cells = <1>;

arch/powerpc/dts/xilinx-ppc440-generic.dts

Quoted 10 lines
arch/powerpc/dts/xilinx-ppc440-generic.dts new file +9 -1
+       aliases {
+               console = &uart0;
+       } ;
+       uart0: serial at 8b000000 {
+               compatible = "xlnx,xps-uartlite-1.00.a";
+               interrupts = <0 0>;
+               reg = <0x8b000000 0x10000>;
+       };
+} ;
--

BTW no /chosen node?

Regards,
Bin

#48 lore raw

PATCH 13/22 ppc: dts: Add device tree for xilix-ppc4xx-generic

Quoted 71 lines · Bin Meng

Hi Ricardo,

Quoted 31 lines · Ricardo Ribalda Delgado

Add device tree example file for xilinx-ppc440-generic and xilinx-ppc405-generic

---
 arch/powerpc/dts/Makefile                  |  2 ++
 arch/powerpc/dts/xilinx-ppc405-generic.dts | 13 +++++++++++++
 arch/powerpc/dts/xilinx-ppc440-generic.dts | 13 +++++++++++++
 3 files changed, 28 insertions(+)
 create mode 100644 arch/powerpc/dts/xilinx-ppc405-generic.dts
 create mode 100644 arch/powerpc/dts/xilinx-ppc440-generic.dts
arch/powerpc/dts/Makefile +2 -0
index 5d9f5c2822b2..80b4c0c4e374 100644
@@ -3,6 +3,8 @@
 #
 
 dtb-$(CONFIG_TARGET_CANYONLANDS) += arches.dtb canyonlands.dtb glacier.dtb
+dtb-$(CONFIG_TARGET_XILINX_PPC440_GENERIC) += xilinx-ppc440-generic.dtb
+dtb-$(CONFIG_TARGET_XILINX_PPC405_GENERIC) += xilinx-ppc405-generic.dtb
 
 targets += $(dtb-y)
 
arch/powerpc/dts/xilinx-ppc405-generic.dts new file +0 -0
new file mode 100644
index 000000000000..23c89335831e

arch/powerpc/dts/xilinx-ppc405-generic.dts line 1

Quoted 1 line
arch/powerpc/dts/xilinx-ppc405-generic.dts new file +1 -0
@@ -0,0 +1,13 @@
+/dts-v1/;

nits: should have a blank line here

arch/powerpc/dts/xilinx-ppc405-generic.dts line 4

Quoted 3 lines
arch/powerpc/dts/xilinx-ppc405-generic.dts new file +3 -0
+/ {
+       #address-cells = <1>;
+       #size-cells = <1>;

nits: ditto

arch/powerpc/dts/xilinx-ppc405-generic.dts line 7

Quoted 3 lines
arch/powerpc/dts/xilinx-ppc405-generic.dts new file +3 -0
+       aliases {
+               console = &uart0;
+       } ;

nits: ditto

Quoted 20 lines
arch/powerpc/dts/xilinx-ppc405-generic.dts new file +6 -0
+       uart0: serial at 84000000 {
+               compatible = "xlnx,xps-uartlite-1.00.a";
+               interrupts = <0 0>;
+               reg = <0x84000000 0x10000>;
+       };
+} ;
arch/powerpc/dts/xilinx-ppc440-generic.dts new file +8 -0
new file mode 100644
index 000000000000..faae9fffcd0e
@@ -0,0 +1,13 @@
+/dts-v1/;
+/ {
+       #address-cells = <1>;
+       #size-cells = <1>;
+       aliases {
+               console = &uart0;
+       } ;
+       uart0: serial at 8b000000 {
Quoted 8 lines

arch/powerpc/dts/xilinx-ppc440-generic.dts

Quoted 6 lines
arch/powerpc/dts/xilinx-ppc440-generic.dts new file +5 -1
+               compatible = "xlnx,xps-uartlite-1.00.a";
+               interrupts = <0 0>;
+               reg = <0x8b000000 0x10000>;
+       };
+} ;
--

BTW no /chosen node?

Apparently it is not needed

Quoted 3 lines

Regards,
Bin

Signature · 1 line
Ricardo Ribalda
#50 lore raw

PATCH 14/22 configs/xilinx-ppc405-generic: Typos and size

In reply to Ricardo Ribalda Delgado

-Fix typos (runnining -> running)
-Increase default size

---
 include/configs/xilinx-ppc405-generic.h | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
include/configs/xilinx-ppc405-generic.h +6 -6
index e2d189d0ac60..6182b0e7cf05 100644
@@ -29,16 +29,16 @@
 #define CONFIG_ENV_OVERWRITE		1
 
 /*Misc*/
-#define CONFIG_PREBOOT		"echo U-Boot is up and runnining;"
+#define CONFIG_PREBOOT		"echo U-Boot is up and running;"
 
 /*Flash*/
-#define CONFIG_SYS_FLASH_BASE			XPAR_FLASH_MEM0_BASEADDR
-#define CONFIG_SYS_FLASH_SIZE		(32*1024*1024)
-#define CONFIG_SYS_MAX_FLASH_SECT	71
+#define CONFIG_SYS_FLASH_BASE		XPAR_FLASH_MEM0_BASEADDR
+#define CONFIG_SYS_FLASH_SIZE		(128*1024*1024)
+#define CONFIG_SYS_MAX_FLASH_SECT	1024
 #define CONFIG_SYS_FLASH_CFI		1
 #define CONFIG_FLASH_CFI_DRIVER		1
-#define MTDIDS_DEFAULT			"nor0=ppc405-flash"
-#define MTDPARTS_DEFAULT		"mtdpartsa=ppc405-flash:-(user)"
+#define MTDIDS_DEFAULT			"nor0=flash"
+#define MTDPARTS_DEFAULT		"mtdparts=flash:-(user)"
 
 #include <configs/xilinx-ppc.h>
 #endif			/* __CONFIG_H */
Signature · 1 line
2.7.0.rc3
#52 lore raw

PATCH 15/22 configs/xilinx-ppc440-generic: Typos and size

In reply to Ricardo Ribalda Delgado

-Fix typos (runnining -> running)
-Increase default size

---
 include/configs/xilinx-ppc440-generic.h | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
include/configs/xilinx-ppc440-generic.h +6 -6
index 47bc4aec148e..2af5f7fc1de5 100644
@@ -21,17 +21,17 @@
 #define	CONFIG_ENV_IS_IN_FLASH	1
 #define	CONFIG_ENV_SIZE		0x20000
 #define	CONFIG_ENV_SECT_SIZE	0x20000
-#define CONFIG_ENV_OFFSET		0x340000
+#define CONFIG_ENV_OFFSET	0x340000
 #define CONFIG_ENV_ADDR		(XPAR_FLASH_MEM0_BASEADDR+CONFIG_ENV_OFFSET)
 
 /*Misc*/
-#define CONFIG_PREBOOT		"echo U-Boot is up and runnining;"
+#define CONFIG_PREBOOT		"echo U-Boot is up and running;"
 
 /*Flash*/
-#define	CONFIG_SYS_FLASH_SIZE		(32*1024*1024)
-#define	CONFIG_SYS_MAX_FLASH_SECT	259
-#define MTDIDS_DEFAULT		"nor0=ml507-flash"
-#define MTDPARTS_DEFAULT	"mtdparts=ml507-flash:-(user)"
+#define	CONFIG_SYS_FLASH_SIZE		(128*1024*1024)
+#define	CONFIG_SYS_MAX_FLASH_SECT	1024
+#define MTDIDS_DEFAULT			"nor0=flash"
+#define MTDPARTS_DEFAULT		"mtdparts=flash:-(user)"
 
 /*Generic Configs*/
 #include <configs/xilinx-ppc.h>
Signature · 1 line
2.7.0.rc3
#54 lore raw

PATCH 16/22 ppc: xilinx-ppc4xx: Port to DM serial

In reply to Ricardo Ribalda Delgado

xilinx_uartlite has been ported to DM, this patch makes the xilinx-ppc405-generic and the xilinx-ppc440-generic boards use the new DM driver.

---
 arch/powerpc/cpu/ppc4xx/Kconfig                     |  8 ++++++++
 board/xilinx/ppc405-generic/xilinx_ppc405_generic.c |  4 ++++
 board/xilinx/ppc440-generic/xilinx_ppc440_generic.c |  4 ++++
 configs/xilinx-ppc405-generic_defconfig             |  8 ++++++++
 configs/xilinx-ppc440-generic_defconfig             | 12 ++++++++----
 drivers/serial/Kconfig                              |  2 +-
 include/configs/xilinx-ppc.h                        | 20 ++++----------------
 7 files changed, 37 insertions(+), 21 deletions(-)
arch/powerpc/cpu/ppc4xx/Kconfig +8 -0
index 3959585d44c3..36af1b9419b0 100644
@@ -111,9 +111,17 @@ config TARGET_XPEDITE1000
 
 config TARGET_XILINX_PPC405_GENERIC
 	bool "Support xilinx-ppc405-generic"
+	select SUPPORT_SPL
+	select OF_CONTROL
+	select DM
+	select DM_SERIAL
 
 config TARGET_XILINX_PPC440_GENERIC
 	bool "Support xilinx-ppc440-generic"
+	select SUPPORT_SPL
+	select OF_CONTROL
+	select DM
+	select DM_SERIAL
 
 endchoice
 
board/xilinx/ppc405-generic/xilinx_ppc405_generic.c +4 -0
index 8b10dbaed149..32105a823b0b 100644
@@ -46,3 +46,7 @@ void __get_sys_info(sys_info_t *sysInfo)
 	return;
 }
 void get_sys_info(sys_info_t *) __attribute__((weak, alias("__get_sys_info")));
+
+int get_serial_clock(void){
+	return XPAR_UARTNS550_0_CLOCK_FREQ_HZ;
+}
board/xilinx/ppc440-generic/xilinx_ppc440_generic.c +4 -0
index 3718a76f8022..f92a3033e14d 100644
@@ -39,3 +39,7 @@ void __get_sys_info(sys_info_t *sysInfo)
 	return;
 }
 void get_sys_info(sys_info_t *) __attribute__((weak, alias("__get_sys_info")));
+
+int get_serial_clock(void){
+	return XPAR_UARTNS550_0_CLOCK_FREQ_HZ;
+}
configs/xilinx-ppc405-generic_defconfig +8 -0
index 53fafc324e68..e7132cd61152 100644
@@ -7,3 +7,11 @@ CONFIG_SYS_PROMPT="xlx-ppc405:/# "
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NET is not set
 # CONFIG_CMD_NFS is not set
+CONFIG_SYS_MALLOC_SIMPLE=y
+CONFIG_XILINX_UARTLITE=y
+CONFIG_SYS_NS16550=y
+CONFIG_OF_EMBED=y
+CONFIG_OF_CONTROL=y
+CONFIG_FIT=y
+CONFIG_FIT_VERBOSE=y
+CONFIG_DEFAULT_DEVICE_TREE="xilinx-ppc440-generic"
configs/xilinx-ppc440-generic_defconfig +8 -4
index 79be48a9955e..c66357e08724 100644
@@ -3,7 +3,11 @@ CONFIG_4xx=y
 CONFIG_TARGET_XILINX_PPC440_GENERIC=y
 CONFIG_SYS_EXTRA_OPTIONS="SYS_TEXT_BASE=0x04000000,RESET_VECTOR_ADDRESS=0x04100000,BOOT_FROM_XMD=1"
 CONFIG_SYS_PROMPT="board:/# "
-# CONFIG_CMD_IMLS is not set
-# CONFIG_CMD_SETEXPR is not set
-# CONFIG_CMD_NET is not set
-# CONFIG_CMD_NFS is not set
+CONFIG_SYS_MALLOC_SIMPLE=y
+CONFIG_XILINX_UARTLITE=y
+CONFIG_SYS_NS16550=y
+CONFIG_OF_EMBED=y
+CONFIG_OF_CONTROL=y
+CONFIG_FIT=y
+CONFIG_FIT_VERBOSE=y
+CONFIG_DEFAULT_DEVICE_TREE="xilinx-ppc440-generic"
drivers/serial/Kconfig +1 -1
index 82f52dd12330..197686483cc7 100644
@@ -252,7 +252,7 @@ config UNIPHIER_SERIAL
 
 config XILINX_UARTLITE
 	bool "Xilinx Uarlite support"
-	depends on DM_SERIAL && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP)
+	depends on DM_SERIAL && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP || 4xx)
 	help
 	  If you have a Xilinx based board and want to use the uartlite
 	  serial ports, say Y to this option. If unsure, say N.
include/configs/xilinx-ppc.h +4 -16
index 876750b13820..d01d88b33f4d 100644
@@ -101,22 +101,10 @@
 #define CONFIG_SYS_NO_FLASH
 #endif
 
-/* serial communication */
-#ifdef XPAR_UARTLITE_0_BASEADDR
-#define CONFIG_XILINX_UARTLITE
-#define XILINX_UARTLITE_BASEADDR	XPAR_UARTLITE_0_BASEADDR
-#define CONFIG_BAUDRATE			XPAR_UARTLITE_0_BAUDRATE
-#define CONFIG_SYS_BAUDRATE_TABLE	{ CONFIG_BAUDRATE }
-#else
-#ifdef XPAR_UARTNS550_0_BASEADDR
-#define CONFIG_SYS_NS16550_SERIAL
-#define CONFIG_SYS_NS16550_REG_SIZE	4
-#define CONFIG_CONS_INDEX		1
-#define CONFIG_SYS_NS16550_COM1		XPAR_UARTNS550_0_BASEADDR
-#define CONFIG_SYS_NS16550_CLK		XPAR_UARTNS550_0_CLOCK_FREQ_HZ
+#define CONFIG_OF_LIBFDT       1
 #define CONFIG_BAUDRATE			115200
-#define CONFIG_SYS_BAUDRATE_TABLE	{ 9600, 115200 }
-#endif
-#endif
+/* The following table includes the supported baudrates */
+# define CONFIG_SYS_BAUDRATE_TABLE \
+	{300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200, 230400}
 
 #endif						/* __CONFIG_H */
Signature · 1 line
2.7.0.rc3
#56 lore raw

PATCH 17/22 ppc: xilinx_ppc405_generic: Remove weak attributes

In reply to Ricardo Ribalda Delgado

Now that the specific boards have been removed there is no need to maintain the weak functions.

Fix also CamelCase to make checkpatch happy

---
 .../xilinx/ppc405-generic/xilinx_ppc405_generic.c  | 22 ++++++++--------------
 1 file changed, 8 insertions(+), 14 deletions(-)
board/xilinx/ppc405-generic/xilinx_ppc405_generic.c +8 -14
index 32105a823b0b..5c19ac0e6a34 100644
@@ -10,42 +10,36 @@
 #include <common.h>
 #include <asm/processor.h>
 
-ulong __get_PCI_freq(void)
+ulong get_PCI_freq(void)
 {
 	return 0;
 }
 
-ulong get_PCI_freq(void) __attribute__((weak, alias("__get_PCI_freq")));
-
-int __board_pre_init(void)
+int board_pre_init(void)
 {
 	return 0;
 }
-int board_pre_init(void) __attribute__((weak, alias("__board_pre_init")));
 
-int __checkboard(void)
+int checkboard(void)
 {
 	puts("Xilinx PPC405 Generic Board\n");
 	return 0;
 }
-int checkboard(void) __attribute__((weak, alias("__checkboard")));
 
-phys_size_t __initdram(int board_type)
+phys_size_t initdram(int board_type)
 {
 	return get_ram_size(XPAR_DDR2_SDRAM_MEM_BASEADDR,
 			    CONFIG_SYS_SDRAM_SIZE_MB * 1024 * 1024);
 }
-phys_size_t initdram(int) __attribute__((weak, alias("__initdram")));
 
-void __get_sys_info(sys_info_t *sysInfo)
+void get_sys_info(sys_info_t *sys_info)
 {
-	sysInfo->freqProcessor = XPAR_CORE_CLOCK_FREQ_HZ;
-	sysInfo->freqPLB = XPAR_PLB_CLOCK_FREQ_HZ;
-	sysInfo->freqPCI = 0;
+	sys_info->freqProcessor = XPAR_CORE_CLOCK_FREQ_HZ;
+	sys_info->freqPLB = XPAR_PLB_CLOCK_FREQ_HZ;
+	sys_info->freqPCI = 0;
 
 	return;
 }
-void get_sys_info(sys_info_t *) __attribute__((weak, alias("__get_sys_info")));
 
 int get_serial_clock(void){
 	return XPAR_UARTNS550_0_CLOCK_FREQ_HZ;
Signature · 1 line
2.7.0.rc3
#57 lore raw

PATCH 17/22 ppc: xilinx_ppc405_generic: Remove weak attributes

Quoted 10 lines · Ricardo Ribalda Delgado

Now that the specific boards have been removed there is no need to maintain the weak functions.

Fix also CamelCase to make checkpatch happy

---
 .../xilinx/ppc405-generic/xilinx_ppc405_generic.c  | 22 ++++++++--------------
 1 file changed, 8 insertions(+), 14 deletions(-)
#58 lore raw

PATCH 17/22 ppc: xilinx_ppc405_generic: Remove weak attributes

In reply to Ricardo Ribalda Delgado
Quoted 6 lines · Ricardo Ribalda Delgado

Now that the specific boards have been removed there is no need to maintain the weak functions.

Fix also CamelCase to make checkpatch happy

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160126/1de04376/attachment.sig>
#60 lore raw

PATCH 18/22 ppc: xilinx_ppc440_generic: Remove weak attributes

In reply to Ricardo Ribalda Delgado

Now that the specific boards have been removed there is no need to maintain the weak functions.

Fix also CamelCase to make checkpatch happy

---
 board/xilinx/ppc440-generic/xilinx_ppc440_generic.c | 18 +++++++-----------
 1 file changed, 7 insertions(+), 11 deletions(-)
board/xilinx/ppc440-generic/xilinx_ppc440_generic.c +7 -11
index f92a3033e14d..52c63f20583e 100644
@@ -10,35 +10,31 @@
 #include <common.h>
 #include <asm/processor.h>
 
-int __board_pre_init(void)
+int board_pre_init(void)
 {
 	return 0;
 }
-int board_pre_init(void) __attribute__((weak, alias("__board_pre_init")));
 
-int __checkboard(void)
+int checkboard(void)
 {
 	puts("Xilinx PPC440 Generic Board\n");
 	return 0;
 }
-int checkboard(void) __attribute__((weak, alias("__checkboard")));
 
-phys_size_t __initdram(int board_type)
+phys_size_t initdram(int board_type)
 {
 	return get_ram_size(XPAR_DDR2_SDRAM_MEM_BASEADDR,
 			    CONFIG_SYS_SDRAM_SIZE_MB * 1024 * 1024);
 }
-phys_size_t initdram(int) __attribute__((weak, alias("__initdram")));
 
-void __get_sys_info(sys_info_t *sysInfo)
+void get_sys_info(sys_info_t *sys_info)
 {
-	sysInfo->freqProcessor = XPAR_CORE_CLOCK_FREQ_HZ;
-	sysInfo->freqPLB = XPAR_PLB_CLOCK_FREQ_HZ;
-	sysInfo->freqPCI = 0;
+	sys_info->freqProcessor = XPAR_CORE_CLOCK_FREQ_HZ;
+	sys_info->freqPLB = XPAR_PLB_CLOCK_FREQ_HZ;
+	sys_info->freqPCI = 0;
 
 	return;
 }
-void get_sys_info(sys_info_t *) __attribute__((weak, alias("__get_sys_info")));
 
 int get_serial_clock(void){
 	return XPAR_UARTNS550_0_CLOCK_FREQ_HZ;
Signature · 1 line
2.7.0.rc3
#61 lore raw

PATCH 18/22 ppc: xilinx_ppc440_generic: Remove weak attributes

Quoted 10 lines · Ricardo Ribalda Delgado

Now that the specific boards have been removed there is no need to maintain the weak functions.

Fix also CamelCase to make checkpatch happy

---
 board/xilinx/ppc440-generic/xilinx_ppc440_generic.c | 18 +++++++-----------
 1 file changed, 7 insertions(+), 11 deletions(-)
#62 lore raw

PATCH 18/22 ppc: xilinx_ppc440_generic: Remove weak attributes

In reply to Ricardo Ribalda Delgado
Quoted 6 lines · Ricardo Ribalda Delgado

Now that the specific boards have been removed there is no need to maintain the weak functions.

Fix also CamelCase to make checkpatch happy

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160126/6887a821/attachment.sig>
#64 lore raw

PATCH 19/22 ppc: xilinx_ppc405_generic: Remove uncalled functions

In reply to Ricardo Ribalda Delgado

board_pre_init was not called because CONFIG_BOARD_EARLY_INIT_F was not set. Remove unused function.

---
 board/xilinx/ppc405-generic/xilinx_ppc405_generic.c | 5 -----
 1 file changed, 5 deletions(-)
board/xilinx/ppc405-generic/xilinx_ppc405_generic.c +0 -5
index 5c19ac0e6a34..3729f07624a3 100644
@@ -15,11 +15,6 @@ ulong get_PCI_freq(void)
 	return 0;
 }
 
-int board_pre_init(void)
-{
-	return 0;
-}
-
 int checkboard(void)
 {
 	puts("Xilinx PPC405 Generic Board\n");
Signature · 1 line
2.7.0.rc3
#66 lore raw

PATCH 19/22 ppc: xilinx_ppc405_generic: Remove uncalled functions

In reply to Ricardo Ribalda Delgado
Quoted 4 lines · Ricardo Ribalda Delgado

board_pre_init was not called because CONFIG_BOARD_EARLY_INIT_F was not set. Remove unused function.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160126/ed999ce7/attachment.sig>
#68 lore raw

PATCH 20/22 ppc: xilinx_ppc440_generic: Remove uncalled functions

In reply to Ricardo Ribalda Delgado

board_pre_init was not called because CONFIG_BOARD_EARLY_INIT_F was not set. Remove unused function.

---
 board/xilinx/ppc440-generic/xilinx_ppc440_generic.c | 5 -----
 1 file changed, 5 deletions(-)
board/xilinx/ppc440-generic/xilinx_ppc440_generic.c +0 -5
index 52c63f20583e..0e3ab94e31ef 100644
@@ -10,11 +10,6 @@
 #include <common.h>
 #include <asm/processor.h>
 
-int board_pre_init(void)
-{
-	return 0;
-}
-
 int checkboard(void)
 {
 	puts("Xilinx PPC440 Generic Board\n");
Signature · 1 line
2.7.0.rc3
#70 lore raw

PATCH 20/22 ppc: xilinx_ppc440_generic: Remove uncalled functions

In reply to Ricardo Ribalda Delgado
Quoted 4 lines · Ricardo Ribalda Delgado

board_pre_init was not called because CONFIG_BOARD_EARLY_INIT_F was not set. Remove unused function.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160126/1f17e4ef/attachment.sig>
#72 lore raw

PATCH 21/22 net: xilinx_ll_temac: Fix string overflow

In reply to Ricardo Ribalda Delgado

Size of this snprintf "lltemac.%lx" is bigger than 16 characters. Replacing it with "ll_tem.%lx"

---
 drivers/net/xilinx_ll_temac.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/net/xilinx_ll_temac.c +2 -1
index 7cc86571e495..ca09546ab59f 100644
@@ -303,7 +303,8 @@ int xilinx_ll_temac_initialize(bd_t *bis, struct ll_temac_info *devinf)
 	if (devinf->devname) {
 		strncpy(dev->name, devinf->devname, sizeof(dev->name));
 	} else {
-		snprintf(dev->name, sizeof(dev->name), "lltemac.%lx", devinf->base_addr);
+		snprintf(dev->name, sizeof(dev->name), "ll_tem.%lx",
+			 devinf->base_addr);
 		devinf->devname = dev->name;
 	}
 
Signature · 1 line
2.7.0.rc3
#74 lore raw

PATCH 21/22 net: xilinx_ll_temac: Fix string overflow

In reply to Ricardo Ribalda Delgado
Quoted 4 lines · Ricardo Ribalda Delgado

Size of this snprintf "lltemac.%lx" is bigger than 16 characters. Replacing it with "ll_tem.%lx"

... and added to my TODO list to check over everyone else too.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160126/620d6296/attachment.sig>
#75 lore raw

PATCH 22/22 ppc: xilinx-ppc440-generic: Wire LL_TEMAC driver

In reply to Ricardo Ribalda Delgado

If the xparameters file contains a LL_TEMAC definition compile its driver and the net commands.

---
 .../xilinx/ppc440-generic/xilinx_ppc440_generic.c  | 22 ++++++++++++++++++++++
 board/xilinx/ppc440-generic/xparameters.h          |  4 ++++
 configs/xilinx-ppc440-generic_defconfig            |  5 +++++
 include/configs/xilinx-ppc440-generic.h            | 10 ++++++++++
 4 files changed, 41 insertions(+)
board/xilinx/ppc440-generic/xilinx_ppc440_generic.c +22 -0
index 0e3ab94e31ef..d8233529304d 100644
@@ -8,6 +8,7 @@
 
 #include <config.h>
 #include <common.h>
+#include <netdev.h>
 #include <asm/processor.h>
 
 int checkboard(void)
@@ -34,3 +35,24 @@ void get_sys_info(sys_info_t *sys_info)
 int get_serial_clock(void){
 	return XPAR_UARTNS550_0_CLOCK_FREQ_HZ;
 }
+
+int board_eth_init(bd_t *bis)
+{
+	int ret = 0;
+
+	puts("Init xilinx temac\n");
+#ifdef XPAR_LLTEMAC_0_BASEADDR
+	ret |= xilinx_ll_temac_eth_init(bis, XPAR_LLTEMAC_0_BASEADDR,
+			XILINX_LL_TEMAC_M_SDMA_DCR | XILINX_LL_TEMAC_M_SDMA_PLB,
+			XPAR_LLTEMAC_0_LLINK_CONNECTED_BASEADDR);
+
+#endif
+
+#ifdef XPAR_LLTEMAC_1_BASEADDR
+	ret |= xilinx_ll_temac_eth_init(bis, XPAR_LLTEMAC_1_BASEADDR,
+			XILINX_LL_TEMAC_M_SDMA_DCR | XILINX_LL_TEMAC_M_SDMA_PLB,
+			XPAR_LLTEMAC_1_LLINK_CONNECTED_BASEADDR);
+#endif
+
+	return ret;
+}
board/xilinx/ppc440-generic/xparameters.h +4 -0
index 9685560673ab..b45a6a1d7668 100644
@@ -18,5 +18,9 @@
 #define XPAR_CORE_CLOCK_FREQ_HZ		400000000
 #define XPAR_INTC_MAX_NUM_INTR_INPUTS	32
 #define XPAR_UARTNS550_0_CLOCK_FREQ_HZ	100000000
+#define XPAR_LLTEMAC_0_LLINK_CONNECTED_BASEADDR 0x80
+#define XPAR_LLTEMAC_1_LLINK_CONNECTED_BASEADDR 0x98
+#define XPAR_LLTEMAC_0_BASEADDR		0x83000000
+#define XPAR_LLTEMAC_1_BASEADDR		0x83000040
 
 #endif
configs/xilinx-ppc440-generic_defconfig +5 -0
index c66357e08724..64b55ee1359e 100644
@@ -11,3 +11,8 @@ CONFIG_OF_CONTROL=y
 CONFIG_FIT=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_DEFAULT_DEVICE_TREE="xilinx-ppc440-generic"
+CONFIG_CMD_TFTPPUT=y
+CONFIG_CMD_DHCP=y
+CONFIG_CMD_PING=y
+CONFIG_NETCONSOLE=y
+
include/configs/xilinx-ppc440-generic.h +10 -0
index 2af5f7fc1de5..8b9d37f42e03 100644
@@ -33,6 +33,16 @@
 #define MTDIDS_DEFAULT			"nor0=flash"
 #define MTDPARTS_DEFAULT		"mtdparts=flash:-(user)"
 
+/*Net*/
+#ifdef XPAR_LLTEMAC_0_BASEADDR
+#define CONFIG_XILINX_LL_TEMAC
+#define CONFIG_MII
+#define CONFIG_PHYLIB
+#define CONFIG_PHY_MARVELL
+#define CONFIG_NET_RANDOM_ETHADDR
+#define CONFIG_LIB_RAND
+#endif
+
 /*Generic Configs*/
 #include <configs/xilinx-ppc.h>
 
Signature · 1 line
2.7.0.rc3
#76 lore raw

PATCH 22/22 ppc: xilinx-ppc440-generic: Wire LL_TEMAC driver

Hi Ricardo,

Quoted 35 lines · Ricardo Ribalda Delgado

If the xparameters file contains a LL_TEMAC definition compile its driver and the net commands.

---
 .../xilinx/ppc440-generic/xilinx_ppc440_generic.c  | 22 ++++++++++++++++++++++
 board/xilinx/ppc440-generic/xparameters.h          |  4 ++++
 configs/xilinx-ppc440-generic_defconfig            |  5 +++++
 include/configs/xilinx-ppc440-generic.h            | 10 ++++++++++
 4 files changed, 41 insertions(+)
board/xilinx/ppc440-generic/xilinx_ppc440_generic.c +9 -0
index 0e3ab94e31ef..d8233529304d 100644
@@ -8,6 +8,7 @@
 
 #include <config.h>
 #include <common.h>
+#include <netdev.h>
 #include <asm/processor.h>
 
 int checkboard(void)
@@ -34,3 +35,24 @@ void get_sys_info(sys_info_t *sys_info)
 int get_serial_clock(void){
        return XPAR_UARTNS550_0_CLOCK_FREQ_HZ;
 }
+
+int board_eth_init(bd_t *bis)
+{
+       int ret = 0;
+
+       puts("Init xilinx temac\n");
+#ifdef XPAR_LLTEMAC_0_BASEADDR
+       ret |= xilinx_ll_temac_eth_init(bis, XPAR_LLTEMAC_0_BASEADDR,

board/xilinx/ppc440-generic/xilinx_ppc440_generic.c void get_sys_info(sys_info_t *sys_info) · line 55

Quoted 10 lines
board/xilinx/ppc440-generic/xilinx_ppc440_generic.c +10 -0
+                       XILINX_LL_TEMAC_M_SDMA_DCR | XILINX_LL_TEMAC_M_SDMA_PLB,
+                       XPAR_LLTEMAC_0_LLINK_CONNECTED_BASEADDR);
+
+#endif
+
+#ifdef XPAR_LLTEMAC_1_BASEADDR
+       ret |= xilinx_ll_temac_eth_init(bis, XPAR_LLTEMAC_1_BASEADDR,
+                       XILINX_LL_TEMAC_M_SDMA_DCR | XILINX_LL_TEMAC_M_SDMA_PLB,
+                       XPAR_LLTEMAC_1_LLINK_CONNECTED_BASEADDR);
+#endif

No DM ethernet driver for LLTEMAC?

Quoted 35 lines
board/xilinx/ppc440-generic/xilinx_ppc440_generic.c +3 -0
+
+       return ret;
+}
board/xilinx/ppc440-generic/xparameters.h +4 -0
index 9685560673ab..b45a6a1d7668 100644
@@ -18,5 +18,9 @@
 #define XPAR_CORE_CLOCK_FREQ_HZ                400000000
 #define XPAR_INTC_MAX_NUM_INTR_INPUTS  32
 #define XPAR_UARTNS550_0_CLOCK_FREQ_HZ 100000000
+#define XPAR_LLTEMAC_0_LLINK_CONNECTED_BASEADDR 0x80
+#define XPAR_LLTEMAC_1_LLINK_CONNECTED_BASEADDR 0x98
+#define XPAR_LLTEMAC_0_BASEADDR                0x83000000
+#define XPAR_LLTEMAC_1_BASEADDR                0x83000040
 
 #endif
configs/xilinx-ppc440-generic_defconfig +5 -0
index c66357e08724..64b55ee1359e 100644
@@ -11,3 +11,8 @@ CONFIG_OF_CONTROL=y
 CONFIG_FIT=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_DEFAULT_DEVICE_TREE="xilinx-ppc440-generic"
+CONFIG_CMD_TFTPPUT=y
+CONFIG_CMD_DHCP=y
+CONFIG_CMD_PING=y
+CONFIG_NETCONSOLE=y
+
include/configs/xilinx-ppc440-generic.h +0 -0
index 2af5f7fc1de5..8b9d37f42e03 100644

include/configs/xilinx-ppc440-generic.h line 36

Quoted 4 lines
include/configs/xilinx-ppc440-generic.h +1 -0
@@ -33,6 +33,16 @@
 #define MTDIDS_DEFAULT                 "nor0=flash"
 #define MTDPARTS_DEFAULT               "mtdparts=flash:-(user)"
 
+/*Net*/

nits: /* Net */

include/configs/xilinx-ppc440-generic.h line 43

Quoted 7 lines
include/configs/xilinx-ppc440-generic.h +7 -0
+#ifdef XPAR_LLTEMAC_0_BASEADDR
+#define CONFIG_XILINX_LL_TEMAC
+#define CONFIG_MII
+#define CONFIG_PHYLIB
+#define CONFIG_PHY_MARVELL
+#define CONFIG_NET_RANDOM_ETHADDR
+#define CONFIG_LIB_RAND

I believe we can move part of these into boards' defconfig files, and if with DM ethernet plus OF control we can always enable the driver.

include/configs/xilinx-ppc440-generic.h

Quoted 6 lines
include/configs/xilinx-ppc440-generic.h +2 -1
+#endif
+
 /*Generic Configs*/
 #include <configs/xilinx-ppc.h>
 
--

Regards,
Bin

#77 lore raw

PATCH 22/22 ppc: xilinx-ppc440-generic: Wire LL_TEMAC driver

Hello Bin

Quoted 43 lines · Bin Meng

Hi Ricardo,

Quoted 39 lines · Ricardo Ribalda Delgado

If the xparameters file contains a LL_TEMAC definition compile its driver and the net commands.

---
 .../xilinx/ppc440-generic/xilinx_ppc440_generic.c  | 22 ++++++++++++++++++++++
 board/xilinx/ppc440-generic/xparameters.h          |  4 ++++
 configs/xilinx-ppc440-generic_defconfig            |  5 +++++
 include/configs/xilinx-ppc440-generic.h            | 10 ++++++++++
 4 files changed, 41 insertions(+)
board/xilinx/ppc440-generic/xilinx_ppc440_generic.c +13 -0
index 0e3ab94e31ef..d8233529304d 100644
@@ -8,6 +8,7 @@
 
 #include <config.h>
 #include <common.h>
+#include <netdev.h>
 #include <asm/processor.h>
 
 int checkboard(void)
@@ -34,3 +35,24 @@ void get_sys_info(sys_info_t *sys_info)
 int get_serial_clock(void){
        return XPAR_UARTNS550_0_CLOCK_FREQ_HZ;
 }
+
+int board_eth_init(bd_t *bis)
+{
+       int ret = 0;
+
+       puts("Init xilinx temac\n");
+#ifdef XPAR_LLTEMAC_0_BASEADDR
+       ret |= xilinx_ll_temac_eth_init(bis, XPAR_LLTEMAC_0_BASEADDR,
+                       XILINX_LL_TEMAC_M_SDMA_DCR | XILINX_LL_TEMAC_M_SDMA_PLB,
+                       XPAR_LLTEMAC_0_LLINK_CONNECTED_BASEADDR);
+
+#endif
Quoted 8 lines

board/xilinx/ppc440-generic/xilinx_ppc440_generic.c void get_sys_info(sys_info_t *sys_info) · line 55

Quoted 6 lines
board/xilinx/ppc440-generic/xilinx_ppc440_generic.c +6 -0
+
+#ifdef XPAR_LLTEMAC_1_BASEADDR
+       ret |= xilinx_ll_temac_eth_init(bis, XPAR_LLTEMAC_1_BASEADDR,
+                       XILINX_LL_TEMAC_M_SDMA_DCR | XILINX_LL_TEMAC_M_SDMA_PLB,
+                       XPAR_LLTEMAC_1_LLINK_CONNECTED_BASEADDR);
+#endif

No DM ethernet driver for LLTEMAC?

Not as far as I know

Quoted 43 lines
Quoted 36 lines
board/xilinx/ppc440-generic/xilinx_ppc440_generic.c +3 -0
+
+       return ret;
+}
board/xilinx/ppc440-generic/xparameters.h +4 -0
index 9685560673ab..b45a6a1d7668 100644
@@ -18,5 +18,9 @@
 #define XPAR_CORE_CLOCK_FREQ_HZ                400000000
 #define XPAR_INTC_MAX_NUM_INTR_INPUTS  32
 #define XPAR_UARTNS550_0_CLOCK_FREQ_HZ 100000000
+#define XPAR_LLTEMAC_0_LLINK_CONNECTED_BASEADDR 0x80
+#define XPAR_LLTEMAC_1_LLINK_CONNECTED_BASEADDR 0x98
+#define XPAR_LLTEMAC_0_BASEADDR                0x83000000
+#define XPAR_LLTEMAC_1_BASEADDR                0x83000040
 
 #endif
configs/xilinx-ppc440-generic_defconfig +5 -0
index c66357e08724..64b55ee1359e 100644
@@ -11,3 +11,8 @@ CONFIG_OF_CONTROL=y
 CONFIG_FIT=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_DEFAULT_DEVICE_TREE="xilinx-ppc440-generic"
+CONFIG_CMD_TFTPPUT=y
+CONFIG_CMD_DHCP=y
+CONFIG_CMD_PING=y
+CONFIG_NETCONSOLE=y
+
include/configs/xilinx-ppc440-generic.h +0 -0
index 2af5f7fc1de5..8b9d37f42e03 100644

include/configs/xilinx-ppc440-generic.h line 36

Quoted 4 lines
include/configs/xilinx-ppc440-generic.h +1 -0
@@ -33,6 +33,16 @@
 #define MTDIDS_DEFAULT                 "nor0=flash"
 #define MTDPARTS_DEFAULT               "mtdparts=flash:-(user)"
 
+/*Net*/

nits: /* Net */

Quoted 11 lines

include/configs/xilinx-ppc440-generic.h line 43

Quoted 7 lines
include/configs/xilinx-ppc440-generic.h +7 -0
+#ifdef XPAR_LLTEMAC_0_BASEADDR
+#define CONFIG_XILINX_LL_TEMAC
+#define CONFIG_MII
+#define CONFIG_PHYLIB
+#define CONFIG_PHY_MARVELL
+#define CONFIG_NET_RANDOM_ETHADDR
+#define CONFIG_LIB_RAND

I believe we can move part of these into boards' defconfig files, and if with DM ethernet plus OF control we can always enable the driver.

I want to build it only when the core is present. This is checked with the definitions from the xparameters.h file, obtained by the fpga syntesis tool.

Quoted 9 lines

include/configs/xilinx-ppc440-generic.h

Quoted 6 lines
include/configs/xilinx-ppc440-generic.h +2 -1
+#endif
+
 /*Generic Configs*/
 #include <configs/xilinx-ppc.h>
 
--

Regards,
Bin

Thanks!

Signature · 1 line
Ricardo Ribalda
#78 lore raw

PATCH 22/22 ppc: xilinx-ppc440-generic: Wire LL_TEMAC driver

Quoted 56 lines · Ricardo Ribalda Delgado

Hello Bin

Quoted 43 lines · Bin Meng

Hi Ricardo,

Quoted 39 lines · Ricardo Ribalda Delgado

If the xparameters file contains a LL_TEMAC definition compile its driver and the net commands.

---
 .../xilinx/ppc440-generic/xilinx_ppc440_generic.c  | 22 ++++++++++++++++++++++
 board/xilinx/ppc440-generic/xparameters.h          |  4 ++++
 configs/xilinx-ppc440-generic_defconfig            |  5 +++++
 include/configs/xilinx-ppc440-generic.h            | 10 ++++++++++
 4 files changed, 41 insertions(+)
board/xilinx/ppc440-generic/xilinx_ppc440_generic.c +13 -0
index 0e3ab94e31ef..d8233529304d 100644
@@ -8,6 +8,7 @@
 
 #include <config.h>
 #include <common.h>
+#include <netdev.h>
 #include <asm/processor.h>
 
 int checkboard(void)
@@ -34,3 +35,24 @@ void get_sys_info(sys_info_t *sys_info)
 int get_serial_clock(void){
        return XPAR_UARTNS550_0_CLOCK_FREQ_HZ;
 }
+
+int board_eth_init(bd_t *bis)
+{
+       int ret = 0;
+
+       puts("Init xilinx temac\n");
+#ifdef XPAR_LLTEMAC_0_BASEADDR
+       ret |= xilinx_ll_temac_eth_init(bis, XPAR_LLTEMAC_0_BASEADDR,
+                       XILINX_LL_TEMAC_M_SDMA_DCR | XILINX_LL_TEMAC_M_SDMA_PLB,
+                       XPAR_LLTEMAC_0_LLINK_CONNECTED_BASEADDR);
+
+#endif
Quoted 8 lines

board/xilinx/ppc440-generic/xilinx_ppc440_generic.c void get_sys_info(sys_info_t *sys_info) · line 55

Quoted 6 lines
board/xilinx/ppc440-generic/xilinx_ppc440_generic.c +6 -0
+
+#ifdef XPAR_LLTEMAC_1_BASEADDR
+       ret |= xilinx_ll_temac_eth_init(bis, XPAR_LLTEMAC_1_BASEADDR,
+                       XILINX_LL_TEMAC_M_SDMA_DCR | XILINX_LL_TEMAC_M_SDMA_PLB,
+                       XPAR_LLTEMAC_1_LLINK_CONNECTED_BASEADDR);
+#endif

No DM ethernet driver for LLTEMAC?

Quoted 1 line

Not as far as I know

I have removed ll_temac support from Microblaze and as we discussed before we are not going to support ppc platforms. That's why if someone wants to use this driver it has to invest time to move it to DM or will be removed at some point in future.

Thanks,
Michal

Signature · 14 lines
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160126/6f7a452a/attachment.sig>
#79 lore raw

PATCH 22/22 ppc: xilinx-ppc440-generic: Wire LL_TEMAC driver

hello

We are using the driver and can take a look if we can port it to DM. But it wont be in this or next week sorry.

Regards!

Quoted 75 lines · Michal Simek
Quoted 56 lines · Ricardo Ribalda Delgado

Hello Bin

Quoted 43 lines · Bin Meng

Hi Ricardo,

Quoted 39 lines · Ricardo Ribalda Delgado

If the xparameters file contains a LL_TEMAC definition compile its driver and the net commands.

---
 .../xilinx/ppc440-generic/xilinx_ppc440_generic.c  | 22 ++++++++++++++++++++++
 board/xilinx/ppc440-generic/xparameters.h          |  4 ++++
 configs/xilinx-ppc440-generic_defconfig            |  5 +++++
 include/configs/xilinx-ppc440-generic.h            | 10 ++++++++++
 4 files changed, 41 insertions(+)
board/xilinx/ppc440-generic/xilinx_ppc440_generic.c +13 -0
index 0e3ab94e31ef..d8233529304d 100644
@@ -8,6 +8,7 @@
 
 #include <config.h>
 #include <common.h>
+#include <netdev.h>
 #include <asm/processor.h>
 
 int checkboard(void)
@@ -34,3 +35,24 @@ void get_sys_info(sys_info_t *sys_info)
 int get_serial_clock(void){
        return XPAR_UARTNS550_0_CLOCK_FREQ_HZ;
 }
+
+int board_eth_init(bd_t *bis)
+{
+       int ret = 0;
+
+       puts("Init xilinx temac\n");
+#ifdef XPAR_LLTEMAC_0_BASEADDR
+       ret |= xilinx_ll_temac_eth_init(bis, XPAR_LLTEMAC_0_BASEADDR,
+                       XILINX_LL_TEMAC_M_SDMA_DCR | XILINX_LL_TEMAC_M_SDMA_PLB,
+                       XPAR_LLTEMAC_0_LLINK_CONNECTED_BASEADDR);
+
+#endif
Quoted 8 lines

board/xilinx/ppc440-generic/xilinx_ppc440_generic.c void get_sys_info(sys_info_t *sys_info) · line 55

Quoted 6 lines
board/xilinx/ppc440-generic/xilinx_ppc440_generic.c +6 -0
+
+#ifdef XPAR_LLTEMAC_1_BASEADDR
+       ret |= xilinx_ll_temac_eth_init(bis, XPAR_LLTEMAC_1_BASEADDR,
+                       XILINX_LL_TEMAC_M_SDMA_DCR | XILINX_LL_TEMAC_M_SDMA_PLB,
+                       XPAR_LLTEMAC_1_LLINK_CONNECTED_BASEADDR);
+#endif

No DM ethernet driver for LLTEMAC?

Quoted 1 line

Not as far as I know

I have removed ll_temac support from Microblaze and as we discussed before we are not going to support ppc platforms. That's why if someone wants to use this driver it has to invest time to move it to DM or will be removed at some point in future.

Thanks,
Michal

--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform

Signature · 1 line
Ricardo Ribalda
#80 lore raw

PATCH 22/22 ppc: xilinx-ppc440-generic: Wire LL_TEMAC driver

Quoted 4 lines · Ricardo Ribalda Delgado

hello

We are using the driver and can take a look if we can port it to DM. But it wont be in this or next week sorry.

That's not a problem at all. Currently it wired just to xilinx ppc platforms. No pressure on it at all. Simon probably knows when all these non DM drivers will go away.

Thanks,
Michal

Signature · 14 lines
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160126/46ca63ac/attachment.sig>
#81 lore raw

cover xilinx-ppc4xx: Cleanout and port to DM serial

In reply to Ricardo Ribalda Delgado
Quoted 128 lines · Ricardo Ribalda Delgado

xilinx-ppc4xx made us of serial uartlite, which was ported to DM. This patch moves port these boards to DM.

Now that Kconfig works really well, there is no need to maintain the specific boards (fx12mm, ml507 and v5fx30teval) or their flash version.

The ppc440 boards have been wired to the ll_temac driver.

A series of cleanouts have been done.

This patchset sits on top of:
http://git.denx.de/?p=u-boot/u-boot-microblaze.git;a=shortlog;h=refs/heads/mb

It has been tested on a ppc440 bard.

Hopefully Georg Schardt can test the changes on his fx12mm.

These changes can also be browset at
https://github.com/ribalda/u-boot/tree/xilinx-ppc4xx-generic-dm

Regards (and thanks for your patience)!

Ricardo Ribalda (22):
ppc: xilinx-ppc440: Remove support for ml507
ppc: xilinx-ppc405: Remove support for fx12mm
xilinx-ppc440: Remove support for v5fx30teval .mailmap: Add all the mail alias for Ricardo Ribalda
mailaddr: Update mail address
ppc: pp405-generic: Simplify Makefile
ppc: pp440-generic: Simplify Makefile
ppc: ppc440: ppc440-generic_flash_defconfig
ppc: ppc405: ppc405-generic_flash_defconfig
ppc: xilinx-ppc440-generic: Cleanout header files
ppc: xilinx-ppc405-generic: Cleanout header files
ppc: xilinx-ppc4xx-generic: Update xparameters.h
ppc: dts: Add device tree for xilix-ppc4xx-generic configs/xilinx-ppc405-generic: Typos and size configs/xilinx-ppc440-generic: Typos and size
ppc: xilinx-ppc4xx: Port to DM serial
ppc: xilinx_ppc405_generic: Remove weak attributes
ppc: xilinx_ppc440_generic: Remove weak attributes
ppc: xilinx_ppc405_generic: Remove uncalled functions
ppc: xilinx_ppc440_generic: Remove uncalled functions
net: xilinx_ll_temac: Fix string overflow
ppc: xilinx-ppc440-generic: Wire LL_TEMAC driver

 .mailmap                                           |  3 ++
 arch/powerpc/cpu/ppc4xx/Kconfig                    | 20 ++++-----
 arch/powerpc/cpu/ppc4xx/interrupts.c               |  2 +-
 arch/powerpc/cpu/ppc4xx/uic.c                      |  2 +-
 arch/powerpc/cpu/ppc4xx/xilinx_irq.c               |  2 +-
 arch/powerpc/dts/Makefile                          |  2 +
 arch/powerpc/dts/xilinx-ppc405-generic.dts         | 13 ++++++
 arch/powerpc/dts/xilinx-ppc440-generic.dts         | 13 ++++++
 arch/powerpc/include/asm/interrupt.h               |  2 +-
 arch/powerpc/include/asm/xilinx_irq.h              |  2 +-
 board/avnet/fx12mm/Kconfig                         | 12 ------
 board/avnet/fx12mm/MAINTAINERS                     |  7 ---
 board/avnet/fx12mm/Makefile                        | 11 -----
 board/avnet/fx12mm/fx12mm.c                        | 34 ---------------
 board/avnet/fx12mm/xparameters.h                   | 35 ---------------
 board/avnet/v5fx30teval/Kconfig                    | 12 ------
 board/avnet/v5fx30teval/MAINTAINERS                |  7 ---
 board/avnet/v5fx30teval/Makefile                   | 11 -----
 board/avnet/v5fx30teval/v5fx30teval.c              | 17 --------
 board/avnet/v5fx30teval/xparameters.h              | 22 ----------
 board/xilinx/ml507/Kconfig                         | 12 ------
 board/xilinx/ml507/MAINTAINERS                     |  7 ---
 board/xilinx/ml507/Makefile                        | 11 -----
 board/xilinx/ml507/ml507.c                         | 17 --------
 board/xilinx/ml507/xparameters.h                   | 23 ----------
 board/xilinx/ppc405-generic/MAINTAINERS            |  2 +-
 board/xilinx/ppc405-generic/Makefile               |  4 +-
 .../xilinx/ppc405-generic/xilinx_ppc405_generic.c  | 31 ++++++--------
 board/xilinx/ppc405-generic/xparameters.h          |  7 ++-
 board/xilinx/ppc440-generic/MAINTAINERS            |  2 +-
 board/xilinx/ppc440-generic/Makefile               |  6 +--
 board/xilinx/ppc440-generic/init.S                 |  2 +-
 .../xilinx/ppc440-generic/xilinx_ppc440_generic.c  | 49 ++++++++++++++-------
 board/xilinx/ppc440-generic/xparameters.h          | 15 ++++---
 configs/fx12mm_defconfig                           | 10 -----
 configs/fx12mm_flash_defconfig                     |  9 ----
 configs/ml507_defconfig                            |  9 ----
 configs/ml507_flash_defconfig                      |  8 ----
 configs/v5fx30teval_defconfig                      |  9 ----
 configs/v5fx30teval_flash_defconfig                |  8 ----
 configs/xilinx-ppc405-generic_defconfig            |  8 ++++
 configs/xilinx-ppc405-generic_flash_defconfig      |  8 ----
 configs/xilinx-ppc440-generic_defconfig            | 17 ++++++--
 configs/xilinx-ppc440-generic_flash_defconfig      |  8 ----
 drivers/hwmon/adt7460.c                            |  2 +-
 drivers/net/xilinx_ll_temac.c                      |  3 +-
 drivers/serial/Kconfig                             |  2 +-
 include/configs/fx12mm.h                           | 50 ----------------------
 include/configs/ml507.h                            | 38 ----------------
 include/configs/v5fx30teval.h                      | 38 ----------------
 include/configs/xilinx-ppc.h                       | 22 +++-------
 include/configs/xilinx-ppc405-generic.h            | 19 ++++----
 include/configs/xilinx-ppc405.h                    | 22 ----------
 include/configs/xilinx-ppc440-generic.h            | 27 ++++++++----
 include/configs/xilinx-ppc440.h                    | 17 --------
 55 files changed, 169 insertions(+), 582 deletions(-)
 create mode 100644 arch/powerpc/dts/xilinx-ppc405-generic.dts
 create mode 100644 arch/powerpc/dts/xilinx-ppc440-generic.dts
 delete mode 100644 board/avnet/fx12mm/Kconfig
 delete mode 100644 board/avnet/fx12mm/MAINTAINERS
 delete mode 100644 board/avnet/fx12mm/Makefile
 delete mode 100644 board/avnet/fx12mm/fx12mm.c
 delete mode 100644 board/avnet/fx12mm/xparameters.h
 delete mode 100644 board/avnet/v5fx30teval/Kconfig
 delete mode 100644 board/avnet/v5fx30teval/MAINTAINERS
 delete mode 100644 board/avnet/v5fx30teval/Makefile
 delete mode 100644 board/avnet/v5fx30teval/v5fx30teval.c
 delete mode 100644 board/avnet/v5fx30teval/xparameters.h
 delete mode 100644 board/xilinx/ml507/Kconfig
 delete mode 100644 board/xilinx/ml507/MAINTAINERS
 delete mode 100644 board/xilinx/ml507/Makefile
 delete mode 100644 board/xilinx/ml507/ml507.c
 delete mode 100644 board/xilinx/ml507/xparameters.h
 delete mode 100644 configs/fx12mm_defconfig
 delete mode 100644 configs/fx12mm_flash_defconfig
 delete mode 100644 configs/ml507_defconfig
 delete mode 100644 configs/ml507_flash_defconfig
 delete mode 100644 configs/v5fx30teval_defconfig
Quoted 9 lines
 delete mode 100644 configs/v5fx30teval_flash_defconfig
 delete mode 100644 configs/xilinx-ppc405-generic_flash_defconfig
 delete mode 100644 configs/xilinx-ppc440-generic_flash_defconfig
 delete mode 100644 include/configs/fx12mm.h
 delete mode 100644 include/configs/ml507.h
 delete mode 100644 include/configs/v5fx30teval.h
 delete mode 100644 include/configs/xilinx-ppc405.h
 delete mode 100644 include/configs/xilinx-ppc440.h

All looks good to me. For all

I need patches up to 12 to be apply first.

What's the your way to mainline? Are you sending pull request to Tom or this is going via PPC tree?
Anyway I am happy to take this series as the part of my Xilinx pull request with Microblaze and zynq changes.

Thanks,
Michal

Signature · 14 lines
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160126/9a8af40e/attachment.sig>
#82 lore raw

cover xilinx-ppc4xx: Cleanout and port to DM serial

Hello Michal

Thanks for your fast review :).

Usually my patches were through Stefan Roese (sorry, I forgot to add you as cc in the patchset :( )
In this case, as it depends on yuour patches I do not know what should be the right path.

Tom, Stefan what do you propose?

Regards!

Quoted 160 lines · Michal Simek
Quoted 128 lines · Ricardo Ribalda Delgado

xilinx-ppc4xx made us of serial uartlite, which was ported to DM. This patch moves port these boards to DM.

Now that Kconfig works really well, there is no need to maintain the specific boards (fx12mm, ml507 and v5fx30teval) or their flash version.

The ppc440 boards have been wired to the ll_temac driver.

A series of cleanouts have been done.

This patchset sits on top of:
http://git.denx.de/?p=u-boot/u-boot-microblaze.git;a=shortlog;h=refs/heads/mb

It has been tested on a ppc440 bard.

Hopefully Georg Schardt can test the changes on his fx12mm.

These changes can also be browset at
https://github.com/ribalda/u-boot/tree/xilinx-ppc4xx-generic-dm

Regards (and thanks for your patience)!

Ricardo Ribalda (22):
ppc: xilinx-ppc440: Remove support for ml507
ppc: xilinx-ppc405: Remove support for fx12mm
xilinx-ppc440: Remove support for v5fx30teval .mailmap: Add all the mail alias for Ricardo Ribalda
mailaddr: Update mail address
ppc: pp405-generic: Simplify Makefile
ppc: pp440-generic: Simplify Makefile
ppc: ppc440: ppc440-generic_flash_defconfig
ppc: ppc405: ppc405-generic_flash_defconfig
ppc: xilinx-ppc440-generic: Cleanout header files
ppc: xilinx-ppc405-generic: Cleanout header files
ppc: xilinx-ppc4xx-generic: Update xparameters.h
ppc: dts: Add device tree for xilix-ppc4xx-generic configs/xilinx-ppc405-generic: Typos and size configs/xilinx-ppc440-generic: Typos and size
ppc: xilinx-ppc4xx: Port to DM serial
ppc: xilinx_ppc405_generic: Remove weak attributes
ppc: xilinx_ppc440_generic: Remove weak attributes
ppc: xilinx_ppc405_generic: Remove uncalled functions
ppc: xilinx_ppc440_generic: Remove uncalled functions
net: xilinx_ll_temac: Fix string overflow
ppc: xilinx-ppc440-generic: Wire LL_TEMAC driver

 .mailmap                                           |  3 ++
 arch/powerpc/cpu/ppc4xx/Kconfig                    | 20 ++++-----
 arch/powerpc/cpu/ppc4xx/interrupts.c               |  2 +-
 arch/powerpc/cpu/ppc4xx/uic.c                      |  2 +-
 arch/powerpc/cpu/ppc4xx/xilinx_irq.c               |  2 +-
 arch/powerpc/dts/Makefile                          |  2 +
 arch/powerpc/dts/xilinx-ppc405-generic.dts         | 13 ++++++
 arch/powerpc/dts/xilinx-ppc440-generic.dts         | 13 ++++++
 arch/powerpc/include/asm/interrupt.h               |  2 +-
 arch/powerpc/include/asm/xilinx_irq.h              |  2 +-
 board/avnet/fx12mm/Kconfig                         | 12 ------
 board/avnet/fx12mm/MAINTAINERS                     |  7 ---
 board/avnet/fx12mm/Makefile                        | 11 -----
 board/avnet/fx12mm/fx12mm.c                        | 34 ---------------
 board/avnet/fx12mm/xparameters.h                   | 35 ---------------
 board/avnet/v5fx30teval/Kconfig                    | 12 ------
 board/avnet/v5fx30teval/MAINTAINERS                |  7 ---
 board/avnet/v5fx30teval/Makefile                   | 11 -----
 board/avnet/v5fx30teval/v5fx30teval.c              | 17 --------
 board/avnet/v5fx30teval/xparameters.h              | 22 ----------
 board/xilinx/ml507/Kconfig                         | 12 ------
 board/xilinx/ml507/MAINTAINERS                     |  7 ---
 board/xilinx/ml507/Makefile                        | 11 -----
 board/xilinx/ml507/ml507.c                         | 17 --------
 board/xilinx/ml507/xparameters.h                   | 23 ----------
 board/xilinx/ppc405-generic/MAINTAINERS            |  2 +-
 board/xilinx/ppc405-generic/Makefile               |  4 +-
 .../xilinx/ppc405-generic/xilinx_ppc405_generic.c  | 31 ++++++--------
 board/xilinx/ppc405-generic/xparameters.h          |  7 ++-
 board/xilinx/ppc440-generic/MAINTAINERS            |  2 +-
 board/xilinx/ppc440-generic/Makefile               |  6 +--
 board/xilinx/ppc440-generic/init.S                 |  2 +-
 .../xilinx/ppc440-generic/xilinx_ppc440_generic.c  | 49 ++++++++++++++-------
 board/xilinx/ppc440-generic/xparameters.h          | 15 ++++---
 configs/fx12mm_defconfig                           | 10 -----
 configs/fx12mm_flash_defconfig                     |  9 ----
 configs/ml507_defconfig                            |  9 ----
 configs/ml507_flash_defconfig                      |  8 ----
 configs/v5fx30teval_defconfig                      |  9 ----
 configs/v5fx30teval_flash_defconfig                |  8 ----
 configs/xilinx-ppc405-generic_defconfig            |  8 ++++
 configs/xilinx-ppc405-generic_flash_defconfig      |  8 ----
 configs/xilinx-ppc440-generic_defconfig            | 17 ++++++--
 configs/xilinx-ppc440-generic_flash_defconfig      |  8 ----
 drivers/hwmon/adt7460.c                            |  2 +-
 drivers/net/xilinx_ll_temac.c                      |  3 +-
 drivers/serial/Kconfig                             |  2 +-
 include/configs/fx12mm.h                           | 50 ----------------------
 include/configs/ml507.h                            | 38 ----------------
 include/configs/v5fx30teval.h                      | 38 ----------------
 include/configs/xilinx-ppc.h                       | 22 +++-------
 include/configs/xilinx-ppc405-generic.h            | 19 ++++----
 include/configs/xilinx-ppc405.h                    | 22 ----------
 include/configs/xilinx-ppc440-generic.h            | 27 ++++++++----
 include/configs/xilinx-ppc440.h                    | 17 --------
 55 files changed, 169 insertions(+), 582 deletions(-)
 create mode 100644 arch/powerpc/dts/xilinx-ppc405-generic.dts
 create mode 100644 arch/powerpc/dts/xilinx-ppc440-generic.dts
 delete mode 100644 board/avnet/fx12mm/Kconfig
 delete mode 100644 board/avnet/fx12mm/MAINTAINERS
 delete mode 100644 board/avnet/fx12mm/Makefile
 delete mode 100644 board/avnet/fx12mm/fx12mm.c
 delete mode 100644 board/avnet/fx12mm/xparameters.h
 delete mode 100644 board/avnet/v5fx30teval/Kconfig
 delete mode 100644 board/avnet/v5fx30teval/MAINTAINERS
 delete mode 100644 board/avnet/v5fx30teval/Makefile
 delete mode 100644 board/avnet/v5fx30teval/v5fx30teval.c
 delete mode 100644 board/avnet/v5fx30teval/xparameters.h
 delete mode 100644 board/xilinx/ml507/Kconfig
 delete mode 100644 board/xilinx/ml507/MAINTAINERS
 delete mode 100644 board/xilinx/ml507/Makefile
 delete mode 100644 board/xilinx/ml507/ml507.c
 delete mode 100644 board/xilinx/ml507/xparameters.h
 delete mode 100644 configs/fx12mm_defconfig
 delete mode 100644 configs/fx12mm_flash_defconfig
 delete mode 100644 configs/ml507_defconfig
 delete mode 100644 configs/ml507_flash_defconfig
 delete mode 100644 configs/v5fx30teval_defconfig
Quoted 9 lines
 delete mode 100644 configs/v5fx30teval_flash_defconfig
 delete mode 100644 configs/xilinx-ppc405-generic_flash_defconfig
 delete mode 100644 configs/xilinx-ppc440-generic_flash_defconfig
 delete mode 100644 include/configs/fx12mm.h
 delete mode 100644 include/configs/ml507.h
 delete mode 100644 include/configs/v5fx30teval.h
 delete mode 100644 include/configs/xilinx-ppc405.h
 delete mode 100644 include/configs/xilinx-ppc440.h

All looks good to me. For all

I need patches up to 12 to be apply first.

What's the your way to mainline? Are you sending pull request to Tom or this is going via PPC tree?
Anyway I am happy to take this series as the part of my Xilinx pull request with Microblaze and zynq changes.

Thanks,
Michal

--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform

Signature · 1 line
Ricardo Ribalda
#83 lore raw

cover xilinx-ppc4xx: Cleanout and port to DM serial

Quoted 10 lines · Ricardo Ribalda Delgado

Hello Michal

Thanks for your fast review :).

Usually my patches were through Stefan Roese (sorry, I forgot to add you as cc in the patchset :( )
In this case, as it depends on yuour patches I do not know what should be the right path.

Tom, Stefan what do you propose?

I would be quite happy for all of these to come in via Michal's tree. I'll try and review everything shortly as well. Thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160126/3d676bbe/attachment.sig>
#84 lore raw

cover xilinx-ppc4xx: Cleanout and port to DM serial

Quoted 10 lines · Tom Rini
Quoted 9 lines · Ricardo Ribalda Delgado

Hello Michal

Thanks for your fast review :).

Usually my patches were through Stefan Roese (sorry, I forgot to add you as cc in the patchset :( )
In this case, as it depends on yuour patches I do not know what should be the right path.

Quoted 4 lines
Quoted 1 line

Tom, Stefan what do you propose?

I would be quite happy for all of these to come in via Michal's tree. I'll try and review everything shortly as well. Thanks!

I'll try to review the patches later today. Or very early tomorrow. And, if Tom also sees no problems, then I also agree to push them via Michal's tree.

Thanks,
Stefan

#85 lore raw

cover xilinx-ppc4xx: Cleanout and port to DM serial

Quoted 11 lines · Stefan Roese
Quoted 10 lines · Tom Rini
Quoted 9 lines · Ricardo Ribalda Delgado

Hello Michal

Thanks for your fast review :).

Usually my patches were through Stefan Roese (sorry, I forgot to add you as cc in the patchset :( )
In this case, as it depends on yuour patches I do not know what should be the right path.

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

Tom, Stefan what do you propose?

I would be quite happy for all of these to come in via Michal's tree. I'll try and review everything shortly as well. Thanks!

I'll try to review the patches later today. Or very early tomorrow. And, if Tom also sees no problems, then I also agree to push them via Michal's tree.

Thanks guys will wait for you and will compose that branch you are done.

Thanks,
Michal

Signature · 14 lines
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160126/79f13417/attachment.sig>