- Jan 27, 2016
-
-
Michal Simek authored
Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Siva Durga Prasad Paladugu authored
Add bitstream type BIT_NONE to the bitstream type enum. This might be useful while loading bitstreams in respective drivers. Signed-off-by:
Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Siva Durga Prasad Paladugu authored
Check for substrings in deviceID validation check so that it can support xa bitstreams also. Signed-off-by:
Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
board_init() is in final elf file but it is not called at all. Use board_init_late() instead and call gpio_init() from it. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Cleanup board file. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Do not setup ram start/size in board file. Read it from DT instead. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
No need to have empty unused file in architecture code. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Cleanup board file. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
And enable it via defconfig by default. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Systemace is ancient IP which is not tested. Remove it from default configuration. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Cleanup board specific file. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Enable driver by default for all platforms. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Add PHYLIB and MII dependencies and enable it by default for Microblaze. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Michal Simek authored
Pass pointer to core to handle packet. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Rename start and stop functions to align with DM functions names. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Move driver to DM. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Michal Simek authored
When IP is configured with pong buffers, IP is receiving packets to ping and then to pong buffer and than ping again. The original logic in the driver remains there that when ping buffer is free, pong buffer is checked too and return if both are free. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
The original logic in the driver was exchanging buffers which are used for sending packet and tx_ping and tx_pong buffers were exchanged all the time to ensure that IP has enough time to send the packet out. Based on this "feature" send function was using nextbuffertouse variable to save which buffer should be used. Before this algorithm was called driver checked that there is free buffer available. This checking remains in the driver but driver tries to use tx_ping first if available. If not, tx_pong buffer is used instead. To reach this code the original condition is met that at least one of the buffer should be available. Testing doesn't show any performance drop when this patch is applied. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Michal Simek authored
This flag is not documented anywhere in the latest documentation that's why this patch removes it. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Michal Simek authored
Simplify logic how to find out if there is free TX buffer. Both buffers are checked all the time that's why logic around order can be removed. Also add check when only one buffer is available. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Michal Simek authored
Move to use indirect register access when timeout expires for resetting TX buffers. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Michal Simek authored
Do initialization via indirect register access. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Do initialization via indirect register access. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Michal Simek authored
Use u-boot coding style how to setup and access MDIO bus. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Michal Simek authored
Add MDIO support before move to DM. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Michal Simek authored
Prepare for DM move. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Michal Simek authored
Also add dependency on PHYLIB and MII which is required. Clean PHYLIB dependency from the driver too. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Michal Simek authored
Rename few functions to fit to the new name convention used by DM. Suggested-by:
Joe Hershberger <joe.hershberger@ni.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Call net_process_received_packet() by core. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Michal Simek authored
Detect phy when driver probes. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Michal Simek authored
Move driver to DM. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Michal Simek authored
Use axidma_priv instead of ethdevice in preparation of the DM move. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Prepare for move to DM. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Michal Simek authored
Saving iobase directly to private structure helps with moving to DM. There is an option to load iobase from pdata but it is additional load. Pointer to private structure is available all the time. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Michal Simek authored
Simplify mdio_wait function by passing regs directly. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Michal Simek authored
Fix debug message. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Michal Simek authored
Fix these compilation warning by proper grouping: In function 'axi_dma_init': drivers/net/xilinx_axi_emac.c:391:7: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] if (!(in_be32(&priv->dmatx->control) | ^ In function 'axiemac_send': drivers/net/xilinx_axi_emac.c:501:21: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] while (timeout && (!in_be32(&priv->dmatx->status) & Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Michal Simek authored
To solve enabling ETH_DM where ksz90x1_reg_field is defined only when additional Micrel type is defined. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
There is no i2c driver in the current u-boot. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-