wdenk | 1d9f410 | 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 | 84ad688 | 2010-04-12 22:28:11 -0500 | [diff] [blame] | 4 | started cleaning up arch/arm/cpu/arm920t. |
wdenk | 1d9f410 | 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 | 03b7004 | 2010-04-12 22:28:02 -0500 | [diff] [blame] | 10 | $(CPUDIR)/ |
wdenk | 1d9f410 | 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 | 03b7004 | 2010-04-12 22:28:02 -0500 | [diff] [blame] | 15 | $(CPUDIR)/$(SOC)/ |
wdenk | 1d9f410 | 2004-10-09 22:21:29 +0000 | [diff] [blame] | 16 | |
Peter Tyser | 03b7004 | 2010-04-12 22:28:02 -0500 | [diff] [blame] | 17 | Thus a library/archive "$(CPUDIR)/$(SOC)/lib$(SOC).a" will be build |
wdenk | 1d9f410 | 2004-10-09 22:21:29 +0000 | [diff] [blame] | 18 | and linked. Examples will be |
| 19 | |
Peter Tyser | 84ad688 | 2010-04-12 22:28:11 -0500 | [diff] [blame] | 20 | arch/arm/cpu/arm920t/imx/ |
| 21 | arch/arm/cpu/arm920t/s3c24x0 |
wdenk | 1d9f410 | 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 |