mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-25 06:46:00 +00:00
Add functions to list of exported functions
Additionally export the following fuctions (to make trab_config build again): - simple_strtol() - strcmp() Also bump the ABI version to reflect this change Signed-off-by: Martin Krause <martin.krause@tqs.de>
This commit is contained in:
parent
63cec5814f
commit
8092fef4c2
4 changed files with 7 additions and 2 deletions
|
@ -50,7 +50,6 @@ $(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
||||||
$(obj)trab_fkt.srec: $(OBJS_FKT) $(LIB)
|
$(obj)trab_fkt.srec: $(OBJS_FKT) $(LIB)
|
||||||
$(LD) -g -Ttext $(LOAD_ADDR) -o $(<:.o=) -e trab_fkt $^ $(LIB) \
|
$(LD) -g -Ttext $(LOAD_ADDR) -o $(<:.o=) -e trab_fkt $^ $(LIB) \
|
||||||
-L$(obj)../../examples -lstubs \
|
-L$(obj)../../examples -lstubs \
|
||||||
-L$(obj)../../lib_generic -lgeneric \
|
|
||||||
-L$(gcclibdir) -lgcc
|
-L$(gcclibdir) -lgcc
|
||||||
$(OBJCOPY) -O srec $(<:.o=) $@
|
$(OBJCOPY) -O srec $(<:.o=) $@
|
||||||
|
|
||||||
|
|
|
@ -28,6 +28,8 @@ void jumptable_init (void)
|
||||||
gd->jt[XF_get_timer] = (void *) get_timer;
|
gd->jt[XF_get_timer] = (void *) get_timer;
|
||||||
gd->jt[XF_simple_strtoul] = (void *) simple_strtoul;
|
gd->jt[XF_simple_strtoul] = (void *) simple_strtoul;
|
||||||
gd->jt[XF_udelay] = (void *) udelay;
|
gd->jt[XF_udelay] = (void *) udelay;
|
||||||
|
gd->jt[XF_simple_strtol] = (void *) simple_strtol;
|
||||||
|
gd->jt[XF_strcmp] = (void *) strcmp;
|
||||||
#if defined(CONFIG_I386) || defined(CONFIG_PPC)
|
#if defined(CONFIG_I386) || defined(CONFIG_PPC)
|
||||||
gd->jt[XF_install_hdlr] = (void *) irq_install_handler;
|
gd->jt[XF_install_hdlr] = (void *) irq_install_handler;
|
||||||
gd->jt[XF_free_hdlr] = (void *) irq_free_handler;
|
gd->jt[XF_free_hdlr] = (void *) irq_free_handler;
|
||||||
|
|
|
@ -15,6 +15,8 @@ EXPORT_FUNC(do_reset)
|
||||||
EXPORT_FUNC(getenv)
|
EXPORT_FUNC(getenv)
|
||||||
EXPORT_FUNC(setenv)
|
EXPORT_FUNC(setenv)
|
||||||
EXPORT_FUNC(simple_strtoul)
|
EXPORT_FUNC(simple_strtoul)
|
||||||
|
EXPORT_FUNC(simple_strtol)
|
||||||
|
EXPORT_FUNC(strcmp)
|
||||||
#if defined(CONFIG_CMD_I2C)
|
#if defined(CONFIG_CMD_I2C)
|
||||||
EXPORT_FUNC(i2c_write)
|
EXPORT_FUNC(i2c_write)
|
||||||
EXPORT_FUNC(i2c_read)
|
EXPORT_FUNC(i2c_read)
|
||||||
|
|
|
@ -23,6 +23,8 @@ void do_reset (void);
|
||||||
unsigned long simple_strtoul(const char *cp,char **endp,unsigned int base);
|
unsigned long simple_strtoul(const char *cp,char **endp,unsigned int base);
|
||||||
char *getenv (char *name);
|
char *getenv (char *name);
|
||||||
void setenv (char *varname, char *varvalue);
|
void setenv (char *varname, char *varvalue);
|
||||||
|
long simple_strtol(const char *cp,char **endp,unsigned int base);
|
||||||
|
int strcmp(const char * cs,const char * ct);
|
||||||
#if defined(CONFIG_CMD_I2C)
|
#if defined(CONFIG_CMD_I2C)
|
||||||
int i2c_write (uchar, uint, int , uchar* , int);
|
int i2c_write (uchar, uint, int , uchar* , int);
|
||||||
int i2c_read (uchar, uint, int , uchar* , int);
|
int i2c_read (uchar, uint, int , uchar* , int);
|
||||||
|
@ -40,7 +42,7 @@ enum {
|
||||||
XF_MAX
|
XF_MAX
|
||||||
};
|
};
|
||||||
|
|
||||||
#define XF_VERSION 3
|
#define XF_VERSION 4
|
||||||
|
|
||||||
#if defined(CONFIG_I386)
|
#if defined(CONFIG_I386)
|
||||||
extern gd_t *global_data;
|
extern gd_t *global_data;
|
||||||
|
|
Loading…
Add table
Reference in a new issue