summaryrefslogtreecommitdiff
path: root/bus.c
diff options
context:
space:
mode:
Diffstat (limited to 'bus.c')
-rw-r--r--bus.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/bus.c b/bus.c
index c539d16..3f0dbc6 100644
--- a/bus.c
+++ b/bus.c
@@ -369,9 +369,7 @@ void bus_init()
if (!globals.HWDetect.beaglebone) {
printf("This doesn't seem to be a beaglebone.. bus stuff disabled!\n");
- }
-
- if (globals.HWDetect.beaglebone) {
+ } else {
gpmc_setup();
extbus = (uint8_t*) util_mapmemoryblock(0x01000000, 0x100);