]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARC: Improve identification of ARC cores
authorAlexey Brodkin <alexey.brodkin@synopsys.com>
Tue, 27 Nov 2018 06:46:57 +0000 (09:46 +0300)
committerAlexey Brodkin <abrodkin@synopsys.com>
Mon, 3 Dec 2018 11:26:18 +0000 (14:26 +0300)
commit85e529fdfcdff44789e4d0798c3523b9c1b3d3d6
tree28b5c403f61e53b67f38f6d0c93efa2c94b126f9
parentad74bb4fe3fe919ab86f410dbb7df6d2bab8d141
ARC: Improve identification of ARC cores

1. Try to guess a ARC core template that was used
   i.e. not just name a core family but something more
   menaingful like "ARC HS38", "ARC EM11D" etc.

   We do it checking availability of the key differentiation
   features like:
    - Caches (we actually only check for L1 I$ fpr simplicity)
    - XY-memory
    - DSP extensions etc.

2. Identify ARC subsystems

3. Print core clock frequency

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
arch/arc/include/asm/arcregs.h
arch/arc/lib/cpu.c