rockchip: Move pull-up/down enum into a common file
authorSimon Glass <sjg@chromium.org>
Mon, 21 Jan 2019 21:53:33 +0000 (14:53 -0700)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Fri, 1 Feb 2019 15:59:13 +0000 (16:59 +0100)
commit3ec6f11c7d192856b65217317ff5ba52827f7a3c
tree426e9068a109f3d09f602a7d81e3a63fd5e00cf0
parent8a0c6aa33f0a077fee52b5b0e68190c7f8339ff0
rockchip: Move pull-up/down enum into a common file

At present this enum is only available to rk3288. Move it so that other
rockchip SoCs can access it. It is needed for the SPL GPIO driver for
rk3999 in a later patch.

Also adjust the enum name to lower case.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
arch/arm/include/asm/arch-rockchip/gpio.h
arch/arm/include/asm/arch-rockchip/grf_rk3288.h