wdenk | f8e9a23 | 2004-10-09 22:21:29 +0000 | [diff] [blame] | 1 | [By Steven Scholz <steven.scholz@imc-berlin.de>, 16 Aug 2004] |
| 2 | |
| 3 | Since the cpu/ directory gets clobbered with peripheral driver code I |
Peter Tyser | f7c6737 | 2010-04-12 22:28:11 -0500 | [diff] [blame] | 4 | started cleaning up arch/arm/cpu/arm920t. |
wdenk | f8e9a23 | 2004-10-09 22:21:29 +0000 | [diff] [blame] | 5 | |
| 6 | I introduced the concept of Soc (system on a chip) into the ./cpu |
| 7 | directory. That means that code that is cpu (i.e. core) specific |
| 8 | resides in |
| 9 | |
Peter Tyser | d53e8fd | 2010-04-12 22:28:02 -0500 | [diff] [blame] | 10 | $(CPUDIR)/ |
wdenk | f8e9a23 | 2004-10-09 22:21:29 +0000 | [diff] [blame] | 11 | |
| 12 | and code that is specific to some SoC (i.e. vendor specific |
| 13 | peripherals around the core) is moved into |
| 14 | |
Peter Tyser | d53e8fd | 2010-04-12 22:28:02 -0500 | [diff] [blame] | 15 | $(CPUDIR)/$(SOC)/ |
wdenk | f8e9a23 | 2004-10-09 22:21:29 +0000 | [diff] [blame] | 16 | |
Peter Tyser | d53e8fd | 2010-04-12 22:28:02 -0500 | [diff] [blame] | 17 | Thus a library/archive "$(CPUDIR)/$(SOC)/lib$(SOC).a" will be build |
wdenk | f8e9a23 | 2004-10-09 22:21:29 +0000 | [diff] [blame] | 18 | and linked. Examples will be |
| 19 | |
Peter Tyser | f7c6737 | 2010-04-12 22:28:11 -0500 | [diff] [blame] | 20 | arch/arm/cpu/arm920t/imx/ |
| 21 | arch/arm/cpu/arm920t/s3c24x0 |
wdenk | f8e9a23 | 2004-10-09 22:21:29 +0000 | [diff] [blame] | 22 | |
| 23 | One can select an SoC by passing the name of it to ./mkconfig just |
| 24 | like |
| 25 | |
| 26 | @./mkconfig $(@:_config=) arm arm920t vcma9 mpl s3c24x0 |
| 27 | |
| 28 | If there's no VENDOR field (like "mpl" in the above line) one has to |
| 29 | pass NULL instead: |
| 30 | |
| 31 | @./mkconfig $(@:_config=) arm arm920t mx1ads NULL imx |