| Age | Commit message (Collapse) | Author |
|
The status polling can take a while, so make sure we kick the
watchdog after each successful poll.
Signed-off-by: Patrick Sestier <[email protected]>
Signed-off-by: Mike Frysinger <[email protected]>
|
|
Signed-off-by: John Rigby <[email protected]>
CC: Heiko Schocher <[email protected]>
|
|
This allows this configuration to be defined differently for some
boards that request it.
Signed-off-by: Valentin Longchamp <[email protected]>
cc: Holger Brunck <[email protected]>
cc: Heiko Schocher <[email protected]>
cc: Wolfgang Denk <[email protected]>
cc: Detlev Zundel <[email protected]>
cc: Prafulla Wadaskar <[email protected]>
|
|
This patch added set_mmc_clk for external clock control.
c210 didn't support host clock control.
So We need external_clock_control function for c210.
Signed-off-by: Jaehoon Chung <[email protected]>
Signed-off-by: Minkyu Kang <[email protected]>
Signed-off-by: Kyungmin Park <[email protected]>
|
|
Fix typo resulting in the compilation error
s5p_mmc.c: In function 's5p_mmc_initialize':
s5p_mmc.c:469: error: 'struct mmc' has no member named 'm_bmax'
introduced by commit "MMC: make b_max unconditional"
(8feafcc49c0b7a9c541904f95a43dbef2fecc38b)
Signed-off-by: Dirk Behme <[email protected]>
CC: John Rigby <[email protected]>
CC: Andy Fleming <[email protected]>
Signed-off-by: Minkyu Kang <[email protected]>
|
|
Before the actual initialization do a hard reset of the SATA port and the
connected device.
changes v1->v2:
- add comment for udelay
Signed-off-by: Michael Walle <[email protected]>
Cc: Prafulla Wadaskar <[email protected]>
Cc: Albert Aribaud <[email protected]>
|
|
Signed-off-by: Wolfgang Denk <[email protected]>
|
|
Add missing header file to fix compilation warning
omap_hsmmc.c: In function 'omap_mmc_init':
omap_hsmmc.c:474: warning: implicit declaration of function 'get_cpu_family'
omap_hsmmc.c:474: warning: implicit declaration of function 'get_cpu_rev'
introduced by commit "MMC: omap_hsmmc.c: disable
multiblock rw on old rev omap34xx silicon"
(4ca9244d74f146a0605f5bee28a66e39aae88d3e)
Signed-off-by: Dirk Behme <[email protected]>
CC: Andy Fleming <[email protected]>
CC: John Rigby <[email protected]>
|
|
commit 262951(MMC: make b_max unconditional) missed to update fsl_esdhc.
Signed-off-by: Fabio Estevam <[email protected]>
Acked-by: Stefano Babic <[email protected]>
|
|
For emmc, it may have up to 7 partitions: two boot partitions, one
user partition, one RPMB partition and four general purpose partitions.
(Refer to JESD84-A44.pdf/page 154)
As bootloader may need to read out or reflashing images on those
different partitions, it is better to enable the partition switch with
console command support.
Also for partition would be restore to user partition(part 0) when CMD0
is used, so change mmc_init routine to perform normal initialization
only once for each slot, unless use the rescan command to force init
again.
Signed-off-by: Lei Wen <[email protected]>
Acked-by: Andy Fleming <[email protected]>
|
|
mmc command applied device, like ide and usb...
Signed-off-by: Lei Wen <[email protected]>
Acked-by: Andy Fleming <[email protected]>
|
|
A "send status" command is added with the commit "mmc: checking
status after commands with R1b response". But the status register
returned from send status command of SPI protocol is different from
that of MMC/SD protocol. We do a simple test and generate a response
in stead of full bit-by-bit translation.
Signed-off-by: Thomas Chou <[email protected]>
|
|
Signed-off-by: Reinhard Meyer <[email protected]>
|
|
Signed-off-by: Reinhard Meyer <[email protected]>
|
|
and remove the now unused asm/arch-at91/io.h
Signed-off-by: Reinhard Meyer <[email protected]>
|
|
Signed-off-by: Reinhard Meyer <[email protected]>
|
|
Signed-off-by: Reinhard Meyer <[email protected]>
|
|
Signed-off-by: Andreas Bießmann <[email protected]>
|
|
Signed-off-by: Andreas Bießmann <[email protected]>
|
|
Avoid relocation problem by fix global declaration.
Signed-off-by: Macpaul Lin <[email protected]>
|
|
Faraday's ftide020_s is an IDE-AHB controller for SoC design.
This patch add the u-boot driver (PIO) of ftide020 ATA (IDE) driver.
IDE commands include read, info, and other functions has been implemented.
Because this IDE controller support AHB interface only which is differ
from other most IDE controller supports PCI interface. Some registers
access is required during CMD/DATA I/O. Hence a configuration
"CONFIG_IDE_AHB" is required to be defined according to the feature in
cmd_ide.c.
Signed-off-by: Macpaul Lin <[email protected]>
|
|
This patch adds support for the National LM64 temperature
sensor with integrated fan control to lm63.c.
Main difference between LM63 and LM64 is 16°C offset in sensor
readings.
Signed-off-by: Dirk Eibach <[email protected]>
|
|
Fix return values for initialize/init/recv/send functions
Signed-off-by: Michal Simek <[email protected]>
|
|
This is needed for the upcoming TFTP server implementation.
This also simplifies PingHandler() and fixes rxhand_f documentation.
Signed-off-by: Luca Ceresoli <[email protected]>
Cc: Wolfgang Denk <[email protected]>
Acked-by: Detlev Zundel <[email protected]>
|
|
|
|
Two new options:
CONFIG_PL011_SERIAL_RLCR
Some vendor versions of PL011 serial ports (e.g. ST-Ericsson U8500)
have separate receive and transmit line control registers. Set
this variable to initialize the extra register.
CONFIG_PL011_SERIAL_FLUSH_ON_INIT
On some platforms (e.g. U8500) U-Boot is loaded by a second stage
boot loader that has already initialized the UART. Define this
variable to flush the UART at init time.
empty fifo on init
Signed-off-by: John Rigby <[email protected]>
Signed-off-by: Rabin Vincent <[email protected]>
|
|
Signed-off-by: Fabio Estevam <[email protected]>
|
|
|
|
This patch adds support for OpenCores tiny_spi.
http://opencores.org/project,tiny_spi
Signed-off-by: Thomas Chou <[email protected]>
|
|
|
|
Signed-off-by: Mingkai Hu <[email protected]>
Singed-off-by: Jerry Huang <[email protected]>
Signed-off-by: Shaohui Xie <[email protected]>
Cc: Mike Frysinger <[email protected]>
Signed-off-by: Kumar Gala <[email protected]>
|
|
For freescale i.MX53 eSDHCv2, when using CMD12, cmdtype need
to be set to ABORT, otherwise, next read command will hang.
This is a software Software Restrictions in i.MX53 reference manual:
29.7.8 Multi-block Read
For pre-defined multi-block read operation, that is,the number of blocks
to read has been defined by previous CMD23 for MMC, or pre-defined number
of blocks in CMD53 for SDIO/SDCombo,or whatever multi-block read without
abort command at card side, an abort command, either automatic or manual
CMD12/CMD52, is still required by ESDHC after the pre-defined number of
blocks are done, to drive the internal state machine to idle mode. In this
case, the card may not respond to this extra abort command and ESDHC will
get Response Timeout. It is recommended to manually send an abort command
with RSPTYP[1:0] both bits cleared.
Signed-off-by: Jason Liu <[email protected]>
|
|
Signed-off-by: John Rigby <[email protected]>
|
|
Make existing field b_max field in struct mmc unconditional
and use it instead of CONFIG_SYS_MMC_MAX_BLK_COUNT in mmc_bread
and mmc_bwrite.
Initialize b_max to CONFIG_SYS_MMC_MAX_BLK_COUNT in mmc_register
if it has not been initialized by the hw driver.
Initialize b_max to 0 in all callers to mmc_register.
Signed-off-by: John Rigby <[email protected]>
Signed-off-by: Andy Fleming <[email protected]>
|
|
Add support for the ARM PrimeCell MultiMedia Interface - PL180.
Ported from original device driver written by ST-Ericsson.
Signed-off-by: Matt Waddel <[email protected]>
|
|
|
|
Use the 'video-mode' environment variable (for Freescale chips that have a
DIU display controller) to designate the full video configuration. Previously,
the DIU driver used the 'monitor' variable, and it was used only to determine
the output video port.
The old definition of the "monitor" environment variable only determines
which video port to use for output. This variable was set to a number (0,
1, or sometimes 2) to specify a DVI, LVDS, or Dual-LVDS port. The
resolution was hard-coded into board-specific code. The Linux command-line
arguments needed to be hard-coded to the proper video definition string.
Signed-off-by: Timur Tabi <[email protected]>
Signed-off-by: Anatolij Gustschin <[email protected]>
|
|
Add function video_get_video_mode(), which parses the "video-mode" environment
variable and returns each of its components. The format matches the video=
command-line option used for Linux:
video-mode=<driver>:<xres>x<yres>-<depth>@<freq><,option=string>
<driver> The video driver, ignored by U-Boot
<xres> The X resolution (in pixels) to use.
<yres> The Y resolution (in pixels) to use.
<depth> The color depth (in bits) to use.
<freq> The frequency (in Hz) to use.
<options> A comma-separated list of device-specific options
Signed-off-by: Timur Tabi <[email protected]>
|
|
There seems to be tools producing incorrect 'end of bitmap data'
markers '0100' in a RLE bitmap. Drawing such bitmaps can result
in overwriting memory above the frame buffer. E.g. on MPC5121e
based boards this memory can contain U-Boot environment.
We may not rely on the correct end of bitmap data marker 0001
only, but also have to check whether we are going to draw a
valid frame buffer scan line.
The patch provides a fix by maintaining a pixel counter
which is incremented by the amount of pixels we are going
to draw. If the counter exceeds frame buffer pixels limit
we stop the drawing with the error message.
Reported-by: Michael Weiss <[email protected]>
Signed-off-by: Anatolij Gustschin <[email protected]>
Tested-by: Anatolij Gustschin <[email protected]>
|
|
Deblock i2c bus when switching to another i2c bus, if using
i2c_set_bus_num().
Signed-off-by: Heiko Schocher <[email protected]>
cc: Wolfgang Denk <[email protected]>
cc: Detlev Zundel <[email protected]>
cc: Valentin Longchamp <[email protected]>
cc: Holger Brunck <[email protected]>
Signed-off-by: Valentin Longchamp <[email protected]>
|
|
|
|
|
|
Move the header file and definitions of ftsmc020
static memory control unit from a320 SoC folder to
"drivers/mtd" folder.
This change will let other SoC which also use ftsmc020
could share the same header file.
Signed-off-by: Macpaul Lin <[email protected]>
|
|
Signed-off-by: Albert ARIBAUD <[email protected]>
|
|
1. ftpmu010.h: fix and add definitions
Enhanced for more features and asm related support
according to datasheet.
Note:
- FTPMU010_PDLLCR0_HCLKOUTDIS is "incorrect" in datasheet.
- FTPMU010_PDLLCR0_DLLFRANG is only 1 bit at bit #19. (not 20-19)
- FTPMU010_PDLLCR0_HCLKOUTDIS is 4 bits at bit #20. (not 24-21)
2. ftpmu010.c: enhance features and fix relocation
- The following functions is added for pmu features.
ftpmu010_mfpsr_select_dev()
ftpmu010_sdramhtc_set()
- This patch also fix the declare statement for relocation.
Signed-off-by: Macpaul Lin <[email protected]>
|
|
Add the ability to support multiple i2c bus for mv_i2c
Acked-by: Heiko Schocher <[email protected]>
Acked-by: Prafulla Wadaskar <[email protected]>
Signed-off-by: Lei Wen <[email protected]>
|
|
Add i2c_clk_enable in the cpu specific code, since previous platform it,
while new platform don't need. In the pantheon and armada100 platform,
this function is defined as NULL one.
Acked-by: Heiko Schocher <[email protected]>
Acked-by: Prafulla Wadaskar <[email protected]>
Signed-off-by: Lei Wen <[email protected]>
|
|
The original 10000 value would be 100ms, which is not
the comments said.
Acked-by: Heiko Schocher <[email protected]>
Acked-by: Prafulla Wadaskar <[email protected]>
Signed-off-by: Lei Wen <[email protected]>
|
|
For better sharing with other platform other than pxa's,
it is more convenient to put the driver to the common place.
Acked-by: Heiko Schocher <[email protected]>
Acked-by: Prafulla Wadaskar <[email protected]>
Signed-off-by: Lei Wen <[email protected]>
|
|
Also add API declarations.
Signed-off-by: Po-Yu Chuang <[email protected]>
Signed-off-by: Albert Aribaud <[email protected]>
|