diff options
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.patch | 31 |
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 @@ | |||
| 1 | From 83f0e6e733aba458b9afac67f3c95c4e29712263 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Nathan Rossi <nathan.rossi@xilinx.com> | ||
| 3 | Date: Tue, 14 Apr 2015 15:35:57 +1000 | ||
| 4 | Subject: [PATCH] microblaze: Fix EMAC Lite initialization | ||
| 5 | |||
| 6 | It is possible for CONFIG_XILINX_EMACLITE to be defined without | ||
| 7 | XILINX_EMACLITE_BASEADDR being defined as the EMAC Lite driver support | ||
| 8 | OF init. Check that the driver is enabled and the base address is | ||
| 9 | available before initializing with a static base address. | ||
| 10 | |||
| 11 | Signed-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 | |||
| 16 | diff --git a/board/xilinx/microblaze-generic/microblaze-generic.c b/board/xilinx/microblaze-generic/microblaze-generic.c | ||
| 17 | index 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 | -- | ||
| 30 | 1.7.10.4 | ||
| 31 | |||
