diff options
author | Juergen Beisert <jbe@pengutronix.de> | 2010-01-12 11:15:47 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-01-14 10:06:16 +0100 |
commit | 70810935313bfb073c942f9a96bdd8502a05f6c1 (patch) | |
tree | 49b01f23fc0ef19059dd5d2f2a69be230d4ebc2f /arch/x86/include | |
parent | 835aa6b59948817f094c7e55e530a7e426c79161 (diff) | |
download | barebox-70810935313bfb073c942f9a96bdd8502a05f6c1.tar.gz barebox-70810935313bfb073c942f9a96bdd8502a05f6c1.tar.xz |
Add a special command to load and start a bzImage on x86
Other architectures are supporting the uImage format used by barebox's 'bootm'
command. x86 does'nt. So, we need a special command to be able to boot the
x86 specific bzImage format.
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/x86/include')
-rw-r--r-- | arch/x86/include/asm/syslib.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/include/asm/syslib.h b/arch/x86/include/asm/syslib.h index a1316872c4..eebe1a99c9 100644 --- a/arch/x86/include/asm/syslib.h +++ b/arch/x86/include/asm/syslib.h @@ -27,3 +27,7 @@ extern int bios_disk_rw_int13_extensions(int, int, void*) __attribute__((regparm extern uint16_t bios_get_memsize(void); #endif + +#ifdef CONFIG_CMD_LINUX16 +extern void bios_start_linux(unsigned) __attribute__((regparm(1))); +#endif |