]> git.ipfire.org Git - people/ms/u-boot.git/commit
ARM: rmobile: Add PRR CPU ID macros
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Sat, 25 Nov 2017 22:54:10 +0000 (23:54 +0100)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Thu, 30 Nov 2017 01:34:20 +0000 (02:34 +0100)
commit262e91566fde7b5564f4a9d3f2fb019cd3c0eb0c
tree1a90c18d7c7bfc3ba962b5233ed14dcf2875fc31
parent654f37da64065cbd2f300bc5747d83cc3c401a08
ARM: rmobile: Add PRR CPU ID macros

Replace the ad-hoc values in the PRR CPU ID table with macros,
so that users can use rmobile_get_cpu_type() can compare the
returned value with these macros to figure out on which CPU they
are running.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
arch/arm/mach-rmobile/cpu_info.c
arch/arm/mach-rmobile/include/mach/rmobile.h