x86: Set up a shared syscon numbering schema
authorSimon Glass <sjg@chromium.org>
Sun, 17 Jan 2016 23:11:58 +0000 (16:11 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Sun, 24 Jan 2016 04:09:42 +0000 (12:09 +0800)
commit98655f3a8d23d322d91ebb1897ff02a6e8a46b10
treeba26c1eed1a948c4fc478f0622f52d4113435375
parent67292e4c27de6cde4624ce03b47b2449a9ebc671
x86: Set up a shared syscon numbering schema

Each system controller can have a number to identify it. It can then be
accessed using syscon_get_by_driver_data(). Put this in a shared header
file and update the only current user.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/ivybridge/early_me.c
arch/x86/cpu/ivybridge/sdram.c
arch/x86/include/asm/cpu.h
configs/chromebox_panther_defconfig