From a2dad96ab736f66ed54421cad53caf31f250e181 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 23 Apr 2018 09:45:28 +0200 Subject: bsps: Move I2C drivers to bsps This patch is a part of the BSP source reorganization. Update #3285. --- bsps/arm/altera-cyclone-v/i2c/i2cdrv-config.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 bsps/arm/altera-cyclone-v/i2c/i2cdrv-config.c (limited to 'bsps/arm/altera-cyclone-v/i2c/i2cdrv-config.c') diff --git a/bsps/arm/altera-cyclone-v/i2c/i2cdrv-config.c b/bsps/arm/altera-cyclone-v/i2c/i2cdrv-config.c new file mode 100644 index 0000000000..3c29b61e50 --- /dev/null +++ b/bsps/arm/altera-cyclone-v/i2c/i2cdrv-config.c @@ -0,0 +1,24 @@ +/* + * Copyright (c) 2014 embedded brains GmbH. All rights reserved. + * + * embedded brains GmbH + * Dornierstr. 4 + * 82178 Puchheim + * Germany + * + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + +#include +#include "i2cdrv-config.h" + +const i2cdrv_configuration i2cdrv_config[CYCLONE_V_NO_I2C] = { + { + .controller = ALT_I2C_I2C0, + .device_name = "/dev/i2c0", + .speed = CYCLONE_V_I2C0_SPEED, + } +}; -- cgit v1.2.3