]> git.baikalelectronics.ru Git - uboot.git/commit
x86: cpu: introduce scu_ipc_raw_command()
authorGeorgii Staroselskii <georgii.staroselskii@emlid.com>
Tue, 11 Sep 2018 10:31:06 +0000 (13:31 +0300)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 17 Sep 2018 06:34:15 +0000 (14:34 +0800)
commitc426c94e6f5492eaf3c9032933ac5c0fde968a63
treebdf59557fae58b19e4e267d666e971612b405cce
parentfadffbc40aff5e65636da33ad17960ea562f6ca2
x86: cpu: introduce scu_ipc_raw_command()

This interface will be used to configure properly some pins on
Merrifield that are shared with SCU.

scu_ipc_raw_command() writes SPTR and DPTR registers before sending
a command to SCU.

This code has been ported from Linux work done by Andy Shevchenko.

Signed-off-by: Georgii Staroselskii <georgii.staroselskii@emlid.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/include/asm/scu.h
arch/x86/lib/scu.c