aboutsummaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD2008-10-16 08:01:15 -0500
committerWolfgang Denk2008-10-18 14:54:03 -0500
commit6d0f6bcf337c5261c08fabe12982178c2c489d76 (patch)
treeae13958ffa9c6b58c2ea97aac07a4ad2f04a350f /api
parent71edc271816ec82cf0550dd6980be2da3cc2ad9e (diff)
downloadu-boot-6d0f6bcf337c5261c08fabe12982178c2c489d76.tar.gz
u-boot-6d0f6bcf337c5261c08fabe12982178c2c489d76.tar.xz
u-boot-6d0f6bcf337c5261c08fabe12982178c2c489d76.zip
rename CFG_ macros to CONFIG_SYS
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'api')
-rw-r--r--api/api_storage.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/api/api_storage.c b/api/api_storage.c
index 5642dd33bc..6fac98bffd 100644
--- a/api/api_storage.c
+++ b/api/api_storage.c
@@ -67,28 +67,28 @@ static struct stor_spec specs[ENUM_MAX] = { { 0, 0, 0, 0, "" }, };
67void dev_stor_init(void) 67void dev_stor_init(void)
68{ 68{
69#if defined(CONFIG_CMD_IDE) 69#if defined(CONFIG_CMD_IDE)
70 specs[ENUM_IDE].max_dev = CFG_IDE_MAXDEVICE; 70 specs[ENUM_IDE].max_dev = CONFIG_SYS_IDE_MAXDEVICE;
71 specs[ENUM_IDE].enum_started = 0; 71 specs[ENUM_IDE].enum_started = 0;
72 specs[ENUM_IDE].enum_ended = 0; 72 specs[ENUM_IDE].enum_ended = 0;
73 specs[ENUM_IDE].type = DEV_TYP_STOR | DT_STOR_IDE; 73 specs[ENUM_IDE].type = DEV_TYP_STOR | DT_STOR_IDE;
74 specs[ENUM_IDE].name = "ide"; 74 specs[ENUM_IDE].name = "ide";
75#endif 75#endif
76#if defined(CONFIG_CMD_MMC) 76#if defined(CONFIG_CMD_MMC)
77 specs[ENUM_MMC].max_dev = CFG_MMC_MAX_DEVICE; 77 specs[ENUM_MMC].max_dev = CONFIG_SYS_MMC_MAX_DEVICE;
78 specs[ENUM_MMC].enum_started = 0; 78 specs[ENUM_MMC].enum_started = 0;
79 specs[ENUM_MMC].enum_ended = 0; 79 specs[ENUM_MMC].enum_ended = 0;
80 specs[ENUM_MMC].type = DEV_TYP_STOR | DT_STOR_MMC; 80 specs[ENUM_MMC].type = DEV_TYP_STOR | DT_STOR_MMC;
81 specs[ENUM_MMC].name = "mmc"; 81 specs[ENUM_MMC].name = "mmc";
82#endif 82#endif
83#if defined(CONFIG_CMD_SATA) 83#if defined(CONFIG_CMD_SATA)
84 specs[ENUM_SATA].max_dev = CFG_SATA_MAX_DEVICE; 84 specs[ENUM_SATA].max_dev = CONFIG_SYS_SATA_MAX_DEVICE;
85 specs[ENUM_SATA].enum_started = 0; 85 specs[ENUM_SATA].enum_started = 0;
86 specs[ENUM_SATA].enum_ended = 0; 86 specs[ENUM_SATA].enum_ended = 0;
87 specs[ENUM_SATA].type = DEV_TYP_STOR | DT_STOR_SATA; 87 specs[ENUM_SATA].type = DEV_TYP_STOR | DT_STOR_SATA;
88 specs[ENUM_SATA].name = "sata"; 88 specs[ENUM_SATA].name = "sata";
89#endif 89#endif
90#if defined(CONFIG_CMD_SCSI) 90#if defined(CONFIG_CMD_SCSI)
91 specs[ENUM_SCSI].max_dev = CFG_SCSI_MAX_DEVICE; 91 specs[ENUM_SCSI].max_dev = CONFIG_SYS_SCSI_MAX_DEVICE;
92 specs[ENUM_SCSI].enum_started = 0; 92 specs[ENUM_SCSI].enum_started = 0;
93 specs[ENUM_SCSI].enum_ended = 0; 93 specs[ENUM_SCSI].enum_ended = 0;
94 specs[ENUM_SCSI].type = DEV_TYP_STOR | DT_STOR_SCSI; 94 specs[ENUM_SCSI].type = DEV_TYP_STOR | DT_STOR_SCSI;