04 Mar, 2016
3 commits
-
Some type style problems found by review-commits for previous patch
MLK-12483, fix them in this patch and re-check.Signed-off-by: Ye Li
-
Add the fuse checking in drivers, when the module is disabled in fuse,
the driver will not work.Changed drivers: BEE, GPMI, APBH-DMA, ESDHC, FEC, QSPI, ECSPI, I2C,
USB-EHCI, GIS, LCDIF.Signed-off-by: Ye Li
-
The list_first_entry always assumes the list is not empty, it won't return NULL pointer when
the list is empty. So the "if (pdesc == NULL)" becomes a dead code. Fix the issue by calling
the list_empty before the list_first_entry.(Coverity CID 29934)
Signed-off-by: Ye.Li
29 Apr, 2015
1 commit
-
Update APBH-DMA driver and head files with definitions for CONFIG_MX7
Signed-off-by: Ye.Li
(cherry picked from commit 07299056426f1f25aab51ab5531c4846d4c7560f)
Signed-off-by: Peng Fan
07 Nov, 2014
1 commit
-
The verification qm_cfg existence is done at ksnav_init().
So, there is no need to verify it after initialization.Signed-off-by: Ivan Khoronzhuk
Reviewed-by: Tom Rini
23 Oct, 2014
3 commits
-
The EDMA3 controller’s primary purpose is to service data transfers
that you program between two memory-mapped slave endpoints on the device.Typical usage includes, but is not limited to the following:
- Servicing software-driven paging transfers (e.g., transfers from external
memory, such as SDRAM to internal device memory, such as DSP L2 SRAM)
- Servicing event-driven peripherals, such as a serial port
- Performing sorting or sub-frame extraction of various data structures
- Offloading data transfers from the main device DSP(s)
- See the device-specific data manual for specific peripherals that are
accessible via the EDMA3 controllerSigned-off-by: Ivan Khoronzhuk
-
The keystone_nav driver is general driver intended to be used for
working with queue manager and pktdma for different IPs like NETCP,
AIF, FFTC, etc. So the it's API shouldn't be named like it works only
with one of them, it should be general names. The names with prefix
like netcp_* rather do for drivers/net/keystone_net.c driver. So it's
good to generalize this driver to be used for different IP's and
delete confusion with real NETCP driver.The current netcp_* functions of keystone navigator can be used for
other settings of pktdma, not only for NETCP. The API of this driver
is used by the keystone_net driver to work with NETCP, so net driver
also should be corrected. For convenience collect pkdma
configurations in drivers/dma/keystone_nav_cfg.c.Acked-by: Vitaly Andrianov
Signed-off-by: Ivan Khoronzhuk -
The keystone_nav is used by drivers/net/keystone_net.c driver to
send and receive packets, but currently it's placed at keystone
arch sources. So it should be in the drivers directory also.
It's separate driver that can be used for sending and receiving
pktdma packets by others drivers also.This patch just move this driver to appropriate directory and
doesn't add any functional changes.Acked-by: Murali Karicheri
Signed-off-by: Ivan Khoronzhuk
25 Sep, 2014
2 commits
-
The macro MIN, MAX is defined as the aliase of min, max,
respectively.Signed-off-by: Masahiro Yamada
-
This would be useful to start moving various config options.
Signed-off-by: Masahiro Yamada
Acked-by: Simon Glass
Tested-by: Simon Glass
09 Aug, 2014
1 commit
-
The following configs are not defined at all.
- CONFIG_OMAP1510
- CONFIG_OMAP_1510P1
- CONFIG_OMAP_SX1
- CONFIG_OMAP3_DMA
- CONFIG_OMAP3_ZOOM2
- CONFIG_OMAP_INNOVATORSigned-off-by: Masahiro Yamada
Cc: Tom Rini
01 Nov, 2013
1 commit
-
Signed-off-by: Masahiro Yamada
10 Aug, 2013
1 commit
-
Add special function that executes a specially crafted circular
DMA descriptor. The function doesn't wait for the descriptor to
finish the transfer, since the descritor never finishes. This is
useful when operating a SmartLCD through the LCDIF interface, as
the LCDIF does not give us any means to have continuous refresh
of the SmartLCD. Instead, the RUN bit in the LCDIF CTRL register
must be triggered manually. This can be worked around by starting
an DMA transfer which continuously sets the RUN bit. This function
allows starting exactly such transfer.Signed-off-by: Marek Vasut
Cc: Anatolij Gustschin
Cc: Fabio Estevam
Cc: Otavio Salvador
Cc: Stefano Babic
24 Jul, 2013
1 commit
-
Signed-off-by: Wolfgang Denk
[trini: Fixup common/cmd_io.c]
Signed-off-by: Tom Rini
22 Apr, 2013
2 commits
-
This will be used by the i.MX6 NAND support.
Signed-off-by: Stefan Roese
Cc: Stefano Babic
Cc: Marek Vasut
Cc: Fabio Estevam -
The following headers are moved to a i.MX common location:
- regs-common.h
- regs-apbh.h
- regs-bch.h
- regs-gpmi.h
- dma.hThis way this header can be re-used also by other i.MX platforms.
For example the i.MX6 which will need it for the upcoming NAND
support.Signed-off-by: Stefan Roese
Cc: Stefano Babic
Cc: Marek Vasut
Cc: Fabio Estevam
28 Jan, 2013
1 commit
-
The MX23 has less channels for the APBH DMA, sligtly different register
layout and some bits in those registers are placed differently. Reflect
this in the driver. This patch fixes MMC/DMA issue on MX23.Signed-off-by: Marek Vasut
Cc: Otavio Salvador
Cc: Fabio Estevam
Cc: Stefano Babic
01 Sep, 2012
3 commits
-
Load from SPI flash can create a long DMA chain, which can take long
time to transfer. Change the DMA timeout to roughly 10s to prevent
such long chains misreporting errors.Signed-off-by: Marek Vasut
Cc: Fabio Estevam
Cc: Otavio Salvador
Cc: Stefano Babic -
The sys_proto.h functions (except the boot modes) are compatible with
i.MX233 and i.MX28 so we use 'mxs' prefix for its methods.Signed-off-by: Otavio Salvador
-
Signed-off-by: Otavio Salvador
16 Apr, 2012
1 commit
-
This fixes the issue where mxs_dma_init() was called either twice or never,
without introducing any new init hooks.The idea is to allow each and every device using the APBH DMA block to
configure and request only the channels it uses, instead of making it call init
for all the channels as is now.The common DMA block init part, which only configures the block, is then called
from CPUs arch_cpu_init() call.NOTE: This patch depends on:
http://patchwork.ozlabs.org/patch/150957/
Signed-off-by: Marek Vasut
Cc: Stefano Babic
Cc: Wolfgang Denk
Cc: Detlev Zundel
Cc: Fabio Estevam
Tested-by: Fabio Estevam
29 Mar, 2012
1 commit
-
The desc_append() now flushes descriptors into RAM.
Signed-off-by: Marek Vasut
Cc: Stefano Babic
07 Dec, 2011
2 commits
-
Some functions were internal to the apbh dma driver, so annotate them static.
Some of the functions weren't used at all so drop them. This makes the U-Boot
binary smaller by about 1500 bytes.Signed-off-by: Marek Vasut
Cc: Stefano Babic
Cc: Wolfgang Denk
Acked-by: Stefano Babic -
When a timeout occurs, the return value is prepared but never returned.
Fix that.Signed-off-by: Uwe Kleine-König
Signed-off-by: Wolfram Sang
Cc: Marek Vasut
Acked-by: Stefano Babic
11 Nov, 2011
1 commit
-
Signed-off-by: Marek Vasut
Cc: Stefano Babic
Cc: Wolfgang Denk
Cc: Detlev Zundel
28 Oct, 2011
1 commit
-
Adds an interface to use the OMAP3 DMA.
Signed-off-by: Simon Schwarz
Signed-off-by: Sandeep Paulraj
07 Jul, 2011
1 commit
-
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
Cc: York Sun
Cc: Peter Tyser
Cc: Kumar Gala
Signed-off-by: Kim Phillips
18 Nov, 2010
1 commit
-
Before this commit, weak symbols were not overridden by non-weak symbols
found in archive libraries when linking with recent versions of
binutils. As stated in the System V ABI, "the link editor does not
extract archive members to resolve undefined weak symbols".This commit changes all Makefiles to use partial linking (ld -r) instead
of creating library archives, which forces all symbols to participate in
linking, allowing non-weak symbols to override weak symbols as intended.
This approach is also used by Linux, from which the gmake function
cmd_link_o_target (defined in config.mk and used in all Makefiles) is
inspired.The name of each former library archive is preserved except for
extensions which change from ".a" to ".o". This commit updates
references accordingly where needed, in particular in some linker
scripts.This commit reveals board configurations that exclude some features but
include source files that depend these disabled features in the build,
resulting in undefined symbols. Known such cases include:
- disabling CMD_NET but not CMD_NFS;
- enabling CONFIG_OF_LIBFDT but not CONFIG_QE.Signed-off-by: Sebastien Carlier
01 Sep, 2010
1 commit
-
Use more bits to support 36-bit addressing
Signed-off-by: York Sun
Signed-off-by: Kumar Gala
26 Aug, 2009
1 commit
-
Change %08lX to %08X in board.c. Remove unused variable
'oscillator' in mcf5227x/cpu_init.c and 'scm2' in
mcf532x/cpu_init.c. Provide argument type cast in
drivers/dma/MCD_dmaApi.c.Signed-off-by: TsiChung Liew
03 Jul, 2009
1 commit
-
Signed-off-by: Peter Tyser
Reviewed-by: Ira W. Snyder
Tested-by: Ira W. Snyder
Acked-by: Kim Phillips
Signed-off-by: Kumar Gala
02 Jul, 2009
8 commits
-
Make DMA transactions snoopable so that CPUs can keep caches up-to-date.
This allows dma transactions to be used for operations such as memory
copies without any additional cache control operations.Signed-off-by: Peter Tyser
Signed-off-by: Kumar Gala -
Signed-off-by: Peter Tyser
Signed-off-by: Kumar Gala -
Also update dmacpy()'s argument order to match memcpy's and use
phys_addr_t/phy_size_t for address/size argumentsSigned-off-by: Peter Tyser
Signed-off-by: Kumar Gala -
The Channel Start (CS) bit in the Mode Register (MR) should actually be
cleared as the comment in the code suggests. Previously, CS was being
set, not cleared.Assuming normal operation of the DMA engine, this change shouldn't have
any real affect.Signed-off-by: Peter Tyser
Signed-off-by: Kumar Gala -
Support DMA transfers larger than the DMA controller's limit of
(2 ^ 26 - 1) bytesSigned-off-by: Peter Tyser
Signed-off-by: Kumar Gala -
Signed-off-by: Peter Tyser
Signed-off-by: Kumar Gala -
Signed-off-by: Peter Tyser
Signed-off-by: Kumar Gala -
DMA support is now enabled via the CONFIG_FSL_DMA define instead of the
previous CONFIG_DDR_ECCSigned-off-by: Peter Tyser
Signed-off-by: Kumar Gala
13 Aug, 2008
1 commit
-
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD