- Oct 16, 2011
-
-
Mike Frysinger authored
The new debug() changes pointed out debug code that rotted a little. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
- Oct 15, 2011
-
-
Anatolij Gustschin authored
PCI cards might need some time after reset to respond. On some boards (mpc5200 or mpc8260 based) the PCI bus reset is deasserted at pci_init_board() time, so we currently can not use available "pcidelay" option for waiting before PCI bus scan since this waiting takes place before calling pci_init_board(). By moving the pcidelay code to the new location using of the "pcidelay" option is possible on mpc5200 or mpc8260 based boards, too. Since pci_hose_scan() could be called multiple times, restrict the function to wait only during its first call and to ignore pcidelay for any further call (as pointed out by Matthias). Signed-off-by:
Anatolij Gustschin <agust@denx.de> Cc: Matthias Fuchs <matthias.fuchs@esd.eu> Acked-by:
Stefan Roese <sr@denx.de> Acked-by:
Matthias Fuchs <matthias.fuchs@esd.eu> Tested-by:
Matthias Fuchs <matthias.fuchs@esd.eu>
-
Michal Simek authored
Add axi_ethernet driver for little-endian Microblaze. RX/TX BDs and rxframe buffer are shared among all axi_ethernet MACs. Only one MAC can work in one time. Signed-off-by:
Michal Simek <monstr@monstr.eu> Acked-by:
Mike Frysinger <vapier@gentoo.org>
-
Michal Simek authored
Coding style should follow linux coding style. Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
Michal Simek authored
Do not setup additional ENET_MAX_MTU macro. Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
Michal Simek authored
Setup RX/TX ping-pong buffer for every emaclite IP separately. The next patch move initialization directly to board code. Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
- Oct 14, 2011
-
-
Timur Tabi authored
Before the Teranetics TN2020 PHY can be used, the SERDES lanes need to be aligned, so wait for lane alignment before completing the startup sequence. Note that this process can take up to three seconds. Signed-off-by:
Timur Tabi <timur@freescale.com> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Timur Tabi authored
The EC1_EXT, EC2_EXT, and EC3 bits in the RCW don't officially exist on the P3060 and should always be set to zero. Signed-off-by:
Timur Tabi <timur@freescale.com> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
- Oct 12, 2011
-
-
Xiangfu Liu authored
Jz4740 NAND flash controller can support: * MLC NAND as well as SLC NAND * all 8-bit/16-bit NAND flash devices * HAMMING and RS hardware ECC * automatic boot up from NAND flash devices nand_ecclayout is set up for 2GiB NAND chip mounted in Qi LB60. We'll bring up boot-from-NAND support in nand_spl/ in the future. Signed-off-by:
Xiangfu Liu <xiangfu@openmobilefree.net> Acked-by:
Daniel <zpxu@ingenic.cn> Signed-off-by:
Shinya Kuribayashi <skuribay@pobox.com>
-
Holger Brunck authored
This fixes that u-boot gets stuck when a bitflip was detected during "ubi part <ubi_device>". If a bitflip was detected UBI tries to copy the PEB to a different place. This needs that the eba table are initialized, but this was done after the wear levelling worker detects the bitflip. So changes the initialisation of these two tasks in u-boot. This is a u-boot specific patch and not needed in the linux layer, because due to commit 1b1f9a9d UBI: Ensure that "background thread" operations are really executed we schedule these tasks in place and not as in linux after the inital task which schedule this new task is finished. Signed-off-by:
Holger Brunck <holger.brunck@keymile.com> cc: Stefan Roese <sr@denx.de> Signed-off-by:
Stefan Roese <sr@denx.de>
-
- Oct 10, 2011
-
-
Laurence Withers authored
In nand_davinci_readecc(), select the correct NANDF<n>ECC register based on CONFIG_SYS_NAND_CS rather than hardcoding the choice of NANDF1ECC. This allows 1-bit hardware ECC to work with chip select other than CS2. Note this now matches the usage in nand_davinci_enable_hwecc(), which already had the correct handling, and allows refactoring to a single function encapsulating the register read. Without this fix, writing NAND pages to a chip not wired to CS2 would result in in the ECC calculation always returning FFFFFF for each 512-byte segment, and reading back a correctly written page (one with ECC intact) would always fail. With this fix, the ECC is written and verified correctly. Signed-off-by:
Laurence Withers <lwithers@guralp.com> Signed-off-by:
Scott Wood <scottwood@freescale.com>
-
- Oct 09, 2011
-
-
Tang Yuantian authored
If CONFIG_LBA48 is not defined, the element lba48 of struct sata_dev_desc is not avaible, and can't be used. Signed-off-by:
Tang Yuantian <b29983@freescale.com> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Timur Tabi authored
Function dtsec_configure_serdes() needs to know where the TBI PHY registers are in order to configure SGMII for proper SerDes operation. During SGMII initialzation, fm_eth_init_mac() passing NULL for 'phyregs' when it called init_dtsec(), because it was believed that phyregs was not used. In fact, it is used by dtsec_configure_serdes() to configure the TBI PHY registers. We also need to define the PHY registers in struct fm_mdio. Signed-off-by:
Timur Tabi <timur@freescale.com> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Andy Fleming authored
The Teranetics PHY does not properly report the link state for fiber connections. The new PHY code actually checked the link, and so the FM driver would refuse to talk over a linkless PHY. But the link may actually be up, so now we always report it as up for fiber connections on the tn2020. Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
Wolfgang Denk authored
Fix: ohci-hcd.c: In function 'dl_transfer_length': ohci-hcd.c:968:8: warning: variable 'tdINFO' set but not used [-Wunused-but-set-variable] Signed-off-by:
Wolfgang Denk <wd@denx.de> Cc: Remy Bohmer <linux@bohmer.net> Acked-by:
Remy Bohmer <linux@bohmer.net>
-
Wolfgang Denk authored
Fix: smc91111.c: In function 'smc_phy_configure': smc91111.c:1194:6: warning: variable 'failed' set but not used [-Wunused-but-set-variable] smc91111.c:1190:7: warning: variable 'phyaddr' set but not used [-Wunused-but-set-variable] Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
Wolfgang Denk authored
Fix: cfi_mtd.c: In function 'cfi_mtd_init': cfi_mtd.c:226:19: warning: variable 'mtd_list' set but not used [-Wunused-but-set-variable] cfi_mtd.c: In function 'cfi_mtd_init': cfi_mtd.c:225:6: warning: unused variable 'devices_found' cfi_mtd.c: In function 'cfi_mtd_init': cfi_mtd.c:226:19: warning: variable 'mtd_list' set but not used [-Wunused-but-set-variable] [-Wunused-variable] Signed-off-by:
Wolfgang Denk <wd@denx.de> Cc: Stefan Roese <sr@denx.de> Acked-by:
Stefan Roese <sr@denx.de>
-
Michael Walle authored
Esp. while printing the environment the output is usually longer than 512 bytes. Instead of cutting the message, send multiple 512 bytes packets. Signed-off-by:
Michael Walle <michael@walle.cc> Acked-by:
Mike Frysinger <vapier@gentoo.org>
-
Michal Simek authored
Add support for SERIAL MULTI for uartlite. Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
- Oct 05, 2011
-
-
Mike Frysinger authored
This is long over due. All but two net drivers have been converted, but those have now been dropped. The only thing left to do is actually delete all references to NET_MULTI and code that is compiled when that is not defined. So here we scrub the core code. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
This driver was never converted to NET_MULTI, and no board uses it. So punt it and be done. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
These drivers have never been converted to NET_MULTI, and they are only used by one board (BMW). So drop the drivers until someone feels like rewriting them for NET_MULTI support. Rather than punting the BMW board completely, just disable net support in its board config. Seems to build fine without it. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Marek Vasut authored
Signed-off-by:
Marek Vasut <marek.vasut@gmail.com> Tested-by:
Wolfgang Denk <wd@denx.de> Acked-by:
Wolfgang Denk <wd@denx.de>
-
- Oct 03, 2011
-
-
Marek Vasut authored
This avoids colision with nand subsystem's functions. Signed-off-by:
Marek Vasut <marek.vasut@gmail.com> Cc: Scott Wood <scottwood@freescale.com> Signed-off-by:
Scott Wood <scottwood@freescale.com>
-
mhench authored
The eLBC NAND driver currently follows up each program/write operation with a read-back of the page, in order to [ostensibly] fill in ECC data for the caller. However, the page address used for this read is always -1, so the read will never work correctly. Remove this useless (and potentially problematic) block of code. v2: fix broken mailer Signed-off-by:
mhench <mhench@elutions.com> Signed-off-by:
Scott Wood <scottwood@freescale.com>
-
Marek Vasut authored
Signed-off-by:
Marek Vasut <marek.vasut@gmail.com> Cc: Scott Wood <scottwood@freescale.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Wolfgang Denk <wd@denx.de> Cc: Detlev Zundel <dzu@denx.de> [scottwood@freescale.com: use chip instead of redundant priv_nand] Signed-off-by:
Scott Wood <scottwood@freescale.com>
-
Helmut Raiger authored
When writing 0x4000 to the unlockend_blkaddr register, large writes to a 2k page NAND sometimes fail. The current kernel driver writes 0xFFFF to this register for V2 of the nand controller. However on an i.MX31 this also fixes writes larger than 32MB. The datasheet is very unspecific, but (0x4000=16384)*2000 roughly fits the limits we're encountering with NAND writes. This problem might be NAND chip specific. Signed-off-by:
Helmut Raiger <helmut.raiger@hale.at> Signed-off-by:
Scott Wood <scottwood@freescale.com>
-
Helmut Raiger authored
Signed-off-by:
Helmut Raiger <helmut.raiger@hale.at> Signed-off-by:
Scott Wood <scottwood@freescale.com>
-
Stefan Bigler authored
The new SAMSUNG NAND Flash K9F1G08U0D require a bigger chip_delay. The Data Transfer from Cell to Register is >= 35us. Other Vendors and older chips normally use >= 25us. To have enough margin 40us is selected. Signed-off-by:
Stefan Bigler <stefan.bigler@keymile.com> Signed-off-by:
Holger Brunck <holger.brunck@keymile.com> cc: Prafulla Wadaskar <prafulla@marvell.com> cc: Stefan Roese <sr@denx.de> Signed-off-by:
Scott Wood <scottwood@freescale.com>
-
Shengzhou Liu authored
Add P3060 SoC specific information:cores setup, LIODN setup, etc The P3060 SoC combines six e500mc Power Architecture processor cores with high-performance datapath acceleration architecture(DPAA), CoreNet fabric infrastructure, as well as network and peripheral interfaces. Signed-off-by:
Shengzhou Liu <Shengzhou.Liu@freescale.com> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Kumar Gala authored
The SoC configuration may have more ports enabled than a given board actually can utilize. Add a routinue that allows the board code to disable a port that it knows isn't being used. fm_disable_port() needs to be called before cpu_eth_init(). Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Lei Wen authored
When enable the multi-bus, the current_bus is not inited in the original implementation, which make the i2c operation unpredicatable. Signed-off-by:
Lei Wen <leiwen@marvell.com>
-
Lei Wen authored
When DEBUG_I2C is open, the following build issue would shows up. mv_i2c.c: In function 'i2c_transfer': mv_i2c.c:257: error: 'ISR' undeclared (first use in this function) mv_i2c.c:257: error: (Each undeclared identifier is reported only once mv_i2c.c:257: error: for each function it appears in.) Signed-off-by:
Lei Wen <leiwen@marvell.com>
-
Michal Simek authored
Every emaclite instance use own setting. Signed-off-by:
Michal Simek <monstr@monstr.eu> Acked-by:
Mike Frysinger <vapier@gentoo.org>
-
Michal Simek authored
Use dev->iobase instead of baseaddress. Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
Michal Simek authored
Simplify driver logic and clear eth_device structure in one command. Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
Michal Simek authored
Cleanup structure. Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
Michal Simek authored
Current xilinx emaclite use net multi registration but doesn't support several emaclites interfaces. Changing driver name with adding address to name is the first step how to distiguish several drivers. Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
- Oct 01, 2011
-
-
Marek Vasut authored
vmt.c: In function ‘ubi_free_volume’: vmt.c:681:6: warning: variable ‘err’ set but not used [-Wunused-but-set-variable] Signed-off-by:
Marek Vasut <marek.vasut@gmail.com> Acked-by:
Mike Frysinger <vapier@gentoo.org>
-
Marek Vasut authored
nand_bbt.c: In function ‘search_bbt’: nand_bbt.c:465:6: warning: variable ‘bits’ set but not used [-Wunused-but-set-variable] Signed-off-by:
Marek Vasut <marek.vasut@gmail.com> Cc: Scott Wood <scottwood@freescale.com>
-