| Age | Commit message (Collapse) | Author |
|
Fix compiler warning:
cmd_fpga.c:318: warning: passing argument 3 of 'fit_image_get_data'
from incompatible pointer type
Adding the needed 'const' here entails a whole bunch of additonal
changes all over the FPGA code.
Signed-off-by: Wolfgang Denk <[email protected]>
Cc: Andre Schwarz <[email protected]>
Cc: Murray Jensen <[email protected]>
Acked-by: Andre Schwarz<[email protected]>
|
|
Fix the following:
ERROR: do not initialise statics to 0 or NULL
ERROR: do not use assignment in if condition
Signed-off-by: Wolfgang Denk <[email protected]>
|
|
Signed-off-by: Wolfgang Denk <[email protected]>
|
|
Run cfb_console.c through indent and manually fix some of he
deficiencies of the automatic line breaking.
Fix multiline comments, excessive line spacing and such.
No changes to code done.
Signed-off-by: Wolfgang Denk <[email protected]>
|
|
Commit 09c2e90c110ef99f1203685acd1059114a51b167 "unify version_string"
introduced a build breakage in cfb_console.c
---8<---
cfb_console.c:1497: warning: format '%s' expects type 'char *', but
argument 3 has type 'const char (*)[]'
--->8---
Signed-off-by: Andreas Bie�mann <[email protected]>
|
|
This reverts commit c310fc840472a36e4b9d2505830e9dc8d458d63c.
The Atmel custodian had apparently rejected this patch's approach in
another thread, so this patch reverts it for now.
Signed-off-by: Andy Fleming <[email protected]>
|
|
Recieve/Receive
recieve/receive
Interupt/Interrupt
interupt/interrupt
Addres/Address
addres/address
Signed-off-by: Mike Williams <[email protected]>
|
|
Only install der 4xx-EMAC interrupt handlers *after* the core
network driver is registered.
This problem was noticed on the APM Taishan 440GX board, where
the board hung upon bootup after displaying "Net:".
Signed-off-by: Stefan Roese <[email protected]>
|
|
This patch removes the architecture specific implementation of
version_string where possible. Some architectures use a special place
and therefore we provide U_BOOT_VERSION_STRING definition and a common
weak symbol version_string.
Signed-off-by: Andreas Bie�mann <[email protected]>
CC: Mike Frysinger <[email protected]>
CC: Peter Pan <[email protected]>
Acked-by: Mike Frysinger <[email protected]>
|
|
Support FPGAs which use Fast Passive Parallel configuration
Signed-off-by: Michael Jones <[email protected]>
|
|
Signed-off-by: Michael Jones <[email protected]>
Acked-by: Detlev Zundel <[email protected]>
|
|
Signed-off-by: Michael Jones <[email protected]>
Acked-by: Detlev Zundel <[email protected]>
|
|
Signed-off-by: Phil Edworthy <[email protected]>
Cc: Ben Warren <[email protected]>
|
|
gen10g_startup() had 2 bugs:
1) It had a boolean logic error in checking the MMD mask, and
always checked all of them.
2) It checked devices which don't actually report link state, which
meant that it would never believe the link was fully up.
Fix the boolean logic, and then mask the MMD mask so only link-reporting
devices are checked.
Signed-off-by: Andy Fleming <[email protected]>
Reported-by: Ed Swarthout <[email protected]>
|
|
The multi serial support has a "ctlr" field which almost no one uses,
but everyone is forced to set to useless strings. So punt it.
Funny enough, the only code that actually reads this field (the mpc8xx
driver) has a typo where it meant to look for the SCC driver. Fix it
while converting the check to use the name field.
Signed-off-by: Mike Frysinger <[email protected]>
CC: Heiko Schocher <[email protected]>
CC: Anatolij Gustschin <[email protected]>
CC: Tom Rix <[email protected]>
CC: Minkyu Kang <[email protected]>
CC: Craig Nauman <[email protected]>
CC: Marek Vasut <[email protected]>
CC: Prafulla Wadaskar <[email protected]>
CC: Mahavir Jain <[email protected]>
|
|
Rather than sticking arch/board/driver specific logic in the common
serial code, push it all out to the respective drivers. The serial
drivers declare these funcs weak so that boards can still override
things with their own definition.
Signed-off-by: Mike Frysinger <[email protected]>
CC: Heiko Schocher <[email protected]>
CC: Anatolij Gustschin <[email protected]>
CC: Tom Rix <[email protected]>
CC: Minkyu Kang <[email protected]>
CC: Craig Nauman <[email protected]>
CC: Prafulla Wadaskar <[email protected]>
CC: Mahavir Jain <[email protected]>
Tested-by: Minkyu Kang <[email protected]>
|
|
Newer SST flashes have dropped the Auto Address Increment (AAI) word
programming (WP) modes in favor of the standard page programming mode
that most flashes now support. So add a flags field to the different
flashes to support both modes with new and old styles.
Signed-off-by: Mike Frysinger <[email protected]>
|
|
Every spi flash uses the same write disable command, so unify this in
the common code.
Signed-off-by: Mike Frysinger <[email protected]>
Fixed commit message.
Signed-off-by: Wolfgang Denk <[email protected]>
|
|
These defines are used in only one place, so just inline them.
Signed-off-by: Mike Frysinger <[email protected]>
|
|
Now that the common spi_flash structure tracks all the info that these
drivers need, kill off their local state indirection and use just what
the common code provides.
Signed-off-by: Mike Frysinger <[email protected]>
|
|
Once we add a new page_size field for write lengths, we can unify the
write methods for most of the spi flash drivers.
Signed-off-by: Mike Frysinger <[email protected]>
|
|
Every spi flash uses the same write enable command, so unify this in
the common code.
Signed-off-by: Mike Frysinger <[email protected]>
|
|
|
|
Signed-off-by: Aneesh V <[email protected]>
|
|
If we don't want to build support for any partition types we can now
add #undef CONFIG_PARTITIONS in a board config file to keep this from
being compiled in. Otherwise boards assume this is compiled in by
default
Signed-off-by: Matthew McClintock <[email protected]>
|
|
Add support for AHCI controllers that are not PCI based.
Signed-off-by: Rob Herring <[email protected]>
Cc: Wolfgang Denk <[email protected]>
|
|
The ata id string always needs swapping, not just on BE machines.
Signed-off-by: Rob Herring <[email protected]>
|
|
andes_spi is an spi interface developed by Andes Tech.
Signed-off-by: Macpaul Lin <[email protected]>
Cc: Wolfgang Denk <[email protected]>
Cc: Mike Frysinger <[email protected]>
Acked-by: Mike Frysinger <[email protected]>
|
|
When CONFIG_DW_SEARCH_PHY is disabled, the local phy_addr variable
never gets initialized which causes random behavior at runtime and a
gcc warning. So set it by default to the stored phy address.
Signed-off-by: Mike Frysinger <[email protected]>
Reviewed-by: Vipin Kumar <[email protected]>
Fix commit message.
Signed-off-by: Wolfgang Denk <[email protected]>
|
|
The ctrl variable is only used when autoneg support is disabled, so only
declare it under those conditions to avoid an unused variable warning.
Signed-off-by: Mike Frysinger <[email protected]>
Reviewed-by: Vipin Kumar <[email protected]>
|
|
* 'master' of git://git.denx.de/u-boot-mmc:
mmc: rescan fails on empty slot
AT91:mmc:fix multiple read/write error
mmc: Access mode validation for eMMC cards > 2 GiB
mmc: sh_mmcif: add support for Renesas MMCIF
mmc: fix the condition for MMC version 4
MMC: add marvell sdhci driver
MMC: add sdhci generic framework
MMC: add erase function to both mmc and sd
MMC: unify mmc read and write operation
mmc: Tegra2: Enable SD/MMC driver for Seaboard and Harmony
mmc: Tegra2: SD/MMC driver for Seaboard - eMMC on SDMMC4, SDIO on SDMMC3
|
|
The patch provide the same API used with other i.MX
processors and get rid of mx31_ functions.
Signed-off-by: Stefano Babic <[email protected]>
|
|
Signed-off-by: Graeme Russ <[email protected]>
|
|
According to datasheet,set block count before multiple read/write.
Signed-off-by: elen.song <[email protected]>
Acked-by: Andy Fleming <[email protected]>
|
|
This patch provides handling of the two way handshake when SEND_OP_COND
(CMD1) is send to mmc card. It is necessary to inform eMMC card if the
host can work with high capacity cards (Jedec JESD84-A441, point 7.4.3).
The extra flag MMC_MODE_HC (high capacity) is added to indicate if the
host is capable of handling the high capacity eMMC cards.
Since this change is added to the generic mmc framework, then it requires
other boards to indicate if their mmc controllers can handle high capacity
cards. As it is now - the old behaviour of the framework is preserved.
Signed-off-by: Lukasz Majewski <[email protected]>
Signed-off-by: Andy Fleming <[email protected]>
|
|
Some Renesas SuperH have MMCIF module. This driver supports it.
Signed-off-by: Yoshihiro Shimoda <[email protected]>
Acked-by: Andy Fleming <[email protected]>
|
|
Fix the problem that if we use the chip of MMC version 4 and
the capacity is smaller than 2GB or equal, the mmc->capacity is
invalid. According to the JEDEC Standard, the value of ext_csd's
capacity is valid if the value is more than 2GB.
Signed-off-by: Yoshihiro Shimoda <[email protected]>
Acked-by: Andy Fleming <[email protected]>
|
|
This could support both armada100 and pantheon serial in the mainline,
while this driver also be tested to support upcoming mg, mmp2 and mmp3
hardware.
Signed-off-by: Lei Wen <[email protected]>
Acked-by: Andy Fleming <[email protected]>
|
|
Nowdays, there are plenty of mmc driver in uboot adopt the sd standard
host design, aka as sdhci. It is better to centralize the common logic
together to better maintenance.
Signed-off-by: Lei Wen <[email protected]>
Acked-by: Andy Fleming <[email protected]>
|
|
Erase is a very basic function since the begin of sd specification is
announced. Although we could write a bulk of full 0xff memory to the
range to take place of erase, it is more convenient and safe to
implement the erase function itself.
Signed-off-by: Lei Wen <[email protected]>
Signed-off-by: Andy Fleming <[email protected]>
Acked-by: Mike Frysinger <[email protected]>
|
|
Signed-off-by: Tom Warren <[email protected]>
Acked-by: Andy Fleming <[email protected]>
|
|
Adding support for USB host on imx25 using the internal PHY. Changing the name
of base address define for imx31 to get some unification.
Signed-off-by: Matthias Weisser <[email protected]>
|
|
Commit 359ec4931944adb885882deb9b781e4095eabc94 broke support for the
Freescale DMA engine on the 83xx parts. This is due to using registers
which do not exist on 83xx. Remove the attribute register accesses from
the 83xx build.
Signed-off-by: Ira W. Snyder <[email protected]>
Cc: York Sun <[email protected]>
Cc: Peter Tyser <[email protected]>
Cc: Kumar Gala <[email protected]>
Signed-off-by: Kim Phillips <[email protected]>
|
|
The at91rm9200_usart driver could be fully replaced by atmel_usart driver.
Signed-off-by: Andreas Bießmann <[email protected]>
|
|
Signed-off-by: Tom Warren <[email protected]>
|
|
This patch adds support for 16 bit NAND devices attached to the
NDFC on ppc4xx processors. Two config entries were added:
CONFIG_SYS_NDFC_16 - Setting this tells the NDFC that a
16 bit device is attached.
CONFIG_SYS_NDFC_EBC0_CFG - This is for the External Bus
Controller configuration register.
Also, a new ndfc_read_byte() function was added which does not
first convert the data to little endian.
The NAND SPL was also modified to do 16bit bad block testing
when a 16 bit chip is being used.
Signed-off-by: Alex Waterman <[email protected]>
Signed-off-by: Scott Wood <[email protected]>
|
|
Add a flag to nand_read_skip_bad() such that if true, any trailing
pages in an eraseblock whose contents are entirely 0xff will be
dropped.
The implementation is via a new drop_ffs() function which is
based on the function of the same name from the ubiformat
utility by Artem Bityutskiy.
This is as-per the reccomendations of the UBI FAQ [1]
[1] http://www.linux-mtd.infradead.org/doc/ubi.html#L_flasher_algo
Signed-off-by: Ben Gardiner <[email protected]>
CC: Artem Bityutskiy <[email protected]>
Acked-by: Detlev Zundel <[email protected]>
CC: Scott Wood <[email protected]>
Signed-off-by: Scott Wood <[email protected]>
|
|
When specified in the flags argument of nand_write, WITH_YAFFS_OOB causes an
operation which is mutually exclusive with the 'usual' way of writing.
Add a check that client code does not specify WITH_YAFFS_OOB along with any
other flags and add a comment indicating that the WITH_YAFFS_OOB flag should
not be mixed with other flags.
Signed-off-by: Ben Gardiner <[email protected]>
CC: Scott Wood <[email protected]>
Signed-off-by: Scott Wood <[email protected]>
|
|
In a future commit the behaviour of nand_write_skip_bad()
will be further extended.
Convert the only flag currently passed to the nand_write_
skip_bad() function to a bitfield of only one allocated
member. This should avoid an explosion of int's at the
end of the parameter list or the ambiguous calls like
nand_write_skip_bad(info, offset, len, buf, 0, 1, 1);
nand_write_skip_bad(info, offset, len, buf, 0, 1, 0);
Instead there will be:
nand_write_skip_bad(info, offset, len, buf, WITH_YAFFS_OOB |
WITH_OTHER);
Signed-off-by: Ben Gardiner <[email protected]>
Acked-by: Detlev Zundel <[email protected]>
Signed-off-by: Scott Wood <[email protected]>
|
|
Replace an incorrect 'read' with 'write' in a comment.
Signed-off-by: Ben Gardiner <[email protected]>
Acked-by: Detlev Zundel <[email protected]>
Signed-off-by: Scott Wood <[email protected]>
|