u-boot-2016/drivers
javier Martin 651ef90fa6 mxc_fec: avoid free() calls to already freed pointers.
Sometimes, inside NetLoop, eth_halt() is called before eth_init() has
been called. This is harmless except for free() calls to pointers
which have not been allocated yet.

This patch initializes those pointers to NULL and allocates them only
the first time. This way we can get rid of free calls in halt callback.

This has been tested in i.MX27 Litekit board and eldk-4.2 toolchains.

Signed-off-by: Javier Martin <javier.martin@vista-silicon.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
2009-11-11 13:27:09 -08:00
..
bios_emulator Leave x86emu op code tables in default section 2009-10-12 23:34:06 +02:00
block Misc SATA fixups 2009-09-04 21:53:37 +02:00
dma ColdFire: Fix compile warning messages 2009-08-26 03:44:31 -05:00
fpga fpga: Remove relocation fixups 2009-10-03 10:17:56 +02:00
gpio Kirkwood: add Marvell Kirkwood gpio driver 2009-07-23 00:19:28 +02:00
hwmon Misc ds1722 fixups 2009-09-04 21:54:52 +02:00
i2c Clean-up of s3c24x0 drivers excluding nand driver 2009-10-13 21:13:56 -05:00
input License cleanup: remove unintended "All Rights Reserved" notices. 2009-09-04 23:00:56 +02:00
misc ppc/85xx: get_law_entry isn't used in CONFIG_NAND_SPL 2009-09-30 08:42:12 -05:00
mmc OMAP3 MMC: Fix warning dereferencing type-punned pointer 2009-10-13 06:17:36 -05:00
mtd cfi: Add weak default function for flash_cmd_reset() 2009-10-28 11:34:14 +01:00
net mxc_fec: avoid free() calls to already freed pointers. 2009-11-11 13:27:09 -08:00
pci ppc/85xx/pci: fsl_pci_init: pcie agent mode support 2009-10-27 09:33:51 -05:00
pcmcia Misc ti_pci1410a fixups 2009-09-04 21:54:04 +02:00
power OMAP3 Move twl4030 mmc function 2009-07-29 09:57:43 +02:00
qe mpc85xx: Configure QE USB for MPC8569E-MDS boards 2009-10-27 10:04:17 -05:00
rtc Clean-up of s3c24x0 drivers excluding nand driver 2009-10-13 21:13:56 -05:00
serial s5pc1xx: SMDKC100: fix compile warnings 2009-10-24 09:55:25 -05:00
spi Coldfire: Consolidate DSPI driver 2009-07-14 09:46:09 -05:00
twserial drivers/twserial: Add protocol driver for "three wire serial" interface. 2009-03-30 09:38:36 +02:00
usb usb: bugfix driver/usb/host/ehci-hcd.c function ehci_submit_root 2009-07-23 23:27:06 +02:00
video bus_vcxk.c: fix warning: unused variable 'lineptr' 2009-08-09 22:49:16 +02:00
watchdog at91sam9: add watchdog support 2009-04-04 20:42:19 +02:00