Skip to content
Snippets Groups Projects
Commit fea25720 authored by Graeme Russ's avatar Graeme Russ
Browse files

x86: Rename i386 to x86

parent dbf7115a
No related branches found
No related tags found
No related merge requests found
File moved
File moved
File moved
File moved
File moved
File moved
File moved
...@@ -205,8 +205,8 @@ ibf-dsp561 blackfin blackfin ...@@ -205,8 +205,8 @@ ibf-dsp561 blackfin blackfin
ip04 blackfin blackfin ip04 blackfin blackfin
tcm-bf518 blackfin blackfin tcm-bf518 blackfin blackfin
tcm-bf537 blackfin blackfin tcm-bf537 blackfin blackfin
eNET i386 i386 eNET - sc520 eNET:SYS_TEXT_BASE=0x38040000 eNET x86 x86 eNET - sc520 eNET:SYS_TEXT_BASE=0x38040000
eNET_SRAM i386 i386 eNET - sc520 eNET:SYS_TEXT_BASE=0x19000000 eNET_SRAM x86 x86 eNET - sc520 eNET:SYS_TEXT_BASE=0x19000000
idmr m68k mcf52x2 idmr m68k mcf52x2
TASREG m68k mcf52x2 tasreg esd TASREG m68k mcf52x2 tasreg esd
M5208EVBE m68k mcf52x2 m5208evbe freescale M5208EVBE m68k mcf52x2 m5208evbe freescale
......
...@@ -15,7 +15,7 @@ unsigned long get_version(void) ...@@ -15,7 +15,7 @@ unsigned long get_version(void)
/* Reuse _exports.h with a little trickery to avoid bitrot */ /* Reuse _exports.h with a little trickery to avoid bitrot */
#define EXPORT_FUNC(sym) gd->jt[XF_##sym] = (void *)sym; #define EXPORT_FUNC(sym) gd->jt[XF_##sym] = (void *)sym;
#if !defined(CONFIG_I386) && !defined(CONFIG_PPC) #if !defined(CONFIG_X86) && !defined(CONFIG_PPC)
# define install_hdlr dummy # define install_hdlr dummy
# define free_hdlr dummy # define free_hdlr dummy
#else /* kludge for non-standard function naming */ #else /* kludge for non-standard function naming */
......
This is my attempt to port U-Boot to the i386 platform. This This is my attempt to port U-Boot to the x86 platform. This
work was sponsored by my emplyer, Omicron Ceti AB. http://www.omicron.se work was sponsored by my emplyer, Omicron Ceti AB. http://www.omicron.se
It is currently capable of booting a linux bzImage from flash on It is currently capable of booting a linux bzImage from flash on
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
#define GCC_VERSION (__GNUC__ * 1000 + __GNUC_MINOR__) #define GCC_VERSION (__GNUC__ * 1000 + __GNUC_MINOR__)
#endif /* GCC_VERSION */ #endif /* GCC_VERSION */
#if defined(CONFIG_I386) #if defined(CONFIG_X86)
/* /*
* x86 does not have a dedicated register to store the pointer to * x86 does not have a dedicated register to store the pointer to
* the global_data. Thus the jump table address is stored in a * the global_data. Thus the jump table address is stored in a
...@@ -198,7 +198,7 @@ void app_startup(char * const *argv) ...@@ -198,7 +198,7 @@ void app_startup(char * const *argv)
*cp++ = 0; *cp++ = 0;
} }
#if defined(CONFIG_I386) #if defined(CONFIG_X86)
/* x86 does not have a dedicated register for passing global_data */ /* x86 does not have a dedicated register for passing global_data */
global_data = (gd_t *)argv[-1]; global_data = (gd_t *)argv[-1];
jt = global_data->jt; jt = global_data->jt;
......
...@@ -272,9 +272,9 @@ int setenv (char *, char *); ...@@ -272,9 +272,9 @@ int setenv (char *, char *);
# include <asm/setup.h> # include <asm/setup.h>
# include <asm/u-boot-arm.h> /* ARM version to be fixed! */ # include <asm/u-boot-arm.h> /* ARM version to be fixed! */
#endif /* CONFIG_ARM */ #endif /* CONFIG_ARM */
#ifdef CONFIG_I386 /* x86 version to be fixed! */ #ifdef CONFIG_X86 /* x86 version to be fixed! */
# include <asm/u-boot-i386.h> # include <asm/u-boot-x86.h>
#endif /* CONFIG_I386 */ #endif /* CONFIG_X86 */
#ifdef CONFIG_AUTO_COMPLETE #ifdef CONFIG_AUTO_COMPLETE
int env_complete(char *var, int maxv, char *cmdv[], int maxsz, char *buf); int env_complete(char *var, int maxv, char *cmdv[], int maxsz, char *buf);
......
...@@ -33,7 +33,6 @@ ...@@ -33,7 +33,6 @@
* High Level Configuration Options * High Level Configuration Options
* (easy to change) * (easy to change)
*/ */
#define CONFIG_X86
#define CONFIG_SYS_SC520 #define CONFIG_SYS_SC520
#define CONFIG_SYS_SC520_SSI #define CONFIG_SYS_SC520_SSI
#define CONFIG_SHOW_BOOT_PROGRESS #define CONFIG_SHOW_BOOT_PROGRESS
......
...@@ -45,7 +45,7 @@ enum { ...@@ -45,7 +45,7 @@ enum {
#define XF_VERSION 6 #define XF_VERSION 6
#if defined(CONFIG_I386) #if defined(CONFIG_X86)
extern gd_t *global_data; extern gd_t *global_data;
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment