diff options
author | Mario Six <mario.six@gdsys.cc> | 2019-03-29 10:18:10 +0100 |
---|---|---|
committer | Mario Six <mario.six@gdsys.cc> | 2019-05-21 08:03:38 +0200 |
commit | fe4a9675758e8fe7dce0b0064cac03c81a649f0a (patch) | |
tree | 856c4d9fbd10779719fc4e53fd3b6d10d76d3916 /board/gdsys/common/ioep-fpga.c | |
parent | edba2b29f57efdff0ee087a0686ef11efbd6f9b8 (diff) |
gdsys: Introduce GDSYS_LEGACY_DRIVERS
Future gdsys boards will switch from the legacy drivers in board/gdsys/common
to DM-based drivers.
Define a Kconfig option that disables the legacy drivers.
Signed-off-by: Mario Six <mario.six@gdsys.cc>
Diffstat (limited to 'board/gdsys/common/ioep-fpga.c')
-rw-r--r-- | board/gdsys/common/ioep-fpga.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/board/gdsys/common/ioep-fpga.c b/board/gdsys/common/ioep-fpga.c index 8e10501247..91eec3ac7c 100644 --- a/board/gdsys/common/ioep-fpga.c +++ b/board/gdsys/common/ioep-fpga.c @@ -4,6 +4,8 @@ * Dirk Eibach, Guntermann & Drunck GmbH, dirk.eibach@gdsys.cc */ +#ifdef CONFIG_GDSYS_LEGACY_DRIVERS + #include <common.h> #include <gdsys_fpga.h> @@ -234,3 +236,5 @@ void ioep_fpga_print_info(unsigned int fpga) printf(", %d video channel(s)\n", feature_video_channels); } + +#endif /* CONFIG_GDSYS_LEGACY_DRIVERS */ |