0105f5930b5ae566be1a761d6e00c58eceb13a97
[openwrt/staging/dedeckeh.git] / target / linux / layerscape / patches-4.9 / 201-config-support-layerscape.patch
1 From 11edf9c88acea13d1a02901289060263b4027a77 Mon Sep 17 00:00:00 2001
2 From: Yangbo Lu <yangbo.lu@nxp.com>
3 Date: Mon, 25 Sep 2017 09:52:26 +0800
4 Subject: [PATCH] config: support layerscape
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 This is a integrated patch for layerscape config/makefile support.
10
11 Signed-off-by: Yuantian Tang <andy.tang@nxp.com>
12 Signed-off-by: Zhang Ying-22455 <ying.zhang22455@nxp.com>
13 Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com>
14 Signed-off-by: Bogdan Purcareata <bogdan.purcareata@nxp.com>
15 Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com>
16 Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
17 Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
18 ---
19 drivers/base/Kconfig | 1 +
20 drivers/crypto/Makefile | 2 +-
21 drivers/net/ethernet/freescale/Kconfig | 4 +-
22 drivers/net/ethernet/freescale/Makefile | 2 +
23 drivers/ptp/Kconfig | 29 ++++++
24 drivers/rtc/Kconfig | 8 ++
25 drivers/rtc/Makefile | 1 +
26 drivers/soc/Kconfig | 3 +-
27 drivers/soc/fsl/Kconfig | 22 +++++
28 drivers/soc/fsl/Kconfig.arm | 16 ++++
29 drivers/soc/fsl/Makefile | 4 +
30 drivers/soc/fsl/layerscape/Kconfig | 10 +++
31 drivers/soc/fsl/layerscape/Makefile | 1 +
32 drivers/soc/fsl/rcpm.c | 154 ++++++++++++++++++++++++++++++++
33 drivers/staging/Kconfig | 4 +
34 drivers/staging/Makefile | 2 +
35 drivers/staging/fsl-dpaa2/Kconfig | 41 +++++++++
36 drivers/staging/fsl-dpaa2/Makefile | 9 ++
37 18 files changed, 309 insertions(+), 4 deletions(-)
38 create mode 100644 drivers/soc/fsl/Kconfig
39 create mode 100644 drivers/soc/fsl/Kconfig.arm
40 create mode 100644 drivers/soc/fsl/layerscape/Kconfig
41 create mode 100644 drivers/soc/fsl/layerscape/Makefile
42 create mode 100644 drivers/soc/fsl/rcpm.c
43 create mode 100644 drivers/staging/fsl-dpaa2/Kconfig
44 create mode 100644 drivers/staging/fsl-dpaa2/Makefile
45
46 diff --git a/drivers/base/Kconfig b/drivers/base/Kconfig
47 index e1c0e2e0..4211a7fd 100644
48 --- a/drivers/base/Kconfig
49 +++ b/drivers/base/Kconfig
50 @@ -237,6 +237,7 @@ config GENERIC_CPU_AUTOPROBE
51
52 config SOC_BUS
53 bool
54 + select GLOB
55
56 source "drivers/base/regmap/Kconfig"
57
58 diff --git a/drivers/crypto/Makefile b/drivers/crypto/Makefile
59 index ad7250fa..6d788fd7 100644
60 --- a/drivers/crypto/Makefile
61 +++ b/drivers/crypto/Makefile
62 @@ -3,7 +3,7 @@ obj-$(CONFIG_CRYPTO_DEV_ATMEL_SHA) += atmel-sha.o
63 obj-$(CONFIG_CRYPTO_DEV_ATMEL_TDES) += atmel-tdes.o
64 obj-$(CONFIG_CRYPTO_DEV_BFIN_CRC) += bfin_crc.o
65 obj-$(CONFIG_CRYPTO_DEV_CCP) += ccp/
66 -obj-$(CONFIG_CRYPTO_DEV_FSL_CAAM) += caam/
67 +obj-$(CONFIG_CRYPTO_DEV_FSL_CAAM_COMMON) += caam/
68 obj-$(CONFIG_CRYPTO_DEV_GEODE) += geode-aes.o
69 obj-$(CONFIG_CRYPTO_DEV_HIFN_795X) += hifn_795x.o
70 obj-$(CONFIG_CRYPTO_DEV_IMGTEC_HASH) += img-hash.o
71 diff --git a/drivers/net/ethernet/freescale/Kconfig b/drivers/net/ethernet/freescale/Kconfig
72 index d1ca45fb..74a2864e 100644
73 --- a/drivers/net/ethernet/freescale/Kconfig
74 +++ b/drivers/net/ethernet/freescale/Kconfig
75 @@ -5,7 +5,7 @@
76 config NET_VENDOR_FREESCALE
77 bool "Freescale devices"
78 default y
79 - depends on FSL_SOC || QUICC_ENGINE || CPM1 || CPM2 || PPC_MPC512x || \
80 + depends on FSL_SOC || (QUICC_ENGINE && PPC32) || CPM1 || CPM2 || PPC_MPC512x || \
81 M523x || M527x || M5272 || M528x || M520x || M532x || \
82 ARCH_MXC || ARCH_MXS || (PPC_MPC52xx && PPC_BESTCOMM) || \
83 ARCH_LAYERSCAPE
84 @@ -93,4 +93,6 @@ config GIANFAR
85 and MPC86xx family of chips, the eTSEC on LS1021A and the FEC
86 on the 8540.
87
88 +source "drivers/net/ethernet/freescale/sdk_fman/Kconfig"
89 +source "drivers/net/ethernet/freescale/sdk_dpaa/Kconfig"
90 endif # NET_VENDOR_FREESCALE
91 diff --git a/drivers/net/ethernet/freescale/Makefile b/drivers/net/ethernet/freescale/Makefile
92 index cbe21dc7..a5d4405f 100644
93 --- a/drivers/net/ethernet/freescale/Makefile
94 +++ b/drivers/net/ethernet/freescale/Makefile
95 @@ -21,4 +21,6 @@ gianfar_driver-objs := gianfar.o \
96 obj-$(CONFIG_UCC_GETH) += ucc_geth_driver.o
97 ucc_geth_driver-objs := ucc_geth.o ucc_geth_ethtool.o
98
99 +obj-$(if $(CONFIG_FSL_SDK_FMAN),y) += sdk_fman/
100 +obj-$(if $(CONFIG_FSL_SDK_DPAA_ETH),y) += sdk_dpaa/
101 obj-$(CONFIG_FSL_FMAN) += fman/
102 diff --git a/drivers/ptp/Kconfig b/drivers/ptp/Kconfig
103 index ee3de342..4c45beda 100644
104 --- a/drivers/ptp/Kconfig
105 +++ b/drivers/ptp/Kconfig
106 @@ -39,6 +39,35 @@ config PTP_1588_CLOCK_GIANFAR
107 To compile this driver as a module, choose M here: the module
108 will be called gianfar_ptp.
109
110 +config PTP_1588_CLOCK_DPAA
111 + tristate "Freescale DPAA as PTP clock"
112 + depends on FSL_SDK_DPAA_ETH
113 + select PTP_1588_CLOCK
114 + select FSL_DPAA_TS
115 + default n
116 + help
117 + This driver adds support for using the DPAA 1588 timer module
118 + as a PTP clock. This clock is only useful if your PTP programs are
119 + getting hardware time stamps on the PTP Ethernet packets
120 + using the SO_TIMESTAMPING API.
121 +
122 + To compile this driver as a module, choose M here: the module
123 + will be called dpaa_ptp.
124 +
125 +config PTP_1588_CLOCK_DPAA2
126 + tristate "Freescale DPAA2 as PTP clock"
127 + depends on FSL_DPAA2_ETH
128 + select PTP_1588_CLOCK
129 + default y
130 + help
131 + This driver adds support for using the DPAA2 1588 timer module
132 + as a PTP clock. This clock is only useful if your PTP programs are
133 + getting hardware time stamps on the PTP Ethernet packets
134 + using the SO_TIMESTAMPING API.
135 +
136 + To compile this driver as a module, choose M here: the module
137 + will be called dpaa2-rtc.
138 +
139 config PTP_1588_CLOCK_IXP46X
140 tristate "Intel IXP46x as PTP clock"
141 depends on IXP4XX_ETH
142 diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
143 index 0723c97e..df610dcd 100644
144 --- a/drivers/rtc/Kconfig
145 +++ b/drivers/rtc/Kconfig
146 @@ -414,6 +414,14 @@ config RTC_DRV_PCF85063
147 This driver can also be built as a module. If so, the module
148 will be called rtc-pcf85063.
149
150 +config RTC_DRV_PCF85263
151 + tristate "NXP PCF85263"
152 + help
153 + If you say yes here you get support for the PCF85263 RTC chip
154 +
155 + This driver can also be built as a module. If so, the module
156 + will be called rtc-pcf85263.
157 +
158 config RTC_DRV_PCF8563
159 tristate "Philips PCF8563/Epson RTC8564"
160 help
161 diff --git a/drivers/rtc/Makefile b/drivers/rtc/Makefile
162 index 1ac694a3..7675b8a7 100644
163 --- a/drivers/rtc/Makefile
164 +++ b/drivers/rtc/Makefile
165 @@ -111,6 +111,7 @@ obj-$(CONFIG_RTC_DRV_PCF2127) += rtc-pcf2127.o
166 obj-$(CONFIG_RTC_DRV_PCF50633) += rtc-pcf50633.o
167 obj-$(CONFIG_RTC_DRV_PCF85063) += rtc-pcf85063.o
168 obj-$(CONFIG_RTC_DRV_PCF8523) += rtc-pcf8523.o
169 +obj-$(CONFIG_RTC_DRV_PCF85263) += rtc-pcf85263.o
170 obj-$(CONFIG_RTC_DRV_PCF8563) += rtc-pcf8563.o
171 obj-$(CONFIG_RTC_DRV_PCF8583) += rtc-pcf8583.o
172 obj-$(CONFIG_RTC_DRV_PIC32) += rtc-pic32.o
173 diff --git a/drivers/soc/Kconfig b/drivers/soc/Kconfig
174 index e6e90e80..f31bceb6 100644
175 --- a/drivers/soc/Kconfig
176 +++ b/drivers/soc/Kconfig
177 @@ -1,8 +1,7 @@
178 menu "SOC (System On Chip) specific Drivers"
179
180 source "drivers/soc/bcm/Kconfig"
181 -source "drivers/soc/fsl/qbman/Kconfig"
182 -source "drivers/soc/fsl/qe/Kconfig"
183 +source "drivers/soc/fsl/Kconfig"
184 source "drivers/soc/mediatek/Kconfig"
185 source "drivers/soc/qcom/Kconfig"
186 source "drivers/soc/rockchip/Kconfig"
187 diff --git a/drivers/soc/fsl/Kconfig b/drivers/soc/fsl/Kconfig
188 new file mode 100644
189 index 00000000..d4cd25f1
190 --- /dev/null
191 +++ b/drivers/soc/fsl/Kconfig
192 @@ -0,0 +1,22 @@
193 +#
194 +# Freescale SOC drivers
195 +#
196 +
197 +source "drivers/soc/fsl/qbman/Kconfig"
198 +source "drivers/soc/fsl/qe/Kconfig"
199 +source "drivers/soc/fsl/ls2-console/Kconfig"
200 +
201 +config FSL_GUTS
202 + bool
203 + select SOC_BUS
204 + help
205 + The global utilities block controls power management, I/O device
206 + enabling, power-onreset(POR) configuration monitoring, alternate
207 + function selection for multiplexed signals,and clock control.
208 + This driver is to manage and access global utilities block.
209 + Initially only reading SVR and registering soc device are supported.
210 + Other guts accesses, such as reading RCW, should eventually be moved
211 + into this driver as well.
212 +if ARM || ARM64
213 +source "drivers/soc/fsl/Kconfig.arm"
214 +endif
215 diff --git a/drivers/soc/fsl/Kconfig.arm b/drivers/soc/fsl/Kconfig.arm
216 new file mode 100644
217 index 00000000..106c9b98
218 --- /dev/null
219 +++ b/drivers/soc/fsl/Kconfig.arm
220 @@ -0,0 +1,16 @@
221 +#
222 +# Freescale ARM SOC Drivers
223 +#
224 +
225 +config LS_SOC_DRIVERS
226 + bool "Layerscape Soc Drivers"
227 + depends on ARCH_LAYERSCAPE || SOC_LS1021A
228 + default n
229 + help
230 + Say y here to enable Freescale Layerscape Soc Device Drivers support.
231 + The Soc Drivers provides the device driver that is a specific block
232 + or feature on Layerscape platform.
233 +
234 +if LS_SOC_DRIVERS
235 + source "drivers/soc/fsl/layerscape/Kconfig"
236 +endif
237 diff --git a/drivers/soc/fsl/Makefile b/drivers/soc/fsl/Makefile
238 index 75e1f533..b8708569 100644
239 --- a/drivers/soc/fsl/Makefile
240 +++ b/drivers/soc/fsl/Makefile
241 @@ -5,3 +5,7 @@
242 obj-$(CONFIG_FSL_DPAA) += qbman/
243 obj-$(CONFIG_QUICC_ENGINE) += qe/
244 obj-$(CONFIG_CPM) += qe/
245 +obj-$(CONFIG_FSL_GUTS) += guts.o
246 +obj-$(CONFIG_FSL_LS2_CONSOLE) += ls2-console/
247 +obj-$(CONFIG_SUSPEND) += rcpm.o
248 +obj-$(CONFIG_LS_SOC_DRIVERS) += layerscape/
249 diff --git a/drivers/soc/fsl/layerscape/Kconfig b/drivers/soc/fsl/layerscape/Kconfig
250 new file mode 100644
251 index 00000000..e1373aa1
252 --- /dev/null
253 +++ b/drivers/soc/fsl/layerscape/Kconfig
254 @@ -0,0 +1,10 @@
255 +#
256 +# Layerscape Soc drivers
257 +#
258 +config FTM_ALARM
259 + bool "FTM alarm driver"
260 + default n
261 + help
262 + Say y here to enable FTM alarm support. The FTM alarm provides
263 + alarm functions for wakeup system from deep sleep. There is only
264 + one FTM can be used in ALARM(FTM 0).
265 diff --git a/drivers/soc/fsl/layerscape/Makefile b/drivers/soc/fsl/layerscape/Makefile
266 new file mode 100644
267 index 00000000..6299aa1d
268 --- /dev/null
269 +++ b/drivers/soc/fsl/layerscape/Makefile
270 @@ -0,0 +1 @@
271 +obj-$(CONFIG_FTM_ALARM) += ftm_alarm.o
272 diff --git a/drivers/soc/fsl/rcpm.c b/drivers/soc/fsl/rcpm.c
273 new file mode 100644
274 index 00000000..a6a31c87
275 --- /dev/null
276 +++ b/drivers/soc/fsl/rcpm.c
277 @@ -0,0 +1,154 @@
278 +/*
279 + * Run Control and Power Management (RCPM) driver
280 + *
281 + * Copyright 2016 NXP
282 + *
283 + * This program is free software; you can redistribute it and/or modify
284 + * it under the terms of the GNU General Public License as published by
285 + * the Free Software Foundation; either version 2 of the License, or
286 + * (at your option) any later version.
287 + *
288 + * This program is distributed in the hope that it will be useful,
289 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
290 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
291 + * GNU General Public License for more details.
292 + *
293 + */
294 +#define pr_fmt(fmt) "RCPM: %s: " fmt, __func__
295 +
296 +#include <linux/kernel.h>
297 +#include <linux/io.h>
298 +#include <linux/of_platform.h>
299 +#include <linux/of_address.h>
300 +#include <linux/suspend.h>
301 +
302 +/* RCPM register offset */
303 +#define RCPM_IPPDEXPCR0 0x140
304 +
305 +#define RCPM_WAKEUP_CELL_SIZE 2
306 +
307 +struct rcpm_config {
308 + int ipp_num;
309 + int ippdexpcr_offset;
310 + u32 ippdexpcr[2];
311 + void *rcpm_reg_base;
312 +};
313 +
314 +static struct rcpm_config *rcpm;
315 +
316 +static inline void rcpm_reg_write(u32 offset, u32 value)
317 +{
318 + iowrite32be(value, rcpm->rcpm_reg_base + offset);
319 +}
320 +
321 +static inline u32 rcpm_reg_read(u32 offset)
322 +{
323 + return ioread32be(rcpm->rcpm_reg_base + offset);
324 +}
325 +
326 +static void rcpm_wakeup_fixup(struct device *dev, void *data)
327 +{
328 + struct device_node *node = dev ? dev->of_node : NULL;
329 + u32 value[RCPM_WAKEUP_CELL_SIZE];
330 + int ret, i;
331 +
332 + if (!dev || !node || !device_may_wakeup(dev))
333 + return;
334 +
335 + /*
336 + * Get the values in the "rcpm-wakeup" property.
337 + * Three values are:
338 + * The first is a pointer to the RCPM node.
339 + * The second is the value of the ippdexpcr0 register.
340 + * The third is the value of the ippdexpcr1 register.
341 + */
342 + ret = of_property_read_u32_array(node, "fsl,rcpm-wakeup",
343 + value, RCPM_WAKEUP_CELL_SIZE);
344 + if (ret)
345 + return;
346 +
347 + pr_debug("wakeup source: the device %s\n", node->full_name);
348 +
349 + for (i = 0; i < rcpm->ipp_num; i++)
350 + rcpm->ippdexpcr[i] |= value[i + 1];
351 +}
352 +
353 +static int rcpm_suspend_prepare(void)
354 +{
355 + int i;
356 +
357 + BUG_ON(!rcpm);
358 +
359 + for (i = 0; i < rcpm->ipp_num; i++)
360 + rcpm->ippdexpcr[i] = 0;
361 +
362 + dpm_for_each_dev(NULL, rcpm_wakeup_fixup);
363 +
364 + for (i = 0; i < rcpm->ipp_num; i++) {
365 + rcpm_reg_write(rcpm->ippdexpcr_offset + 4 * i,
366 + rcpm->ippdexpcr[i]);
367 + pr_debug("ippdexpcr%d = 0x%x\n", i, rcpm->ippdexpcr[i]);
368 + }
369 +
370 + return 0;
371 +}
372 +
373 +static int rcpm_suspend_notifier_call(struct notifier_block *bl,
374 + unsigned long state,
375 + void *unused)
376 +{
377 + switch (state) {
378 + case PM_SUSPEND_PREPARE:
379 + rcpm_suspend_prepare();
380 + break;
381 + }
382 +
383 + return NOTIFY_DONE;
384 +}
385 +
386 +static struct rcpm_config rcpm_default_config = {
387 + .ipp_num = 1,
388 + .ippdexpcr_offset = RCPM_IPPDEXPCR0,
389 +};
390 +
391 +static const struct of_device_id rcpm_matches[] = {
392 + {
393 + .compatible = "fsl,qoriq-rcpm-2.1",
394 + .data = &rcpm_default_config,
395 + },
396 + {}
397 +};
398 +
399 +static struct notifier_block rcpm_suspend_notifier = {
400 + .notifier_call = rcpm_suspend_notifier_call,
401 +};
402 +
403 +static int __init layerscape_rcpm_init(void)
404 +{
405 + const struct of_device_id *match;
406 + struct device_node *np;
407 +
408 + np = of_find_matching_node_and_match(NULL, rcpm_matches, &match);
409 + if (!np) {
410 + pr_err("Can't find the RCPM node.\n");
411 + return -EINVAL;
412 + }
413 +
414 + if (match->data)
415 + rcpm = (struct rcpm_config *)match->data;
416 + else
417 + return -EINVAL;
418 +
419 + rcpm->rcpm_reg_base = of_iomap(np, 0);
420 + of_node_put(np);
421 + if (!rcpm->rcpm_reg_base)
422 + return -ENOMEM;
423 +
424 + register_pm_notifier(&rcpm_suspend_notifier);
425 +
426 + pr_info("The RCPM driver initialized.\n");
427 +
428 + return 0;
429 +}
430 +
431 +subsys_initcall(layerscape_rcpm_init);
432 diff --git a/drivers/staging/Kconfig b/drivers/staging/Kconfig
433 index 58a7b350..f8e54860 100644
434 --- a/drivers/staging/Kconfig
435 +++ b/drivers/staging/Kconfig
436 @@ -94,6 +94,8 @@ source "drivers/staging/fbtft/Kconfig"
437
438 source "drivers/staging/fsl-mc/Kconfig"
439
440 +source "drivers/staging/fsl-dpaa2/Kconfig"
441 +
442 source "drivers/staging/wilc1000/Kconfig"
443
444 source "drivers/staging/most/Kconfig"
445 @@ -106,4 +108,6 @@ source "drivers/staging/greybus/Kconfig"
446
447 source "drivers/staging/vc04_services/Kconfig"
448
449 +source "drivers/staging/fsl_qbman/Kconfig"
450 +
451 endif # STAGING
452 diff --git a/drivers/staging/Makefile b/drivers/staging/Makefile
453 index 2fa9745d..cbd7b089 100644
454 --- a/drivers/staging/Makefile
455 +++ b/drivers/staging/Makefile
456 @@ -36,9 +36,11 @@ obj-$(CONFIG_UNISYSSPAR) += unisys/
457 obj-$(CONFIG_COMMON_CLK_XLNX_CLKWZRD) += clocking-wizard/
458 obj-$(CONFIG_FB_TFT) += fbtft/
459 obj-$(CONFIG_FSL_MC_BUS) += fsl-mc/
460 +obj-$(CONFIG_FSL_DPAA2) += fsl-dpaa2/
461 obj-$(CONFIG_WILC1000) += wilc1000/
462 obj-$(CONFIG_MOST) += most/
463 obj-$(CONFIG_ISDN_I4L) += i4l/
464 obj-$(CONFIG_KS7010) += ks7010/
465 obj-$(CONFIG_GREYBUS) += greybus/
466 obj-$(CONFIG_BCM2708_VCHIQ) += vc04_services/
467 +obj-$(CONFIG_FSL_SDK_DPA) += fsl_qbman/
468 diff --git a/drivers/staging/fsl-dpaa2/Kconfig b/drivers/staging/fsl-dpaa2/Kconfig
469 new file mode 100644
470 index 00000000..8042d9cc
471 --- /dev/null
472 +++ b/drivers/staging/fsl-dpaa2/Kconfig
473 @@ -0,0 +1,41 @@
474 +#
475 +# Freescale DataPath Acceleration Architecture Gen2 (DPAA2) drivers
476 +#
477 +
478 +config FSL_DPAA2
479 + bool "Freescale DPAA2 devices"
480 + depends on FSL_MC_BUS
481 + ---help---
482 + Build drivers for Freescale DataPath Acceleration
483 + Architecture (DPAA2) family of SoCs.
484 +
485 +config FSL_DPAA2_ETH
486 + tristate "Freescale DPAA2 Ethernet"
487 + depends on FSL_DPAA2 && FSL_MC_DPIO
488 + ---help---
489 + Ethernet driver for Freescale DPAA2 SoCs, using the
490 + Freescale MC bus driver
491 +
492 +if FSL_DPAA2_ETH
493 +config FSL_DPAA2_ETH_USE_ERR_QUEUE
494 + bool "Enable Rx error queue"
495 + default n
496 + ---help---
497 + Allow Rx error frames to be enqueued on an error queue
498 + and processed by the driver (by default they are dropped
499 + in hardware).
500 + This may impact performance, recommended for debugging
501 + purposes only.
502 +
503 +# QBMAN_DEBUG requires some additional DPIO APIs
504 +config FSL_DPAA2_ETH_DEBUGFS
505 + depends on DEBUG_FS && FSL_QBMAN_DEBUG
506 + bool "Enable debugfs support"
507 + default n
508 + ---help---
509 + Enable advanced statistics through debugfs interface.
510 +endif
511 +
512 +source "drivers/staging/fsl-dpaa2/mac/Kconfig"
513 +source "drivers/staging/fsl-dpaa2/evb/Kconfig"
514 +source "drivers/staging/fsl-dpaa2/ethsw/Kconfig"
515 diff --git a/drivers/staging/fsl-dpaa2/Makefile b/drivers/staging/fsl-dpaa2/Makefile
516 new file mode 100644
517 index 00000000..cbaa8c20
518 --- /dev/null
519 +++ b/drivers/staging/fsl-dpaa2/Makefile
520 @@ -0,0 +1,9 @@
521 +#
522 +# Freescale DataPath Acceleration Architecture Gen2 (DPAA2) drivers
523 +#
524 +
525 +obj-$(CONFIG_FSL_DPAA2_ETH) += ethernet/
526 +obj-$(CONFIG_FSL_DPAA2_MAC) += mac/
527 +obj-$(CONFIG_FSL_DPAA2_EVB) += evb/
528 +obj-$(CONFIG_FSL_DPAA2_ETHSW) += ethsw/
529 +obj-$(CONFIG_PTP_1588_CLOCK_DPAA2) += rtc/
530 --
531 2.14.1
532