diff --git a/configs/README.txt b/configs/README.txt index 5962c34a4a..e15c57c36f 100644 --- a/configs/README.txt +++ b/configs/README.txt @@ -25,6 +25,8 @@ following characteristics: |-- include/ + |-- src/ + | `-- Makefile |-- Make.defs |-- defconfig `-- setenv.sh @@ -32,12 +34,20 @@ following characteristics: Summary of Files ^^^^^^^^^^^^^^^^ -include/ -- This directoy contains board specific header files. This +include/ -- This directory contains board specific header files. This directory will be linked as include/arch/board at configuration time and can be included via '#include '. These header file can only be included by files in arch/include/ and arch//src +src/ -- This directory contains board specific drivers. This + directory will be linked as arch//src/board at configuration + time and will be integrated into the build system. + +src/Makefile -- This makefile will be invoked to build the board specific + drivers. It must support the following targets: libext$(LIBEXT), clean, + and distclean. + Make.defs -- This makefile fragment provides architecture and tool-specific build options. It will be included by all other makefiles in the build (once it is installed). This make fragment diff --git a/configs/c5471evm/defconfig b/configs/c5471evm/defconfig index a65cdb4358..2971805c51 100644 --- a/configs/c5471evm/defconfig +++ b/configs/c5471evm/defconfig @@ -35,15 +35,19 @@ # # architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory -# CONFIG_ARCH_name - for use in C code -# CONFIG_BOARD - identifies the configs subdirectory -# CONFIG_BARD_name - for use in C code +# CONFIG_ARCH - identifies the arch subdirectory and, hence, the +# processor architecture. +# CONFIG_ARCH_name - for use in C code. This identifies the +# particular chip or SoC that the architecture is implemented +# in. +# CONFIG_BOARD - identifies the configs subdirectory and, hence, +# the board that supports the particular chip or SoC. +# CONFIG_BOARD_name - for use in C code # CONFIG_ROM_VECTORS - unique to c5471 # CONFIG_DRAM_END - the size of installed DRAM. # Unique to c5471 -# CONFIG_C5471_LEDS - Use LEDs to show state. Unique to c5471. -# CONFIG_C5471_STACKDUMP - Do stack dumps after assertions +# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to c5471. +# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions # CONFIG_ARCH=c5471 CONFIG_ARCH_C5471=y @@ -51,8 +55,8 @@ CONFIG_BOARD=c5471evm CONFIG_BOARD_C5471EVM=y CONFIG_ROM_VECTORS=n CONFIG_DRAM_END=0x11000000 -CONFIG_C5471_LEDS=y -CONFIG_C5471_STACKDUMP=y +CONFIG_ARCH_LEDS=y +CONFIG_ARCH_STACKDUMP=y # # C5471 specific device driver settings diff --git a/configs/m68332evb/defconfig b/configs/m68332evb/defconfig index 86a7e059a5..c63dc6aa23 100644 --- a/configs/m68332evb/defconfig +++ b/configs/m68332evb/defconfig @@ -35,10 +35,14 @@ # # architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory -# CONFIG_ARCH_name - for use in C code -# CONFIG_BOARD - identifies the configs subdirectory -# CONFIG_BARD_name - for use in C code +# CONFIG_ARCH - identifies the arch subdirectory and, hence, the +# processor architecture. +# CONFIG_ARCH_name - for use in C code. This identifies the +# particular chip or SoC that the architecture is implemented +# in. +# CONFIG_BOARD - identifies the configs subdirectory and, hence, +# the board that supports the particular chip or SoC. +# CONFIG_BOARD_name - for use in C code # CONFIG_DRAM_SIZE - Describes the installed DRAM. # CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions # diff --git a/configs/ntosd-dm320/defconfig b/configs/ntosd-dm320/defconfig index 1763fe0f4c..7ea06e2170 100644 --- a/configs/ntosd-dm320/defconfig +++ b/configs/ntosd-dm320/defconfig @@ -35,10 +35,14 @@ # # architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory -# CONFIG_ARCH_name - for use in C code -# CONFIG_BOARD - identifies the configs subdirectory -# CONFIG_BARD_name - for use in C code +# CONFIG_ARCH - identifies the arch subdirectory and, hence, the +# processor architecture. +# CONFIG_ARCH_name - for use in C code. This identifies the +# particular chip or SoC that the architecture is implemented +# in. +# CONFIG_BOARD - identifies the configs subdirectory and, hence, +# the board that supports the particular chip or SoC. +# CONFIG_BOARD_name - for use in C code # CONFIG_ROM_VECTORS - unique to dm320 # CONFIG_DRAM_SIZE - Describes the installed DRAM. # CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions diff --git a/configs/pjrc-8051/defconfig b/configs/pjrc-8051/defconfig index 316bda2b4b..cc5da93bd7 100644 --- a/configs/pjrc-8051/defconfig +++ b/configs/pjrc-8051/defconfig @@ -35,9 +35,13 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory +# CONFIG_ARCH - identifies the arch subdirectory and, hence, the +# processor architecture. # CONFIG_ARCH_8051 - Set if processor is 8051 family # CONFIG_ARCH_8052 = Set if processor is 8052 family +# CONFIG_BOARD - identifies the configs subdirectory and, hence, +# the board that supports the particular chip or SoC. +# CONFIG_BOARD_name - for use in C code # CONFIG_BOARD - identifies the configs subdirectory # CONFIG_BARD_name - for use in C code # diff --git a/configs/sim/defconfig b/configs/sim/defconfig index 13e1030eea..935ca1db25 100644 --- a/configs/sim/defconfig +++ b/configs/sim/defconfig @@ -35,10 +35,14 @@ # # architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory -# CONFIG_ARCH_name - for use in C code -# CONFIG_BOARD - identifies the configs subdirectory -# CONFIG_BARD_name - for use in C code +# CONFIG_ARCH - identifies the arch subdirectory and, hence, the +# processor architecture. +# CONFIG_ARCH_name - for use in C code. This identifies the +# particular chip or SoC that the architecture is implemented +# in. +# CONFIG_BOARD - identifies the configs subdirectory and, hence, +# the board that supports the particular chip or SoC. +# CONFIG_BOARD_name - for use in C code # CONFIG_ARCH=sim CONFIG_ARCH_SIM=y