summaryrefslogtreecommitdiffstats
path: root/arch/sandbox
Commit message (Collapse)AuthorAgeFilesLines
...
* | sandbox: remove duplicate barebox.lds.SJean-Christophe PLAGNIOL-VILLARD2011-10-232-233/+0
| | | | | | | | | | | | | | | | today we have the same linker script in board and lib and only the board linker script is used Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | sandbox: move __SANDBOX__ to MakefileJean-Christophe PLAGNIOL-VILLARD2011-10-232-3/+1
| | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | move digest to crypto/Jean-Christophe PLAGNIOL-VILLARD2011-10-121-0/+1
| | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | sandbox: make asm/io.h nonemptySascha Hauer2011-09-231-0/+1
|/ | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'pu-remove-gd_t' into nextSascha Hauer2011-08-031-30/+0
|\
| * remove unused global_data.hSascha Hauer2011-08-011-30/+0
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | sandbox: switch to resourceJean-Christophe PLAGNIOL-VILLARD2011-07-304-15/+5
|/ | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Merge branch 'next'Sascha Hauer2011-06-061-0/+1
|\
| * sandbox: allow lseek on host filesPeter Korsgaard2011-05-171-0/+1
| | | | | | | | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | sandbox: make asm/swab.h nonemptySascha Hauer2011-04-251-0/+6
| | | | | | | | | | | | Otherwise it gets erased with make distclean. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | sandbox: Fix another uninitialized dev->id caseSascha Hauer2011-04-251-0/+1
|/ | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* sandbox: remove non used functions linux_getc/putcJean-Christophe PLAGNIOL-VILLARD2011-02-032-22/+0
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> 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/+0
| | | | | | | 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>
* sandbox: use devfs functions only if definedRobert Schwebel2010-11-011-0/+2
| | | | | | | | arch/sandbox/board/built-in.o: In function `hf_probe': hostfile.c:(.text+0xac): undefined reference to `devfs_create' Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* reset_cpu: unify declarationRobert Schwebel2010-10-221-1/+1
| | | | | | | | include/common.h declares this as "unsigned long addr", so we unify it. This also silences a doxygen warning. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* remove strange flush_cache functionsSascha Hauer2010-10-211-5/+0
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-mainline' of git://git.pengutronix.de/git/rsc/barebox into ↵Sascha Hauer2010-09-221-14/+32
|\ | | | | | | next
| * sandbox: add longopts and fix segfaultRobert Schwebel2010-09-211-14/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Until now, the main function of the sandbox port wants to use the libc getopt(), but as we have a getopt() implementation in barebox as well, it is silently used instead. This works in the usual case, but if an error occurs (i.e. by using an unknown argument) in getopt(), the implementation tries to write to the console, which is not initialized and thus breaks with a null pointer exception. This patch changes the main function to use getopt_long() instead of getopt(). This makes us use the implementation in glibc and while being there, we get long options, which makes us look more professional... Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* | driver: use id as -1 for auto assigned idJean-Christophe PLAGNIOL-VILLARD2010-09-201-0/+1
| | | | | | | | | | | | | | | | 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-137/+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-2312-5/+523
| | | | | | | | | | | | 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>
* sandbox: update defconfigSascha Hauer2009-12-181-7/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* sandbox: common: fix device names for environment files (-e)Peter Korsgaard2009-12-161-1/+1
| | | | | | | | The env%d string got created, but the the hardcoded "env" string was always used instead, causing errors with loading the env. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* rename U-Boot-v2 project to bareboxSascha Hauer2009-12-158-53/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | This has been done with the following script: find -path ./.git -prune -o -type f -print0 | xargs -0 -r sed -i \ -e 's/u2boot/barebox/g' \ -e 's/U2Boot/barebox/g' \ -e 's/U-boot V2/barebox/g' \ -e 's/u-boot v2/barebox/g' \ -e 's/U-Boot V2/barebox/g' \ -e 's/U-Boot-v2/barebox/g' \ -e 's/U_BOOT/BAREBOX/g' \ -e 's/UBOOT/BAREBOX/g' \ -e 's/uboot/barebox/g' \ -e 's/u-boot/barebox/g' \ -e 's/u_boot/barebox/g' \ -e 's/U-Boot/barebox/g' \ -e 's/U-boot/barebox/g' \ -e 's/U-BOOT/barebox/g' find -path ./.git -prune -o \( -name "*u-boot*" -o -name "*uboot*" -o -name "*u_boot*" \) -print0 | \ xargs -0 -r rename 's/u[-_]?boot/barebox/' It needs some manual fixup following in the next patch Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* [SANDBOX] Move include/asm-sandbox/arch-* to arch/sandbox/*/include/machJean-Christophe PLAGNIOL-VILLARD2009-10-225-22/+58
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* [SANDBOX] move include/asm-sandbox to arch/arm/include/sandboxJean-Christophe PLAGNIOL-VILLARD2009-10-2211-0/+231
| | | | | | | Move platform independent header files to arch/sandbox/include/asm, leaving those in asm/arch*. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* sandbox: update defconfigSascha Hauer2009-10-121-23/+55
| | | | Signed-off-by: Sascha Hauer <sha@pengutronix.de>
* sandbox: use libc ioctl for os partSascha Hauer2009-10-121-1/+2
| | | | Signed-off-by: Sascha Hauer <sha@pengutronix.de>
* get rid of device idsSascha Hauer2009-07-211-4/+10
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* sandbox: Fix generation of linker scriptSascha Hauer2009-01-211-2/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Sandbox: Fix make systemSascha Hauer2008-09-305-11/+9
| | | | | | | | | | | | | | | Sandbox compilation failed with: gcc -Wp,-MD,arch/sandbox/lib/.tap.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.3.1/include -I/usr/include -Iinclude -P -Wall -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(tap)" -D"KBUILD_MODNAME=KBUILD_STR(tap)" -c -o arch/sandbox/lib/tap.o arch/sandbox/lib/tap.c In file included from /usr/include/bits/socket.h:32, from /usr/include/sys/socket.h:36, from arch/sandbox/lib/tap.c:29: /usr/include/limits.h:125:26: error: limits.h: No such file or directory /usr/include/limits.h uses the next_include directive This was because of the -nostdinc Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Bitops:Remove generic_funcsNishanth Menon2008-08-151-0/+1
| | | | | | | Use asm-generic/bitops/xyz.h instead of using generic_xyz functions. Signed-off-by: Nishanth Menon <x0nishan@ti.com>
* Fix typo introduced with commit 9e6ee5e79516f5af5366bd95fab801a692728373Sascha Hauer2008-06-241-1/+1
|
* [sandbox] export ELF_CLASS for sandboxSascha Hauer2008-06-031-1/+5
|
* [kbuild] move -pipe from architecture Makefiles to toplevelSascha Hauer2008-06-031-1/+1
| | | | Makefile
* [kbuild] remove -Wall from architecture Makefiles. It's alreadySascha Hauer2008-06-031-1/+1
| | | | in toplevel CFLAGS
* [kbuild] move -nostdinc from architecture Makefiles to toplevelSascha Hauer2008-06-031-2/+1
| | | | Makefile
* [kbuild] move -ffreestanding from architecture Makefiles to toplevelSascha Hauer2008-06-031-1/+1
| | | | Makefile
* [kbuild] move -fno-builtin from architecture Makefiles to toplevelSascha Hauer2008-06-031-1/+1
| | | | Makefile
* [kbuild] move -Os flag from architecture Makefiles to toplevelSascha Hauer2008-06-031-1/+1
| | | | Makefile
* [kbuild] change architecture Makefiles not to overwriteSascha Hauer2008-06-031-1/+1
| | | | | CFLAGS, instead append them to the existing CFLAGS. Also, remove all double CFLAGS
* [general] Move include/configs/* to board/*/config.hSascha Hauer2008-04-076-249/+1
|
* Doxygen cleanupsSascha Hauer2008-04-041-9/+9
| | | | | | | | | - Remove trailing whitespaces from doxygen files - escape '<' '>' with backslashes. Otherwise Doxygen interpretes them as html tags Signed-off-by: Carsten Schlote <schlote@vahanus.net> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* do not sleep if read gets EAGAIN. Must be some testing leftoverSascha Hauer2008-03-111-2/+2
|
* Add the possibility to have an architecture specific ctrlc() function.Sascha Hauer2008-03-111-3/+10
| | | | | This allows us to return immediately in ctrlc() on sandbox and thus not slow down network througput.
* add globbing supportSascha Hauer2008-03-091-1/+2
|