cam_enc_4xx: Move CONFIG_SPL_PAD_TO to a config header
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Sun, 1 Sep 2013 06:04:27 +0000 (15:04 +0900)
committerTom Rini <trini@ti.com>
Fri, 6 Sep 2013 17:09:08 +0000 (13:09 -0400)
commit1affd4d4a3fe512050e1ad1636d9360c670da531
tree2b0444a316b7616b021de1c7ef16ae18cfb41313
parentcb4ef5ba3653a60a4b7fcd59bab4c032cd5cc82a
cam_enc_4xx: Move CONFIG_SPL_PAD_TO to a config header

For most boards which define CONFIG_SPL_PAD_TO,
it is defined in config header files.
Currently, there exists only one exception, cam_enc_4xx board.

This patch moves CONFIG_SPL_PAD_TO definition
from board/ait/cam_enc_4xx/config.mk
to include/configs/cam_enc_4xx.h.

With this modification, we can delete a glue code
in the top level config.mk:

ifneq ($(CONFIG_SPL_PAD_TO),)
CPPFLAGS += -DCONFIG_SPL_PAD_TO=$(CONFIG_SPL_PAD_TO)
endif

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Heiko Schocher <hs@denx.de>
board/ait/cam_enc_4xx/config.mk
config.mk
include/configs/cam_enc_4xx.h