mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-05 02:51:00 +00:00
2043f9c4c1
Move the main option for handling drivers/dma/keystone_nav* to Kconfig, and enable it by default. All of the sub-symbols are not configurable, so remove them from the CONFIG namespace. Signed-off-by: Tom Rini <trini@konsulko.com>
24 lines
763 B
C
24 lines
763 B
C
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* Multicore Navigator driver for TI Keystone 2 devices.
|
|
*
|
|
* (C) Copyright 2012-2014
|
|
* Texas Instruments Incorporated, <www.ti.com>
|
|
*/
|
|
|
|
#include <asm/ti-common/keystone_nav.h>
|
|
|
|
/* NETCP Pktdma */
|
|
struct pktdma_cfg netcp_pktdma = {
|
|
.global = (void *)KS2_NETCP_PDMA_CTRL_BASE,
|
|
.tx_ch = (void *)KS2_NETCP_PDMA_TX_BASE,
|
|
.tx_ch_num = KS2_NETCP_PDMA_TX_CH_NUM,
|
|
.rx_ch = (void *)KS2_NETCP_PDMA_RX_BASE,
|
|
.rx_ch_num = KS2_NETCP_PDMA_RX_CH_NUM,
|
|
.tx_sched = (u32 *)KS2_NETCP_PDMA_SCHED_BASE,
|
|
.rx_flows = (void *)KS2_NETCP_PDMA_RX_FLOW_BASE,
|
|
.rx_flow_num = KS2_NETCP_PDMA_RX_FLOW_NUM,
|
|
.rx_free_q = KS2_NETCP_PDMA_RX_FREE_QUEUE,
|
|
.rx_rcv_q = KS2_NETCP_PDMA_RX_RCV_QUEUE,
|
|
.tx_snd_q = KS2_NETCP_PDMA_TX_SND_QUEUE,
|
|
};
|