summaryrefslogtreecommitdiff
path: root/bus.c
diff options
context:
space:
mode:
authorroot <root@avtech.domain.avtechpulse.com>2000-01-01 00:05:35 +0900
committerroot <root@avtech.domain.avtechpulse.com>2000-01-01 00:05:35 +0900
commit219197bc34ecf91c4db62fd17ef3002e9b81f4c2 (patch)
tree6e256237d5bec4d35be719d8063fe3dbe2a255fa /bus.c
parent07c0216dbc58f513ac50c70f2b024cebdbd256bc (diff)
enable most bus features on Olimex
Diffstat (limited to 'bus.c')
-rw-r--r--bus.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/bus.c b/bus.c
index 9d15537..2e3bf60 100644
--- a/bus.c
+++ b/bus.c
@@ -356,10 +356,9 @@ void bus_init()
globals.HWDetect.beaglebone = util_is_beaglebone();
globals.HWDetect.olimex = util_is_olimex();
- // TODO update once Olimex carrier board is ready
globals.HWDetect.has_i2c = globals.HWDetect.beaglebone || globals.HWDetect.olimex;
- globals.HWDetect.has_gpmc = globals.HWDetect.beaglebone;
- globals.HWDetect.has_gpio = globals.HWDetect.beaglebone;
+ globals.HWDetect.has_gpmc = globals.HWDetect.beaglebone || globals.HWDetect.olimex;
+ globals.HWDetect.has_gpio = globals.HWDetect.beaglebone || globals.HWDetect.olimex;
printf("Beaglebone: %d. Olimex: %d.\n",
globals.HWDetect.beaglebone, globals.HWDetect.olimex);