summaryrefslogtreecommitdiff
path: root/bus.c
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2012-11-02 09:09:29 -0400
committerMichael J. Chudobiak <mjc@avtechpulse.com>2012-11-02 09:09:29 -0400
commitcdbd46762b944ccc310315e11d865c2ea7cac922 (patch)
treedcd94f778505b4795c0b25dcd541005615c795ad /bus.c
parent2ee3c13800b11a609229df8f16c7028f52340571 (diff)
Add a flag to signal completion of startup. To be expanded.
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);