summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ti/wlcore/boot.h
diff options
context:
space:
mode:
authorLuciano Coelho <coelho@ti.com>2012-04-11 11:03:14 +0300
committerLuciano Coelho <coelho@ti.com>2012-04-12 08:43:57 +0300
commitdd5512eb6b8317069e80d70a624b6d350afebc9e (patch)
treeba3e11137040272c12314f41d5db355f62d2bfc7 /drivers/net/wireless/ti/wlcore/boot.h
parent4ded91ced98c3d35c0d36e9ac5e69589f7aad04a (diff)
wlcore/wl12xx: move top initialization to wl12xx
The top registers initialization is very specific to the actual hardware used, even the way in which we read from and write to the top registers varies from chip to chip. This patch moves all top registers initialization to wl12xx. Also add a boot op for the wlcore module to call at the right time and a few callbacks with the common called to be called from the lower drivers boot operations. Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/ti/wlcore/boot.h')
-rw-r--r--drivers/net/wireless/ti/wlcore/boot.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/ti/wlcore/boot.h b/drivers/net/wireless/ti/wlcore/boot.h
index 842ae3fdd87b..094981dd2227 100644
--- a/drivers/net/wireless/ti/wlcore/boot.h
+++ b/drivers/net/wireless/ti/wlcore/boot.h
@@ -26,8 +26,9 @@
#include "wlcore.h"
-int wl1271_boot(struct wl1271 *wl);
-int wl1271_load_firmware(struct wl1271 *wl);
+int wlcore_boot_upload_firmware(struct wl1271 *wl);
+int wlcore_boot_upload_nvs(struct wl1271 *wl);
+int wlcore_boot_run_firmware(struct wl1271 *wl);
#define WL1271_NO_SUBBANDS 8
#define WL1271_NO_POWER_LEVELS 4