Fix define for MPC5121 ADS board.
authormark.vels@team-embedded.nl <mark.vels@team-embedded.nl>
Tue, 5 Oct 2010 15:46:19 +0000 (17:46 +0200)
committerWolfgang Denk <wd@denx.de>
Wed, 13 Oct 2010 19:28:54 +0000 (21:28 +0200)
commit812493ad872a56c81a20232a7e89be11ec388c87
tree7793ab5089b3683483924478cd658985107796e6
parente1b4c57096b87b4ada56df4154d9acee6a59141f
Fix define for MPC5121 ADS board.

Originally the Makefile defines CONFIG_ADS5121_REV2 when configuring
for board mpc5121ads_rev2. The config in include/configs/mpc5121ads.h
expects a define CONFIG_MPC5121ADS_REV2 for this.
Therefore there are two defines used but only 1 is defined.
This patch renames references to CONFIG_ADS5121_REV2 to CONFIG_MPC5121ADS_REV2
to have one common define.

This patch fixes faulty mem size detection caused by wrong config in
include/configs/mpc5121ads.h

Signed-off-by: Mark Vels <mark.vels@team-embedded.nl>
Makefile
board/freescale/mpc5121ads/mpc5121ads.c