s5j/sss: do not use Kconfig constants
authorHeesub Shin <heesub.shin@samsung.com>
Fri, 7 Apr 2017 08:20:55 +0000 (17:20 +0900)
committerHeesub Shin <heesub.shin@samsung.com>
Tue, 18 Apr 2017 03:02:09 +0000 (12:02 +0900)
commit768e01aedcc12585325bccb10cbd993793597d27
treeb0e72ad84275f990db74857abfa97c7d5351baf3
parentf2add06bc48773795e15a1d46207ab7bd5d101b2
s5j/sss: do not use Kconfig constants

Instead of using constants that are defined by Kconfig, use geometry
information provided by underlying MTD device.

This is a prepration step for removing CONFIG_S5J_FLASH_XXX that are not
actually configurable, but in Kconfig so making people confused.

Change-Id: I02dd1e39e8e642a0eceeda72e217b5a7b376f85b
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
os/arch/arm/src/s5j/sss/sss_driver_io.c