summaryrefslogtreecommitdiffstats
path: root/arch/x86
Commit message (Collapse)AuthorAgeFilesLines
...
* x86 Generic platform: Fix prompt nameJuergen Beisert2011-03-101-1/+1
| | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
* x86 Generic platform: Fix disk drive nameJuergen Beisert2011-03-101-1/+1
| | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
* x86 Generic platform: Fix some typosJuergen Beisert2011-03-101-2/+2
| | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
* x86: Use the generic linker script initializingJuergen Beisert2011-03-103-15/+7
| | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
* x86: Remove not used expressions from the makefileJuergen Beisert2011-03-101-5/+0
| | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
* x86/pmjump: rename __bss_end to __bss_stopJean-Christophe PLAGNIOL-VILLARD2011-01-241-2/+2
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* x86: use sections.h header file for linker variablesSascha Hauer2011-01-172-6/+3
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* add sections.h header fileSascha Hauer2011-01-171-0/+1
| | | | | | | The file location and variable names from the Linux Kernel have been used here. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* import swab.h arch implementation form linux v2.3.37Jean-Christophe PLAGNIOL-VILLARD2011-01-171-0/+61
| | | | | | | this will avoid __bswapsi2 issue see with gcc 4.5.1 Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* clocksource: switch mask to CLOCKSOURCE_MASKJean-Christophe PLAGNIOL-VILLARD2010-11-291-1/+1
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* x86: add 64bit host build supportJean-Christophe PLAGNIOL-VILLARD2010-11-171-1/+2
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* doc: eliminate nonexisting referenceRobert Schwebel2010-10-221-1/+1
| | | | | | | | Silence this warning: arch/architecture.dox:89: Warning: unable to resolve reference to `dev_x86_mach' for \ref command Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* doc: let doxygen find some assembler functionsRobert Schwebel2010-10-225-11/+0
| | | | | | | | | | | | | | Silences these warnings: arch/x86/boot/boot_hdisk.S:29: Warning: documented function `void real_start' was not declared or defined. arch/x86/boot/boot_main.S:28: Warning: documented function `void _start' was not declared or defined. arch/x86/boot/pmjump.S:20: Warning: documented function `void protected_mode_jump' was not declared or defined. arch/x86/lib/memory16.S:32: Warning: documented function `unsigned short bios_get_memsize' was not declared or defined. arch/x86/lib/traveler.S:31: Warning: documented function `void real_to_prot' was not declared or defined. arch/x86/lib/traveler.S:38: Warning: documented function `void prot_to_real' was not declared or defined. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Don't try to guess the size of a disk if its size value is already givenJuergen Beisert2010-10-111-1/+1
| | | | | | | | | | | | | | | | | Guessing the size of an attached harddisk (access via x86 BIOS) was needed due to the fact, barebox can't query this information from the BIOS easily. But with the SD/MMC cards, there will be a second user of the generic disk handling routines. And with this media it is very easy to know its size. This patch provides a workaround to keep the guessing feature if the size of the registered disk is 0. If it is not 0, the given value will be used instead. Note: This is in preparation to add MCI card support, which can be handled like a disk drive. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* driver: use id as -1 for auto assigned idJean-Christophe PLAGNIOL-VILLARD2010-09-201-0/+3
| | | | | | | | before if you specify id = 0 the next available id will be taken otherwise fail if already registered now as in linux we use -1 Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* types.h: move __kernel_dev_t to include/linux/types.hJean-Christophe PLAGNIOL-VILLARD2010-09-171-1/+0
| | | | | | no need to have a arch specific type Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* configs: use new savedefconfig format as in linuxJean-Christophe PLAGNIOL-VILLARD2010-09-171-155/+0
| | | | | | | this will reduce and simplify defconfigs maintainance it will also save some disk space Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* move boards to arch/<architecure>/boardsJean-Christophe PLAGNIOL-VILLARD2010-07-238-2/+247
| | | | | | | | | | | | this will allow each arch to handle the boards more simply and depending on there need the env var BOARD will refer to the current board dirent for sandbox as we have only one board the board dirent is arch/sandbox/board Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* make reset_cpu a __noreturn functionSascha Hauer2010-03-301-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add the whole x86 architecture to the build systemJuergen Beisert2010-01-142-0/+117
| | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add a special command to load and start a bzImage on x86Juergen Beisert2010-01-143-0/+80
| | | | | | | | | 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>
* Add a low level disk drive access driverJuergen Beisert2010-01-142-0/+78
| | | | | | | | | This is a low level disk drive communication driver. It uses the real mode BIOS found on most x86 platforms, to read and write sectors. Used by the generic disk driver. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Bring in the time reference for the x86 platformsJuergen Beisert2010-01-142-0/+74
| | | | | | | | This code uses the always (hopefully) existing PIT device to get the time reference for barebox. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add a generic PC platformJuergen Beisert2010-01-141-0/+186
| | | | | | | | | This code adds a generic x86 platform, enabling barebox to act as a bootloader like 'GRUB'. Very minimalistic, yet. Supports only a serial console and is tested with QEMU only. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add functions to be able to boot with BIOSs helpJuergen Beisert2010-01-1412-0/+1027
| | | | | | | | These functions are special: They are running in the 16 bit real mode world to bring up barebox on an x86 box. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add some generic functions to make x86 workJuergen Beisert2010-01-146-0/+579
| | | | | | | Add some generic functions to make barebox work on x86. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Bring in the first x86 specific codeJuergen Beisert2010-01-144-0/+103
| | | | | | | | | Add some generic required code to make barebox work on x86. Note: Resetting the CPU is unfinished yet. I need some ideas how to reset this kind of architecture gracefully. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Adding required architecture header filesJuergen Beisert2010-01-1414-0/+626
| | | | | | | | Add architecture header files. Some of these files are empty, they only must exists to make the build system happy. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Adding x86 usage documentation to the treeJuergen Beisert2010-01-141-0/+128
Adding x86 usage documentation to the tree Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>