Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
sdio_boot.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/mm.h>
#include <linux/uaccess.h>
#include <linux/fs.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/mmc/core.h>
#include <linux/mmc/card.h>
#include <linux/mmc/sdio_func.h>
#include "gdm_sdio.h"

Go to the source code of this file.

Macros

#define TYPE_A_HEADER_SIZE   4
 
#define TYPE_A_LOOKAHEAD_SIZE   16
 
#define YMEM0_SIZE   0x8000 /* 32kbytes */
 
#define DOWNLOAD_SIZE   (YMEM0_SIZE - TYPE_A_HEADER_SIZE)
 
#define KRN_PATH   "/lib/firmware/gdm72xx/gdmskrn.bin"
 
#define RFS_PATH   "/lib/firmware/gdm72xx/gdmsrfs.bin"
 

Functions

int sdio_boot (struct sdio_func *func)
 

Macro Definition Documentation

#define DOWNLOAD_SIZE   (YMEM0_SIZE - TYPE_A_HEADER_SIZE)

Definition at line 32 of file sdio_boot.c.

#define KRN_PATH   "/lib/firmware/gdm72xx/gdmskrn.bin"

Definition at line 34 of file sdio_boot.c.

#define RFS_PATH   "/lib/firmware/gdm72xx/gdmsrfs.bin"

Definition at line 35 of file sdio_boot.c.

#define TYPE_A_HEADER_SIZE   4

Definition at line 29 of file sdio_boot.c.

#define TYPE_A_LOOKAHEAD_SIZE   16

Definition at line 30 of file sdio_boot.c.

#define YMEM0_SIZE   0x8000 /* 32kbytes */

Definition at line 31 of file sdio_boot.c.

Function Documentation

int sdio_boot ( struct sdio_func func)

Definition at line 129 of file sdio_boot.c.