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>
master
Jean-Christophe PLAGNIOL-VILLARD 13 years ago committed by Sascha Hauer
parent d879de38e8
commit d8c86961b3
  1. 4
      Documentation/barebox-main.dox
  2. 6
      Makefile
  3. 3
      TODO
  4. 2
      arch/arm/Makefile
  5. 0
      arch/arm/boards/a9m2410/Makefile
  6. 0
      arch/arm/boards/a9m2410/a9m2410.c
  7. 0
      arch/arm/boards/a9m2410/config.h
  8. 0
      arch/arm/boards/a9m2410/env/bin/_update
  9. 0
      arch/arm/boards/a9m2410/env/bin/boot
  10. 0
      arch/arm/boards/a9m2410/env/bin/hush_hack
  11. 0
      arch/arm/boards/a9m2410/env/bin/init
  12. 0
      arch/arm/boards/a9m2410/env/bin/update_kernel
  13. 0
      arch/arm/boards/a9m2410/env/bin/update_root
  14. 0
      arch/arm/boards/a9m2410/env/config
  15. 0
      arch/arm/boards/a9m2410/lowlevel_init.S
  16. 0
      arch/arm/boards/a9m2440/Makefile
  17. 0
      arch/arm/boards/a9m2440/a9m2410dev.c
  18. 0
      arch/arm/boards/a9m2440/a9m2440.c
  19. 0
      arch/arm/boards/a9m2440/baseboards.h
  20. 0
      arch/arm/boards/a9m2440/config.h
  21. 0
      arch/arm/boards/a9m2440/env/bin/_update
  22. 0
      arch/arm/boards/a9m2440/env/bin/boot
  23. 0
      arch/arm/boards/a9m2440/env/bin/hush_hack
  24. 0
      arch/arm/boards/a9m2440/env/bin/init
  25. 0
      arch/arm/boards/a9m2440/env/bin/update_kernel
  26. 0
      arch/arm/boards/a9m2440/env/bin/update_root
  27. 0
      arch/arm/boards/a9m2440/env/config
  28. 0
      arch/arm/boards/a9m2440/lowlevel_init.S
  29. 0
      arch/arm/boards/at91sam9260ek/Makefile
  30. 0
      arch/arm/boards/at91sam9260ek/config.h
  31. 0
      arch/arm/boards/at91sam9260ek/env/bin/_update
  32. 0
      arch/arm/boards/at91sam9260ek/env/bin/boot
  33. 0
      arch/arm/boards/at91sam9260ek/env/bin/init
  34. 0
      arch/arm/boards/at91sam9260ek/env/bin/pcidmaloop
  35. 0
      arch/arm/boards/at91sam9260ek/env/bin/pciloop
  36. 0
      arch/arm/boards/at91sam9260ek/env/bin/update_kernel
  37. 0
      arch/arm/boards/at91sam9260ek/env/bin/update_root
  38. 0
      arch/arm/boards/at91sam9260ek/env/config
  39. 0
      arch/arm/boards/at91sam9260ek/init.c
  40. 0
      arch/arm/boards/at91sam9260ek/lowlevel_init.S
  41. 0
      arch/arm/boards/at91sam9263ek/Makefile
  42. 0
      arch/arm/boards/at91sam9263ek/config.h
  43. 0
      arch/arm/boards/at91sam9263ek/env/bin/_update
  44. 0
      arch/arm/boards/at91sam9263ek/env/bin/boot
  45. 0
      arch/arm/boards/at91sam9263ek/env/bin/hush_hack
  46. 0
      arch/arm/boards/at91sam9263ek/env/bin/init
  47. 0
      arch/arm/boards/at91sam9263ek/env/bin/update_barebox_xmodem
  48. 0
      arch/arm/boards/at91sam9263ek/env/bin/update_kernel
  49. 0
      arch/arm/boards/at91sam9263ek/env/bin/update_root
  50. 0
      arch/arm/boards/at91sam9263ek/env/config
  51. 0
      arch/arm/boards/at91sam9263ek/init.c
  52. 0
      arch/arm/boards/edb93xx/Makefile
  53. 0
      arch/arm/boards/edb93xx/config.h
  54. 0
      arch/arm/boards/edb93xx/early_udelay.h
  55. 0
      arch/arm/boards/edb93xx/edb93xx.c
  56. 0
      arch/arm/boards/edb93xx/edb93xx.dox
  57. 0
      arch/arm/boards/edb93xx/edb93xx.h
  58. 0
      arch/arm/boards/edb93xx/env/bin/boot
  59. 0
      arch/arm/boards/edb93xx/env/bin/flash_partition
  60. 0
      arch/arm/boards/edb93xx/env/bin/init
  61. 0
      arch/arm/boards/edb93xx/env/bin/set_nor_parts
  62. 0
      arch/arm/boards/edb93xx/env/bin/update_kernel
  63. 0
      arch/arm/boards/edb93xx/env/bin/update_rootfs
  64. 0
      arch/arm/boards/edb93xx/env/config
  65. 0
      arch/arm/boards/edb93xx/flash_cfg.c
  66. 0
      arch/arm/boards/edb93xx/pll_cfg.c
  67. 0
      arch/arm/boards/edb93xx/pll_cfg.h
  68. 0
      arch/arm/boards/edb93xx/sdram_cfg.c
  69. 0
      arch/arm/boards/edb93xx/sdram_cfg.h
  70. 0
      arch/arm/boards/eukrea_cpuimx25/Makefile
  71. 0
      arch/arm/boards/eukrea_cpuimx25/config.h
  72. 0
      arch/arm/boards/eukrea_cpuimx25/env/bin/_update
  73. 0
      arch/arm/boards/eukrea_cpuimx25/env/bin/boot
  74. 0
      arch/arm/boards/eukrea_cpuimx25/env/bin/hush_hack
  75. 0
      arch/arm/boards/eukrea_cpuimx25/env/bin/init
  76. 0
      arch/arm/boards/eukrea_cpuimx25/env/bin/update_kernel
  77. 0
      arch/arm/boards/eukrea_cpuimx25/env/bin/update_root
  78. 0
      arch/arm/boards/eukrea_cpuimx25/env/config
  79. 0
      arch/arm/boards/eukrea_cpuimx25/eukrea_cpuimx25.c
  80. 0
      arch/arm/boards/eukrea_cpuimx25/lowlevel.c
  81. 0
      arch/arm/boards/eukrea_cpuimx27/Makefile
  82. 0
      arch/arm/boards/eukrea_cpuimx27/config.h
  83. 0
      arch/arm/boards/eukrea_cpuimx27/env/bin/_update
  84. 0
      arch/arm/boards/eukrea_cpuimx27/env/bin/boot
  85. 0
      arch/arm/boards/eukrea_cpuimx27/env/bin/hush_hack
  86. 0
      arch/arm/boards/eukrea_cpuimx27/env/bin/init
  87. 0
      arch/arm/boards/eukrea_cpuimx27/env/bin/update_kernel
  88. 0
      arch/arm/boards/eukrea_cpuimx27/env/bin/update_root
  89. 0
      arch/arm/boards/eukrea_cpuimx27/env/config
  90. 0
      arch/arm/boards/eukrea_cpuimx27/eukrea_cpuimx27.c
  91. 0
      arch/arm/boards/eukrea_cpuimx27/eukrea_cpuimx27.dox
  92. 0
      arch/arm/boards/eukrea_cpuimx27/lowlevel_init.S
  93. 0
      arch/arm/boards/eukrea_cpuimx35/Makefile
  94. 0
      arch/arm/boards/eukrea_cpuimx35/config.h
  95. 0
      arch/arm/boards/eukrea_cpuimx35/env/bin/_update
  96. 0
      arch/arm/boards/eukrea_cpuimx35/env/bin/boot
  97. 0
      arch/arm/boards/eukrea_cpuimx35/env/bin/hush_hack
  98. 0
      arch/arm/boards/eukrea_cpuimx35/env/bin/init
  99. 0
      arch/arm/boards/eukrea_cpuimx35/env/bin/update_kernel
  100. 0
      arch/arm/boards/eukrea_cpuimx35/env/bin/update_root
  101. Some files were not shown because too many files have changed in this diff Show More

@ -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:

@ -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

@ -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/*

@ -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

Loading…
Cancel
Save