summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/u-boot/u-boot-xlnx/microblaze-Fix-EMAC-Lite-initialization.patch
diff options
context:
space:
mode:
authorNathan Rossi <nathan@nathanrossi.com>2016-01-06 16:46:46 +1000
committerNathan Rossi <nathan@nathanrossi.com>2016-01-06 16:46:46 +1000
commitae3a05b5be811d4a7d7a9651a4b28b5bff5df2cb (patch)
tree6a9d9376608e6dc0c2ac0856cac4950e9b7bc6d2 /recipes-bsp/u-boot/u-boot-xlnx/microblaze-Fix-EMAC-Lite-initialization.patch
parent02babaeb6b599d031925249e0521816bf06d7dbd (diff)
downloadmeta-xilinx-ae3a05b5be811d4a7d7a9651a4b28b5bff5df2cb.tar.gz
u-boot-xlnx_2015.04: Drop this version
Newer version of u-boot-xlnx superseeds this version. Also remove any patches which are only needed by this version of u-boot-xlnx. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Diffstat (limited to 'recipes-bsp/u-boot/u-boot-xlnx/microblaze-Fix-EMAC-Lite-initialization.patch')
-rw-r--r--recipes-bsp/u-boot/u-boot-xlnx/microblaze-Fix-EMAC-Lite-initialization.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/recipes-bsp/u-boot/u-boot-xlnx/microblaze-Fix-EMAC-Lite-initialization.patch b/recipes-bsp/u-boot/u-boot-xlnx/microblaze-Fix-EMAC-Lite-initialization.patch
deleted file mode 100644
index 09c48fbc..00000000
--- a/recipes-bsp/u-boot/u-boot-xlnx/microblaze-Fix-EMAC-Lite-initialization.patch
+++ /dev/null
@@ -1,31 +0,0 @@
1From 83f0e6e733aba458b9afac67f3c95c4e29712263 Mon Sep 17 00:00:00 2001
2From: Nathan Rossi <nathan.rossi@xilinx.com>
3Date: Tue, 14 Apr 2015 15:35:57 +1000
4Subject: [PATCH] microblaze: Fix EMAC Lite initialization
5
6It is possible for CONFIG_XILINX_EMACLITE to be defined without
7XILINX_EMACLITE_BASEADDR being defined as the EMAC Lite driver support
8OF init. Check that the driver is enabled and the base address is
9available before initializing with a static base address.
10
11Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
12---
13 board/xilinx/microblaze-generic/microblaze-generic.c | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/board/xilinx/microblaze-generic/microblaze-generic.c b/board/xilinx/microblaze-generic/microblaze-generic.c
17index eee5f6b..8c926a2 100644
18--- a/board/xilinx/microblaze-generic/microblaze-generic.c
19+++ b/board/xilinx/microblaze-generic/microblaze-generic.c
20@@ -63,7 +63,7 @@ int board_eth_init(bd_t *bis)
21 XILINX_AXIDMA_BASEADDR);
22 #endif
23
24-#ifdef CONFIG_XILINX_EMACLITE
25+#if defined(CONFIG_XILINX_EMACLITE) && defined(XILINX_EMACLITE_BASEADDR)
26 u32 txpp = 0;
27 u32 rxpp = 0;
28 # ifdef CONFIG_XILINX_EMACLITE_TX_PING_PONG
29--
301.7.10.4
31