9
0
Fork 0

move boards to arch/<architecure>/boards

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>
This commit is contained in:
Jean-Christophe PLAGNIOL-VILLARD 2010-07-22 05:00:13 +02:00 committed by Sascha Hauer
parent d879de38e8
commit d8c86961b3
320 changed files with 65 additions and 64 deletions

View File

@ -117,9 +117,9 @@ If everything goes well, the result is a file called @p barebox:
@a barebox usually needs an environment for storing the configuration data.
You can generate an environment using the example environment contained
in board/sandbox/env:
in arch/sanbox/board/env:
@code # ./scripts/bareboxenv -s -p 0x10000 board/sandbox/env/ env.bin @endcode
@code # ./scripts/bareboxenv -s -p 0x10000 arch/sanbox/board/env/ env.bin @endcode
To get some files to play with you can generate a cramfs image:

View File

@ -851,11 +851,11 @@ include/asm:
$(Q)$(create-symlink)
include/config.h: include/config/auto.conf
@echo ' SYMLINK $@ -> board/$(board-y)/config.h'
@echo ' SYMLINK $@ -> $(BOARD)/config.h'
ifneq ($(KBUILD_SRC),)
$(Q)ln -fsn $(srctree)/board/$(board-y)/config.h $@
$(Q)ln -fsn $(srctree)/$(BOARD)/config.h $@
else
@ln -fsn ../board/$(board-y)/config.h $@
@ln -fsn ../$(BOARD)/config.h $@
endif
# Generate some files

3
TODO
View File

@ -33,7 +33,6 @@ TODO
[-] Cleanup cpu/*. Many functions there are not cpu specific. For example the
cache functions for arm are common for most arm processors. (done for ARM)
(I will check this for m68k arch - csc 21.03.2008 19:56:24)
[ ] Board support should go to arch/*/boards/*
[ ] Move SoC specific header files from include/ to include/asm/arch/
[ ] Several .c/.h files do not have GNU/copyright headers.
[ ] The cramfs driver currently uses direct memory accesses instead of read().
@ -108,4 +107,4 @@ DONE
be any key, ctrl-c or a certain string. Maybe like this:
countdown -m msg -t timeout -x [ctrl-c|anykey|string]
If done, remove the corresponding stuff from common/main.c
[X] Board support should go to arch/*/boards/*

View File

@ -118,7 +118,7 @@ maketools:
PHONY += maketools
ifneq ($(board-y),)
BOARD := board/$(board-y)/
BOARD := arch/arm/boards/$(board-y)/
else
BOARD :=
endif

Some files were not shown because too many files have changed in this diff Show More