]> git.baikalelectronics.ru Git - uboot.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)
commit456123d8240a9925f40d094ac465e757e290fe9d
tree28b5c403f61e53b67f38f6d0c93efa2c94b126f9
parent68e1b015a2de15dc03e2f6208e7b92cb3c7b0565
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