[U-Boot] U-boot mainline build fails on MMC

Hello Wolfgang,
I know you do not want build failure messages on the list, but this one is that huge, that I think it is worth to mention. Below the build logging of the failure I get now for 2 days. I have not bisected it to the offending patch, but looking at the change history I see that Andy has done some things with MMC, so I guess he is interested too.
Kind regards,
Remy
Configuring for lpc2292sodimm board... common/libcommon.a(cmd_mmc.o): In function `do_mmcinfo': /home/remy/nightbuild/git/u-boot/common/cmd_mmc.c:76: undefined reference to `find_mmc_device' /home/remy/nightbuild/git/u-boot/common/cmd_mmc.c:79: undefined reference to `mmc_init' common/libcommon.a(cmd_mmc.o): In function `do_mmcops': /home/remy/nightbuild/git/u-boot/common/cmd_mmc.c:98: undefined reference to `find_mmc_device' /home/remy/nightbuild/git/u-boot/common/cmd_mmc.c:100: undefined reference to `mmc_init' /home/remy/nightbuild/git/u-boot/common/cmd_mmc.c:113: undefined reference to `print_mmc_devices' /home/remy/nightbuild/git/u-boot/common/cmd_mmc.c:124: undefined reference to `find_mmc_device' /home/remy/nightbuild/git/u-boot/common/cmd_mmc.c:129: undefined reference to `mmc_init' /home/remy/nightbuild/git/u-boot/common/cmd_mmc.c:144: undefined reference to `find_mmc_device' /home/remy/nightbuild/git/u-boot/common/cmd_mmc.c:151: undefined reference to `mmc_init' make: *** [/home/remy/nightbuild/scratch/build/u-boot] Error 1 Configuring for modnet50 board... text data bss dec hex filename 105103 4032 18732 127867 1f37b /home/remy/nightbuild/scratch/build/u-boot Configuring for SMN42 board... common/libcommon.a(cmd_mmc.o): In function `do_mmcinfo': /home/remy/nightbuild/git/u-boot/common/cmd_mmc.c:76: undefined reference to `find_mmc_device' /home/remy/nightbuild/git/u-boot/common/cmd_mmc.c:79: undefined reference to `mmc_init' common/libcommon.a(cmd_mmc.o): In function `do_mmcops': /home/remy/nightbuild/git/u-boot/common/cmd_mmc.c:98: undefined reference to `find_mmc_device' /home/remy/nightbuild/git/u-boot/common/cmd_mmc.c:100: undefined reference to `mmc_init' /home/remy/nightbuild/git/u-boot/common/cmd_mmc.c:113: undefined reference to `print_mmc_devices' /home/remy/nightbuild/git/u-boot/common/cmd_mmc.c:124: undefined reference to `find_mmc_device' /home/remy/nightbuild/git/u-boot/common/cmd_mmc.c:129: undefined reference to `mmc_init' /home/remy/nightbuild/git/u-boot/common/cmd_mmc.c:144: undefined reference to `find_mmc_device' /home/remy/nightbuild/git/u-boot/common/cmd_mmc.c:151: undefined reference to `mmc_init' make: *** [/home/remy/nightbuild/scratch/build/u-boot] Error 1
Configuring for omap3_beagle board... omap3_mmc.c:33: warning: implicit declaration of function 'CLKD' omap3_mmc.c:33: error: initializer element is not constant omap3_mmc.c:33: error: (near initialization for 'mmc_transspeed_val[0][0]') omap3_mmc.c:33: error: initializer element is not constant omap3_mmc.c:33: error: (near initialization for 'mmc_transspeed_val[0][1]') omap3_mmc.c:33: error: initializer element is not constant omap3_mmc.c:33: error: (near initialization for 'mmc_transspeed_val[0][2]') omap3_mmc.c:33: error: initializer element is not constant omap3_mmc.c:33: error: (near initialization for 'mmc_transspeed_val[0][3]') omap3_mmc.c:34: error: initializer element is not constant omap3_mmc.c:34: error: (near initialization for 'mmc_transspeed_val[1][0]') omap3_mmc.c:34: error: initializer element is not constant omap3_mmc.c:34: error: (near initialization for 'mmc_transspeed_val[1][1]') omap3_mmc.c:34: error: initializer element is not constant omap3_mmc.c:34: error: (near initialization for 'mmc_transspeed_val[1][2]') omap3_mmc.c:34: error: initializer element is not constant omap3_mmc.c:34: error: (near initialization for 'mmc_transspeed_val[1][3]') omap3_mmc.c:35: error: initializer element is not constant omap3_mmc.c:35: error: (near initialization for 'mmc_transspeed_val[2][0]') omap3_mmc.c:35: error: initializer element is not constant omap3_mmc.c:35: error: (near initialization for 'mmc_transspeed_val[2][1]') omap3_mmc.c:35: error: initializer element is not constant omap3_mmc.c:35: error: (near initialization for 'mmc_transspeed_val[2][2]') omap3_mmc.c:35: error: initializer element is not constant omap3_mmc.c:35: error: (near initialization for 'mmc_transspeed_val[2][3]') omap3_mmc.c:36: error: initializer element is not constant omap3_mmc.c:36: error: (near initialization for 'mmc_transspeed_val[3][0]') omap3_mmc.c:36: error: initializer element is not constant omap3_mmc.c:36: error: (near initialization for 'mmc_transspeed_val[3][1]') omap3_mmc.c:36: error: initializer element is not constant omap3_mmc.c:36: error: (near initialization for 'mmc_transspeed_val[3][2]') omap3_mmc.c:36: error: initializer element is not constant omap3_mmc.c:36: error: (near initialization for 'mmc_transspeed_val[3][3]') omap3_mmc.c:37: error: initializer element is not constant omap3_mmc.c:37: error: (near initialization for 'mmc_transspeed_val[4][0]') omap3_mmc.c:37: error: initializer element is not constant omap3_mmc.c:37: error: (near initialization for 'mmc_transspeed_val[4][1]') omap3_mmc.c:37: error: initializer element is not constant omap3_mmc.c:37: error: (near initialization for 'mmc_transspeed_val[4][2]') omap3_mmc.c:37: error: initializer element is not constant omap3_mmc.c:37: error: (near initialization for 'mmc_transspeed_val[4][3]') omap3_mmc.c:38: error: initializer element is not constant omap3_mmc.c:38: error: (near initialization for 'mmc_transspeed_val[5][0]') omap3_mmc.c:38: error: initializer element is not constant omap3_mmc.c:38: error: (near initialization for 'mmc_transspeed_val[5][1]') omap3_mmc.c:38: error: initializer element is not constant omap3_mmc.c:38: error: (near initialization for 'mmc_transspeed_val[5][2]') omap3_mmc.c:38: error: initializer element is not constant omap3_mmc.c:38: error: (near initialization for 'mmc_transspeed_val[5][3]') omap3_mmc.c:39: error: initializer element is not constant omap3_mmc.c:39: error: (near initialization for 'mmc_transspeed_val[6][0]') omap3_mmc.c:39: error: initializer element is not constant omap3_mmc.c:39: error: (near initialization for 'mmc_transspeed_val[6][1]') omap3_mmc.c:39: error: initializer element is not constant omap3_mmc.c:39: error: (near initialization for 'mmc_transspeed_val[6][2]') omap3_mmc.c:39: error: initializer element is not constant omap3_mmc.c:39: error: (near initialization for 'mmc_transspeed_val[6][3]') omap3_mmc.c:40: error: initializer element is not constant omap3_mmc.c:40: error: (near initialization for 'mmc_transspeed_val[7][0]') omap3_mmc.c:40: error: initializer element is not constant omap3_mmc.c:40: error: (near initialization for 'mmc_transspeed_val[7][1]') omap3_mmc.c:40: error: initializer element is not constant omap3_mmc.c:40: error: (near initialization for 'mmc_transspeed_val[7][2]') omap3_mmc.c:40: error: initializer element is not constant omap3_mmc.c:40: error: (near initialization for 'mmc_transspeed_val[7][3]') omap3_mmc.c:41: error: initializer element is not constant omap3_mmc.c:41: error: (near initialization for 'mmc_transspeed_val[8][0]') omap3_mmc.c:41: error: initializer element is not constant omap3_mmc.c:41: error: (near initialization for 'mmc_transspeed_val[8][1]') omap3_mmc.c:41: error: initializer element is not constant omap3_mmc.c:41: error: (near initialization for 'mmc_transspeed_val[8][2]') omap3_mmc.c:41: error: initializer element is not constant omap3_mmc.c:41: error: (near initialization for 'mmc_transspeed_val[8][3]') omap3_mmc.c:42: error: initializer element is not constant omap3_mmc.c:42: error: (near initialization for 'mmc_transspeed_val[9][0]') omap3_mmc.c:42: error: initializer element is not constant omap3_mmc.c:42: error: (near initialization for 'mmc_transspeed_val[9][1]') omap3_mmc.c:42: error: initializer element is not constant omap3_mmc.c:42: error: (near initialization for 'mmc_transspeed_val[9][2]') omap3_mmc.c:42: error: initializer element is not constant omap3_mmc.c:42: error: (near initialization for 'mmc_transspeed_val[9][3]') omap3_mmc.c:43: error: initializer element is not constant omap3_mmc.c:43: error: (near initialization for 'mmc_transspeed_val[10][0]') omap3_mmc.c:43: error: initializer element is not constant omap3_mmc.c:43: error: (near initialization for 'mmc_transspeed_val[10][1]') omap3_mmc.c:43: error: initializer element is not constant omap3_mmc.c:43: error: (near initialization for 'mmc_transspeed_val[10][2]') omap3_mmc.c:43: error: initializer element is not constant omap3_mmc.c:43: error: (near initialization for 'mmc_transspeed_val[10][3]') omap3_mmc.c:44: error: initializer element is not constant omap3_mmc.c:44: error: (near initialization for 'mmc_transspeed_val[11][0]') omap3_mmc.c:44: error: initializer element is not constant omap3_mmc.c:44: error: (near initialization for 'mmc_transspeed_val[11][1]') omap3_mmc.c:44: error: initializer element is not constant omap3_mmc.c:44: error: (near initialization for 'mmc_transspeed_val[11][2]') omap3_mmc.c:44: error: initializer element is not constant omap3_mmc.c:44: error: (near initialization for 'mmc_transspeed_val[11][3]') omap3_mmc.c:45: error: initializer element is not constant omap3_mmc.c:45: error: (near initialization for 'mmc_transspeed_val[12][0]') omap3_mmc.c:45: error: initializer element is not constant omap3_mmc.c:45: error: (near initialization for 'mmc_transspeed_val[12][1]') omap3_mmc.c:45: error: initializer element is not constant omap3_mmc.c:45: error: (near initialization for 'mmc_transspeed_val[12][2]') omap3_mmc.c:45: error: initializer element is not constant omap3_mmc.c:45: error: (near initialization for 'mmc_transspeed_val[12][3]') omap3_mmc.c:46: error: initializer element is not constant omap3_mmc.c:46: error: (near initialization for 'mmc_transspeed_val[13][0]') omap3_mmc.c:46: error: initializer element is not constant omap3_mmc.c:46: error: (near initialization for 'mmc_transspeed_val[13][1]') omap3_mmc.c:46: error: initializer element is not constant omap3_mmc.c:46: error: (near initialization for 'mmc_transspeed_val[13][2]') omap3_mmc.c:46: error: initializer element is not constant omap3_mmc.c:46: error: (near initialization for 'mmc_transspeed_val[13][3]') omap3_mmc.c:47: error: initializer element is not constant omap3_mmc.c:47: error: (near initialization for 'mmc_transspeed_val[14][0]') omap3_mmc.c:47: error: initializer element is not constant omap3_mmc.c:47: error: (near initialization for 'mmc_transspeed_val[14][1]') omap3_mmc.c:47: error: initializer element is not constant omap3_mmc.c:47: error: (near initialization for 'mmc_transspeed_val[14][2]') omap3_mmc.c:47: error: initializer element is not constant omap3_mmc.c:47: error: (near initialization for 'mmc_transspeed_val[14][3]') omap3_mmc.c:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cur_card_data' omap3_mmc.c: In function 'mmc_board_init': omap3_mmc.c:74: error: 'CONTROL_PBIAS_LITE' undeclared (first use in this function) omap3_mmc.c:74: error: (Each undeclared identifier is reported only once omap3_mmc.c:74: error: for each function it appears in.) omap3_mmc.c:77: error: 'CONTROL_DEV_CONF0' undeclared (first use in this function) omap3_mmc.c: In function 'mmc_init_stream': omap3_mmc.c:87: error: 'OMAP_HSMMC_CON' undeclared (first use in this function) omap3_mmc.c:87: error: 'INIT_INITSTREAM' undeclared (first use in this function) omap3_mmc.c:89: error: 'OMAP_HSMMC_CMD' undeclared (first use in this function) omap3_mmc.c:89: error: 'MMC_CMD0' undeclared (first use in this function) omap3_mmc.c:91: error: 'OMAP_HSMMC_STAT' undeclared (first use in this function) omap3_mmc.c:92: error: 'CC_MASK' undeclared (first use in this function) omap3_mmc.c: In function 'mmc_clock_config': omap3_mmc.c:109: warning: implicit declaration of function 'mmc_reg_out' omap3_mmc.c:109: error: 'OMAP_HSMMC_SYSCTL' undeclared (first use in this function) omap3_mmc.c:109: error: 'ICE_MASK' undeclared (first use in this function) omap3_mmc.c:109: error: 'DTO_MASK' undeclared (first use in this function) omap3_mmc.c:109: error: 'CEN_MASK' undeclared (first use in this function) omap3_mmc.c:110: error: 'ICE_STOP' undeclared (first use in this function) omap3_mmc.c:110: error: 'DTO_15THDTO' undeclared (first use in this function) omap3_mmc.c:110: error: 'CEN_DISABLE' undeclared (first use in this function) omap3_mmc.c:113: error: 'CLK_INITSEQ' undeclared (first use in this function) omap3_mmc.c:114: error: 'MMC_INIT_SEQ_CLK' undeclared (first use in this function) omap3_mmc.c:116: error: 'CLK_400KHZ' undeclared (first use in this function) omap3_mmc.c:117: error: 'MMC_400kHz_CLK' undeclared (first use in this function) omap3_mmc.c:119: error: 'CLK_MISC' undeclared (first use in this function) omap3_mmc.c:126: error: 'CLKD_MASK' undeclared (first use in this function) omap3_mmc.c:126: error: 'CLKD_OFFSET' undeclared (first use in this function) omap3_mmc.c:126: error: 'ICE_OSCILLATE' undeclared (first use in this function) omap3_mmc.c:128: error: 'ICS_MASK' undeclared (first use in this function) omap3_mmc.c:128: error: 'ICS_NOTREADY' undeclared (first use in this function) omap3_mmc.c:130: error: 'CEN_ENABLE' undeclared (first use in this function) omap3_mmc.c: In function 'mmc_init_setup': omap3_mmc.c:140: error: 'OMAP_HSMMC_SYSCONFIG' undeclared (first use in this function) omap3_mmc.c:140: error: 'MMC_SOFTRESET' undeclared (first use in this function) omap3_mmc.c:141: error: 'OMAP_HSMMC_SYSSTATUS' undeclared (first use in this function) omap3_mmc.c:143: error: 'OMAP_HSMMC_SYSCTL' undeclared (first use in this function) omap3_mmc.c:143: error: 'SOFTRESETALL' undeclared (first use in this function) omap3_mmc.c:146: error: 'OMAP_HSMMC_HCTL' undeclared (first use in this function) omap3_mmc.c:146: error: 'DTW_1_BITMODE' undeclared (first use in this function) omap3_mmc.c:146: error: 'SDBP_PWROFF' undeclared (first use in this function) omap3_mmc.c:146: error: 'SDVS_3V0' undeclared (first use in this function) omap3_mmc.c:147: error: 'OMAP_HSMMC_CAPA' undeclared (first use in this function) omap3_mmc.c:147: error: 'VS30_3V0SUP' undeclared (first use in this function) omap3_mmc.c:147: error: 'VS18_1V8SUP' undeclared (first use in this function) omap3_mmc.c:149: error: 'OMAP_HSMMC_CON' undeclared (first use in this function) omap3_mmc.c:149: error: 'RESERVED_MASK' undeclared (first use in this function) omap3_mmc.c:151: error: 'CTPL_MMC_SD' undeclared (first use in this function) omap3_mmc.c:151: error: 'WPP_ACTIVEHIGH' undeclared (first use in this function) omap3_mmc.c:152: error: 'CDP_ACTIVEHIGH' undeclared (first use in this function) omap3_mmc.c:152: error: 'MIT_CTO' undeclared (first use in this function) omap3_mmc.c:152: error: 'DW8_1_4BITMODE' undeclared (first use in this function) omap3_mmc.c:152: error: 'MODE_FUNC' undeclared (first use in this function) omap3_mmc.c:153: error: 'STR_BLOCK' undeclared (first use in this function) omap3_mmc.c:153: error: 'HR_NOHOSTRESP' undeclared (first use in this function) omap3_mmc.c:153: error: 'INIT_NOINIT' undeclared (first use in this function) omap3_mmc.c:153: error: 'NOOPENDRAIN' undeclared (first use in this function) omap3_mmc.c:155: error: 'CLK_INITSEQ' undeclared (first use in this function) omap3_mmc.c:156: error: 'SDBP_PWRON' undeclared (first use in this function) omap3_mmc.c:158: error: 'OMAP_HSMMC_IE' undeclared (first use in this function) omap3_mmc.c: In function 'mmc_send_cmd': omap3_mmc.c:169: error: 'OMAP_HSMMC_PSTATE' undeclared (first use in this function) omap3_mmc.c:169: error: 'DATI_MASK' undeclared (first use in this function) omap3_mmc.c:169: error: 'DATI_CMDDIS' undeclared (first use in this function) omap3_mmc.c:171: error: 'OMAP_HSMMC_BLK' undeclared (first use in this function) omap3_mmc.c:171: error: 'BLEN_512BYTESLEN' undeclared (first use in this function) omap3_mmc.c:171: error: 'NBLK_STPCNT' undeclared (first use in this function) omap3_mmc.c:172: error: 'OMAP_HSMMC_STAT' undeclared (first use in this function) omap3_mmc.c:173: error: 'OMAP_HSMMC_ARG' undeclared (first use in this function) omap3_mmc.c:174: error: 'OMAP_HSMMC_CMD' undeclared (first use in this function) omap3_mmc.c:174: error: 'CMD_TYPE_NORMAL' undeclared (first use in this function) omap3_mmc.c:174: error: 'CICE_NOCHECK' undeclared (first use in this function) omap3_mmc.c:175: error: 'CCCE_NOCHECK' undeclared (first use in this function) omap3_mmc.c:175: error: 'MSBS_SGLEBLK' undeclared (first use in this function) omap3_mmc.c:175: error: 'ACEN_DISABLE' undeclared (first use in this function) omap3_mmc.c:175: error: 'BCE_DISABLE' undeclared (first use in this function) omap3_mmc.c:176: error: 'DE_DISABLE' undeclared (first use in this function) omap3_mmc.c:183: error: 'ERRI_MASK' undeclared (first use in this function) omap3_mmc.c:186: error: 'CC_MASK' undeclared (first use in this function) omap3_mmc.c:188: error: 'OMAP_HSMMC_RSP10' undeclared (first use in this function) omap3_mmc.c:189: error: 'RSP_TYPE_MASK' undeclared (first use in this function) omap3_mmc.c:189: error: 'RSP_TYPE_LGHT136' undeclared (first use in this function) omap3_mmc.c:190: error: 'OMAP_HSMMC_RSP32' undeclared (first use in this function) omap3_mmc.c:191: error: 'OMAP_HSMMC_RSP54' undeclared (first use in this function) omap3_mmc.c:192: error: 'OMAP_HSMMC_RSP76' undeclared (first use in this function) omap3_mmc.c: In function 'mmc_read_data': omap3_mmc.c:210: error: 'OMAP_HSMMC_STAT' undeclared (first use in this function) omap3_mmc.c:213: error: 'ERRI_MASK' undeclared (first use in this function) omap3_mmc.c:216: error: 'BRR_MASK' undeclared (first use in this function) omap3_mmc.c:220: error: 'MMCSD_SECTOR_SIZE' undeclared (first use in this function) omap3_mmc.c:221: error: 'OMAP_HSMMC_DATA' undeclared (first use in this function) omap3_mmc.c:227: error: 'BWR_MASK' undeclared (first use in this function) omap3_mmc.c:230: error: 'TC_MASK' undeclared (first use in this function) omap3_mmc.c: At top level: omap3_mmc.c:238: error: expected ')' before '*' token omap3_mmc.c:349: error: expected ')' before '*' token omap3_mmc.c:404: error: expected declaration specifiers or '...' before 'mmc_card_data' omap3_mmc.c: In function 'omap_mmc_read_sect': omap3_mmc.c:411: error: 'MMCSD_SECTOR_SIZE' undeclared (first use in this function) omap3_mmc.c:417: error: 'mmc_c' undeclared (first use in this function) omap3_mmc.c:417: error: 'SECTOR_MODE' undeclared (first use in this function) omap3_mmc.c:426: error: 'MMC_CMD17' undeclared (first use in this function) omap3_mmc.c: At top level: omap3_mmc.c:441: error: expected ')' before '*' token omap3_mmc.c: In function 'mmc_bread': omap3_mmc.c:519: error: 'MMCSD_SECTOR_SIZE' undeclared (first use in this function) omap3_mmc.c:519: error: 'cur_card_data' undeclared (first use in this function) omap3_mmc.c:520: error: too many arguments to function 'omap_mmc_read_sect' omap3_mmc.c: At top level: omap3_mmc.c:525: error: conflicting types for 'mmc_init' /home/remy/nightbuild/git/u-boot/include/mmc.h:271: error: previous declaration of 'mmc_init' was here omap3_mmc.c: In function 'mmc_init': omap3_mmc.c:526: warning: implicit declaration of function 'configure_mmc' omap3_mmc.c:526: error: 'cur_card_data' undeclared (first use in this function) omap3_mmc.c:536: error: 'MMCSD_SECTOR_SIZE' undeclared (first use in this function) omap3_mmc.c: At top level: omap3_mmc.c:546: error: conflicting types for 'mmc_read' /home/remy/nightbuild/git/u-boot/include/mmc.h:272: error: previous declaration of 'mmc_read' was here make[1]: *** [/home/remy/nightbuild/scratch/build/drivers/mmc/omap3_mmc.o] Error 1 make: *** [/home/remy/nightbuild/scratch/build/drivers/mmc/libmmc.a] Error 2 Configuring for omap3_overo board... omap3_mmc.c:33: warning: implicit declaration of function 'CLKD' omap3_mmc.c:33: error: initializer element is not constant omap3_mmc.c:33: error: (near initialization for 'mmc_transspeed_val[0][0]') omap3_mmc.c:33: error: initializer element is not constant omap3_mmc.c:33: error: (near initialization for 'mmc_transspeed_val[0][1]') omap3_mmc.c:33: error: initializer element is not constant omap3_mmc.c:33: error: (near initialization for 'mmc_transspeed_val[0][2]') omap3_mmc.c:33: error: initializer element is not constant omap3_mmc.c:33: error: (near initialization for 'mmc_transspeed_val[0][3]') omap3_mmc.c:34: error: initializer element is not constant omap3_mmc.c:34: error: (near initialization for 'mmc_transspeed_val[1][0]') omap3_mmc.c:34: error: initializer element is not constant omap3_mmc.c:34: error: (near initialization for 'mmc_transspeed_val[1][1]') omap3_mmc.c:34: error: initializer element is not constant omap3_mmc.c:34: error: (near initialization for 'mmc_transspeed_val[1][2]') omap3_mmc.c:34: error: initializer element is not constant omap3_mmc.c:34: error: (near initialization for 'mmc_transspeed_val[1][3]') omap3_mmc.c:35: error: initializer element is not constant omap3_mmc.c:35: error: (near initialization for 'mmc_transspeed_val[2][0]') omap3_mmc.c:35: error: initializer element is not constant omap3_mmc.c:35: error: (near initialization for 'mmc_transspeed_val[2][1]') omap3_mmc.c:35: error: initializer element is not constant omap3_mmc.c:35: error: (near initialization for 'mmc_transspeed_val[2][2]') omap3_mmc.c:35: error: initializer element is not constant omap3_mmc.c:35: error: (near initialization for 'mmc_transspeed_val[2][3]') omap3_mmc.c:36: error: initializer element is not constant omap3_mmc.c:36: error: (near initialization for 'mmc_transspeed_val[3][0]') omap3_mmc.c:36: error: initializer element is not constant omap3_mmc.c:36: error: (near initialization for 'mmc_transspeed_val[3][1]') omap3_mmc.c:36: error: initializer element is not constant omap3_mmc.c:36: error: (near initialization for 'mmc_transspeed_val[3][2]') omap3_mmc.c:36: error: initializer element is not constant omap3_mmc.c:36: error: (near initialization for 'mmc_transspeed_val[3][3]') omap3_mmc.c:37: error: initializer element is not constant omap3_mmc.c:37: error: (near initialization for 'mmc_transspeed_val[4][0]') omap3_mmc.c:37: error: initializer element is not constant omap3_mmc.c:37: error: (near initialization for 'mmc_transspeed_val[4][1]') omap3_mmc.c:37: error: initializer element is not constant omap3_mmc.c:37: error: (near initialization for 'mmc_transspeed_val[4][2]') omap3_mmc.c:37: error: initializer element is not constant omap3_mmc.c:37: error: (near initialization for 'mmc_transspeed_val[4][3]') omap3_mmc.c:38: error: initializer element is not constant omap3_mmc.c:38: error: (near initialization for 'mmc_transspeed_val[5][0]') omap3_mmc.c:38: error: initializer element is not constant omap3_mmc.c:38: error: (near initialization for 'mmc_transspeed_val[5][1]') omap3_mmc.c:38: error: initializer element is not constant omap3_mmc.c:38: error: (near initialization for 'mmc_transspeed_val[5][2]') omap3_mmc.c:38: error: initializer element is not constant omap3_mmc.c:38: error: (near initialization for 'mmc_transspeed_val[5][3]') omap3_mmc.c:39: error: initializer element is not constant omap3_mmc.c:39: error: (near initialization for 'mmc_transspeed_val[6][0]') omap3_mmc.c:39: error: initializer element is not constant omap3_mmc.c:39: error: (near initialization for 'mmc_transspeed_val[6][1]') omap3_mmc.c:39: error: initializer element is not constant omap3_mmc.c:39: error: (near initialization for 'mmc_transspeed_val[6][2]') omap3_mmc.c:39: error: initializer element is not constant omap3_mmc.c:39: error: (near initialization for 'mmc_transspeed_val[6][3]') omap3_mmc.c:40: error: initializer element is not constant omap3_mmc.c:40: error: (near initialization for 'mmc_transspeed_val[7][0]') omap3_mmc.c:40: error: initializer element is not constant omap3_mmc.c:40: error: (near initialization for 'mmc_transspeed_val[7][1]') omap3_mmc.c:40: error: initializer element is not constant omap3_mmc.c:40: error: (near initialization for 'mmc_transspeed_val[7][2]') omap3_mmc.c:40: error: initializer element is not constant omap3_mmc.c:40: error: (near initialization for 'mmc_transspeed_val[7][3]') omap3_mmc.c:41: error: initializer element is not constant omap3_mmc.c:41: error: (near initialization for 'mmc_transspeed_val[8][0]') omap3_mmc.c:41: error: initializer element is not constant omap3_mmc.c:41: error: (near initialization for 'mmc_transspeed_val[8][1]') omap3_mmc.c:41: error: initializer element is not constant omap3_mmc.c:41: error: (near initialization for 'mmc_transspeed_val[8][2]') omap3_mmc.c:41: error: initializer element is not constant omap3_mmc.c:41: error: (near initialization for 'mmc_transspeed_val[8][3]') omap3_mmc.c:42: error: initializer element is not constant omap3_mmc.c:42: error: (near initialization for 'mmc_transspeed_val[9][0]') omap3_mmc.c:42: error: initializer element is not constant omap3_mmc.c:42: error: (near initialization for 'mmc_transspeed_val[9][1]') omap3_mmc.c:42: error: initializer element is not constant omap3_mmc.c:42: error: (near initialization for 'mmc_transspeed_val[9][2]') omap3_mmc.c:42: error: initializer element is not constant omap3_mmc.c:42: error: (near initialization for 'mmc_transspeed_val[9][3]') omap3_mmc.c:43: error: initializer element is not constant omap3_mmc.c:43: error: (near initialization for 'mmc_transspeed_val[10][0]') omap3_mmc.c:43: error: initializer element is not constant omap3_mmc.c:43: error: (near initialization for 'mmc_transspeed_val[10][1]') omap3_mmc.c:43: error: initializer element is not constant omap3_mmc.c:43: error: (near initialization for 'mmc_transspeed_val[10][2]') omap3_mmc.c:43: error: initializer element is not constant omap3_mmc.c:43: error: (near initialization for 'mmc_transspeed_val[10][3]') omap3_mmc.c:44: error: initializer element is not constant omap3_mmc.c:44: error: (near initialization for 'mmc_transspeed_val[11][0]') omap3_mmc.c:44: error: initializer element is not constant omap3_mmc.c:44: error: (near initialization for 'mmc_transspeed_val[11][1]') omap3_mmc.c:44: error: initializer element is not constant omap3_mmc.c:44: error: (near initialization for 'mmc_transspeed_val[11][2]') omap3_mmc.c:44: error: initializer element is not constant omap3_mmc.c:44: error: (near initialization for 'mmc_transspeed_val[11][3]') omap3_mmc.c:45: error: initializer element is not constant omap3_mmc.c:45: error: (near initialization for 'mmc_transspeed_val[12][0]') omap3_mmc.c:45: error: initializer element is not constant omap3_mmc.c:45: error: (near initialization for 'mmc_transspeed_val[12][1]') omap3_mmc.c:45: error: initializer element is not constant omap3_mmc.c:45: error: (near initialization for 'mmc_transspeed_val[12][2]') omap3_mmc.c:45: error: initializer element is not constant omap3_mmc.c:45: error: (near initialization for 'mmc_transspeed_val[12][3]') omap3_mmc.c:46: error: initializer element is not constant omap3_mmc.c:46: error: (near initialization for 'mmc_transspeed_val[13][0]') omap3_mmc.c:46: error: initializer element is not constant omap3_mmc.c:46: error: (near initialization for 'mmc_transspeed_val[13][1]') omap3_mmc.c:46: error: initializer element is not constant omap3_mmc.c:46: error: (near initialization for 'mmc_transspeed_val[13][2]') omap3_mmc.c:46: error: initializer element is not constant omap3_mmc.c:46: error: (near initialization for 'mmc_transspeed_val[13][3]') omap3_mmc.c:47: error: initializer element is not constant omap3_mmc.c:47: error: (near initialization for 'mmc_transspeed_val[14][0]') omap3_mmc.c:47: error: initializer element is not constant omap3_mmc.c:47: error: (near initialization for 'mmc_transspeed_val[14][1]') omap3_mmc.c:47: error: initializer element is not constant omap3_mmc.c:47: error: (near initialization for 'mmc_transspeed_val[14][2]') omap3_mmc.c:47: error: initializer element is not constant omap3_mmc.c:47: error: (near initialization for 'mmc_transspeed_val[14][3]') omap3_mmc.c:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cur_card_data' omap3_mmc.c: In function 'mmc_board_init': omap3_mmc.c:74: error: 'CONTROL_PBIAS_LITE' undeclared (first use in this function) omap3_mmc.c:74: error: (Each undeclared identifier is reported only once omap3_mmc.c:74: error: for each function it appears in.) omap3_mmc.c:77: error: 'CONTROL_DEV_CONF0' undeclared (first use in this function) omap3_mmc.c: In function 'mmc_init_stream': omap3_mmc.c:87: error: 'OMAP_HSMMC_CON' undeclared (first use in this function) omap3_mmc.c:87: error: 'INIT_INITSTREAM' undeclared (first use in this function) omap3_mmc.c:89: error: 'OMAP_HSMMC_CMD' undeclared (first use in this function) omap3_mmc.c:89: error: 'MMC_CMD0' undeclared (first use in this function) omap3_mmc.c:91: error: 'OMAP_HSMMC_STAT' undeclared (first use in this function) omap3_mmc.c:92: error: 'CC_MASK' undeclared (first use in this function) omap3_mmc.c: In function 'mmc_clock_config': omap3_mmc.c:109: warning: implicit declaration of function 'mmc_reg_out' omap3_mmc.c:109: error: 'OMAP_HSMMC_SYSCTL' undeclared (first use in this function) omap3_mmc.c:109: error: 'ICE_MASK' undeclared (first use in this function) omap3_mmc.c:109: error: 'DTO_MASK' undeclared (first use in this function) omap3_mmc.c:109: error: 'CEN_MASK' undeclared (first use in this function) omap3_mmc.c:110: error: 'ICE_STOP' undeclared (first use in this function) omap3_mmc.c:110: error: 'DTO_15THDTO' undeclared (first use in this function) omap3_mmc.c:110: error: 'CEN_DISABLE' undeclared (first use in this function) omap3_mmc.c:113: error: 'CLK_INITSEQ' undeclared (first use in this function) omap3_mmc.c:114: error: 'MMC_INIT_SEQ_CLK' undeclared (first use in this function) omap3_mmc.c:116: error: 'CLK_400KHZ' undeclared (first use in this function) omap3_mmc.c:117: error: 'MMC_400kHz_CLK' undeclared (first use in this function) omap3_mmc.c:119: error: 'CLK_MISC' undeclared (first use in this function) omap3_mmc.c:126: error: 'CLKD_MASK' undeclared (first use in this function) omap3_mmc.c:126: error: 'CLKD_OFFSET' undeclared (first use in this function) omap3_mmc.c:126: error: 'ICE_OSCILLATE' undeclared (first use in this function) omap3_mmc.c:128: error: 'ICS_MASK' undeclared (first use in this function) omap3_mmc.c:128: error: 'ICS_NOTREADY' undeclared (first use in this function) omap3_mmc.c:130: error: 'CEN_ENABLE' undeclared (first use in this function) omap3_mmc.c: In function 'mmc_init_setup': omap3_mmc.c:140: error: 'OMAP_HSMMC_SYSCONFIG' undeclared (first use in this function) omap3_mmc.c:140: error: 'MMC_SOFTRESET' undeclared (first use in this function) omap3_mmc.c:141: error: 'OMAP_HSMMC_SYSSTATUS' undeclared (first use in this function) omap3_mmc.c:143: error: 'OMAP_HSMMC_SYSCTL' undeclared (first use in this function) omap3_mmc.c:143: error: 'SOFTRESETALL' undeclared (first use in this function) omap3_mmc.c:146: error: 'OMAP_HSMMC_HCTL' undeclared (first use in this function) omap3_mmc.c:146: error: 'DTW_1_BITMODE' undeclared (first use in this function) omap3_mmc.c:146: error: 'SDBP_PWROFF' undeclared (first use in this function) omap3_mmc.c:146: error: 'SDVS_3V0' undeclared (first use in this function) omap3_mmc.c:147: error: 'OMAP_HSMMC_CAPA' undeclared (first use in this function) omap3_mmc.c:147: error: 'VS30_3V0SUP' undeclared (first use in this function) omap3_mmc.c:147: error: 'VS18_1V8SUP' undeclared (first use in this function) omap3_mmc.c:149: error: 'OMAP_HSMMC_CON' undeclared (first use in this function) omap3_mmc.c:149: error: 'RESERVED_MASK' undeclared (first use in this function) omap3_mmc.c:151: error: 'CTPL_MMC_SD' undeclared (first use in this function) omap3_mmc.c:151: error: 'WPP_ACTIVEHIGH' undeclared (first use in this function) omap3_mmc.c:152: error: 'CDP_ACTIVEHIGH' undeclared (first use in this function) omap3_mmc.c:152: error: 'MIT_CTO' undeclared (first use in this function) omap3_mmc.c:152: error: 'DW8_1_4BITMODE' undeclared (first use in this function) omap3_mmc.c:152: error: 'MODE_FUNC' undeclared (first use in this function) omap3_mmc.c:153: error: 'STR_BLOCK' undeclared (first use in this function) omap3_mmc.c:153: error: 'HR_NOHOSTRESP' undeclared (first use in this function) omap3_mmc.c:153: error: 'INIT_NOINIT' undeclared (first use in this function) omap3_mmc.c:153: error: 'NOOPENDRAIN' undeclared (first use in this function) omap3_mmc.c:155: error: 'CLK_INITSEQ' undeclared (first use in this function) omap3_mmc.c:156: error: 'SDBP_PWRON' undeclared (first use in this function) omap3_mmc.c:158: error: 'OMAP_HSMMC_IE' undeclared (first use in this function) omap3_mmc.c: In function 'mmc_send_cmd': omap3_mmc.c:169: error: 'OMAP_HSMMC_PSTATE' undeclared (first use in this function) omap3_mmc.c:169: error: 'DATI_MASK' undeclared (first use in this function) omap3_mmc.c:169: error: 'DATI_CMDDIS' undeclared (first use in this function) omap3_mmc.c:171: error: 'OMAP_HSMMC_BLK' undeclared (first use in this function) omap3_mmc.c:171: error: 'BLEN_512BYTESLEN' undeclared (first use in this function) omap3_mmc.c:171: error: 'NBLK_STPCNT' undeclared (first use in this function) omap3_mmc.c:172: error: 'OMAP_HSMMC_STAT' undeclared (first use in this function) omap3_mmc.c:173: error: 'OMAP_HSMMC_ARG' undeclared (first use in this function) omap3_mmc.c:174: error: 'OMAP_HSMMC_CMD' undeclared (first use in this function) omap3_mmc.c:174: error: 'CMD_TYPE_NORMAL' undeclared (first use in this function) omap3_mmc.c:174: error: 'CICE_NOCHECK' undeclared (first use in this function) omap3_mmc.c:175: error: 'CCCE_NOCHECK' undeclared (first use in this function) omap3_mmc.c:175: error: 'MSBS_SGLEBLK' undeclared (first use in this function) omap3_mmc.c:175: error: 'ACEN_DISABLE' undeclared (first use in this function) omap3_mmc.c:175: error: 'BCE_DISABLE' undeclared (first use in this function) omap3_mmc.c:176: error: 'DE_DISABLE' undeclared (first use in this function) omap3_mmc.c:183: error: 'ERRI_MASK' undeclared (first use in this function) omap3_mmc.c:186: error: 'CC_MASK' undeclared (first use in this function) omap3_mmc.c:188: error: 'OMAP_HSMMC_RSP10' undeclared (first use in this function) omap3_mmc.c:189: error: 'RSP_TYPE_MASK' undeclared (first use in this function) omap3_mmc.c:189: error: 'RSP_TYPE_LGHT136' undeclared (first use in this function) omap3_mmc.c:190: error: 'OMAP_HSMMC_RSP32' undeclared (first use in this function) omap3_mmc.c:191: error: 'OMAP_HSMMC_RSP54' undeclared (first use in this function) omap3_mmc.c:192: error: 'OMAP_HSMMC_RSP76' undeclared (first use in this function) omap3_mmc.c: In function 'mmc_read_data': omap3_mmc.c:210: error: 'OMAP_HSMMC_STAT' undeclared (first use in this function) omap3_mmc.c:213: error: 'ERRI_MASK' undeclared (first use in this function) omap3_mmc.c:216: error: 'BRR_MASK' undeclared (first use in this function) omap3_mmc.c:220: error: 'MMCSD_SECTOR_SIZE' undeclared (first use in this function) omap3_mmc.c:221: error: 'OMAP_HSMMC_DATA' undeclared (first use in this function) omap3_mmc.c:227: error: 'BWR_MASK' undeclared (first use in this function) omap3_mmc.c:230: error: 'TC_MASK' undeclared (first use in this function) omap3_mmc.c: At top level: omap3_mmc.c:238: error: expected ')' before '*' token omap3_mmc.c:349: error: expected ')' before '*' token omap3_mmc.c:404: error: expected declaration specifiers or '...' before 'mmc_card_data' omap3_mmc.c: In function 'omap_mmc_read_sect': omap3_mmc.c:411: error: 'MMCSD_SECTOR_SIZE' undeclared (first use in this function) omap3_mmc.c:417: error: 'mmc_c' undeclared (first use in this function) omap3_mmc.c:417: error: 'SECTOR_MODE' undeclared (first use in this function) omap3_mmc.c:426: error: 'MMC_CMD17' undeclared (first use in this function) omap3_mmc.c: At top level: omap3_mmc.c:441: error: expected ')' before '*' token omap3_mmc.c: In function 'mmc_bread': omap3_mmc.c:519: error: 'MMCSD_SECTOR_SIZE' undeclared (first use in this function) omap3_mmc.c:519: error: 'cur_card_data' undeclared (first use in this function) omap3_mmc.c:520: error: too many arguments to function 'omap_mmc_read_sect' omap3_mmc.c: At top level: omap3_mmc.c:525: error: conflicting types for 'mmc_init' /home/remy/nightbuild/git/u-boot/include/mmc.h:271: error: previous declaration of 'mmc_init' was here omap3_mmc.c: In function 'mmc_init': omap3_mmc.c:526: warning: implicit declaration of function 'configure_mmc' omap3_mmc.c:526: error: 'cur_card_data' undeclared (first use in this function) omap3_mmc.c:536: error: 'MMCSD_SECTOR_SIZE' undeclared (first use in this function) omap3_mmc.c: At top level: omap3_mmc.c:546: error: conflicting types for 'mmc_read' /home/remy/nightbuild/git/u-boot/include/mmc.h:272: error: previous declaration of 'mmc_read' was here make[1]: *** [/home/remy/nightbuild/scratch/build/drivers/mmc/omap3_mmc.o] Error 1 make: *** [/home/remy/nightbuild/scratch/build/drivers/mmc/libmmc.a] Error 2 Configuring for omap3_evm board... omap3_mmc.c:33: warning: implicit declaration of function 'CLKD' omap3_mmc.c:33: error: initializer element is not constant omap3_mmc.c:33: error: (near initialization for 'mmc_transspeed_val[0][0]') omap3_mmc.c:33: error: initializer element is not constant omap3_mmc.c:33: error: (near initialization for 'mmc_transspeed_val[0][1]') omap3_mmc.c:33: error: initializer element is not constant omap3_mmc.c:33: error: (near initialization for 'mmc_transspeed_val[0][2]') omap3_mmc.c:33: error: initializer element is not constant omap3_mmc.c:33: error: (near initialization for 'mmc_transspeed_val[0][3]') omap3_mmc.c:34: error: initializer element is not constant omap3_mmc.c:34: error: (near initialization for 'mmc_transspeed_val[1][0]') omap3_mmc.c:34: error: initializer element is not constant omap3_mmc.c:34: error: (near initialization for 'mmc_transspeed_val[1][1]') omap3_mmc.c:34: error: initializer element is not constant omap3_mmc.c:34: error: (near initialization for 'mmc_transspeed_val[1][2]') omap3_mmc.c:34: error: initializer element is not constant omap3_mmc.c:34: error: (near initialization for 'mmc_transspeed_val[1][3]') omap3_mmc.c:35: error: initializer element is not constant omap3_mmc.c:35: error: (near initialization for 'mmc_transspeed_val[2][0]') omap3_mmc.c:35: error: initializer element is not constant omap3_mmc.c:35: error: (near initialization for 'mmc_transspeed_val[2][1]') omap3_mmc.c:35: error: initializer element is not constant omap3_mmc.c:35: error: (near initialization for 'mmc_transspeed_val[2][2]') omap3_mmc.c:35: error: initializer element is not constant omap3_mmc.c:35: error: (near initialization for 'mmc_transspeed_val[2][3]') omap3_mmc.c:36: error: initializer element is not constant omap3_mmc.c:36: error: (near initialization for 'mmc_transspeed_val[3][0]') omap3_mmc.c:36: error: initializer element is not constant omap3_mmc.c:36: error: (near initialization for 'mmc_transspeed_val[3][1]') omap3_mmc.c:36: error: initializer element is not constant omap3_mmc.c:36: error: (near initialization for 'mmc_transspeed_val[3][2]') omap3_mmc.c:36: error: initializer element is not constant omap3_mmc.c:36: error: (near initialization for 'mmc_transspeed_val[3][3]') omap3_mmc.c:37: error: initializer element is not constant omap3_mmc.c:37: error: (near initialization for 'mmc_transspeed_val[4][0]') omap3_mmc.c:37: error: initializer element is not constant omap3_mmc.c:37: error: (near initialization for 'mmc_transspeed_val[4][1]') omap3_mmc.c:37: error: initializer element is not constant omap3_mmc.c:37: error: (near initialization for 'mmc_transspeed_val[4][2]') omap3_mmc.c:37: error: initializer element is not constant omap3_mmc.c:37: error: (near initialization for 'mmc_transspeed_val[4][3]') omap3_mmc.c:38: error: initializer element is not constant omap3_mmc.c:38: error: (near initialization for 'mmc_transspeed_val[5][0]') omap3_mmc.c:38: error: initializer element is not constant omap3_mmc.c:38: error: (near initialization for 'mmc_transspeed_val[5][1]') omap3_mmc.c:38: error: initializer element is not constant omap3_mmc.c:38: error: (near initialization for 'mmc_transspeed_val[5][2]') omap3_mmc.c:38: error: initializer element is not constant omap3_mmc.c:38: error: (near initialization for 'mmc_transspeed_val[5][3]') omap3_mmc.c:39: error: initializer element is not constant omap3_mmc.c:39: error: (near initialization for 'mmc_transspeed_val[6][0]') omap3_mmc.c:39: error: initializer element is not constant omap3_mmc.c:39: error: (near initialization for 'mmc_transspeed_val[6][1]') omap3_mmc.c:39: error: initializer element is not constant omap3_mmc.c:39: error: (near initialization for 'mmc_transspeed_val[6][2]') omap3_mmc.c:39: error: initializer element is not constant omap3_mmc.c:39: error: (near initialization for 'mmc_transspeed_val[6][3]') omap3_mmc.c:40: error: initializer element is not constant omap3_mmc.c:40: error: (near initialization for 'mmc_transspeed_val[7][0]') omap3_mmc.c:40: error: initializer element is not constant omap3_mmc.c:40: error: (near initialization for 'mmc_transspeed_val[7][1]') omap3_mmc.c:40: error: initializer element is not constant omap3_mmc.c:40: error: (near initialization for 'mmc_transspeed_val[7][2]') omap3_mmc.c:40: error: initializer element is not constant omap3_mmc.c:40: error: (near initialization for 'mmc_transspeed_val[7][3]') omap3_mmc.c:41: error: initializer element is not constant omap3_mmc.c:41: error: (near initialization for 'mmc_transspeed_val[8][0]') omap3_mmc.c:41: error: initializer element is not constant omap3_mmc.c:41: error: (near initialization for 'mmc_transspeed_val[8][1]') omap3_mmc.c:41: error: initializer element is not constant omap3_mmc.c:41: error: (near initialization for 'mmc_transspeed_val[8][2]') omap3_mmc.c:41: error: initializer element is not constant omap3_mmc.c:41: error: (near initialization for 'mmc_transspeed_val[8][3]') omap3_mmc.c:42: error: initializer element is not constant omap3_mmc.c:42: error: (near initialization for 'mmc_transspeed_val[9][0]') omap3_mmc.c:42: error: initializer element is not constant omap3_mmc.c:42: error: (near initialization for 'mmc_transspeed_val[9][1]') omap3_mmc.c:42: error: initializer element is not constant omap3_mmc.c:42: error: (near initialization for 'mmc_transspeed_val[9][2]') omap3_mmc.c:42: error: initializer element is not constant omap3_mmc.c:42: error: (near initialization for 'mmc_transspeed_val[9][3]') omap3_mmc.c:43: error: initializer element is not constant omap3_mmc.c:43: error: (near initialization for 'mmc_transspeed_val[10][0]') omap3_mmc.c:43: error: initializer element is not constant omap3_mmc.c:43: error: (near initialization for 'mmc_transspeed_val[10][1]') omap3_mmc.c:43: error: initializer element is not constant omap3_mmc.c:43: error: (near initialization for 'mmc_transspeed_val[10][2]') omap3_mmc.c:43: error: initializer element is not constant omap3_mmc.c:43: error: (near initialization for 'mmc_transspeed_val[10][3]') omap3_mmc.c:44: error: initializer element is not constant omap3_mmc.c:44: error: (near initialization for 'mmc_transspeed_val[11][0]') omap3_mmc.c:44: error: initializer element is not constant omap3_mmc.c:44: error: (near initialization for 'mmc_transspeed_val[11][1]') omap3_mmc.c:44: error: initializer element is not constant omap3_mmc.c:44: error: (near initialization for 'mmc_transspeed_val[11][2]') omap3_mmc.c:44: error: initializer element is not constant omap3_mmc.c:44: error: (near initialization for 'mmc_transspeed_val[11][3]') omap3_mmc.c:45: error: initializer element is not constant omap3_mmc.c:45: error: (near initialization for 'mmc_transspeed_val[12][0]') omap3_mmc.c:45: error: initializer element is not constant omap3_mmc.c:45: error: (near initialization for 'mmc_transspeed_val[12][1]') omap3_mmc.c:45: error: initializer element is not constant omap3_mmc.c:45: error: (near initialization for 'mmc_transspeed_val[12][2]') omap3_mmc.c:45: error: initializer element is not constant omap3_mmc.c:45: error: (near initialization for 'mmc_transspeed_val[12][3]') omap3_mmc.c:46: error: initializer element is not constant omap3_mmc.c:46: error: (near initialization for 'mmc_transspeed_val[13][0]') omap3_mmc.c:46: error: initializer element is not constant omap3_mmc.c:46: error: (near initialization for 'mmc_transspeed_val[13][1]') omap3_mmc.c:46: error: initializer element is not constant omap3_mmc.c:46: error: (near initialization for 'mmc_transspeed_val[13][2]') omap3_mmc.c:46: error: initializer element is not constant omap3_mmc.c:46: error: (near initialization for 'mmc_transspeed_val[13][3]') omap3_mmc.c:47: error: initializer element is not constant omap3_mmc.c:47: error: (near initialization for 'mmc_transspeed_val[14][0]') omap3_mmc.c:47: error: initializer element is not constant omap3_mmc.c:47: error: (near initialization for 'mmc_transspeed_val[14][1]') omap3_mmc.c:47: error: initializer element is not constant omap3_mmc.c:47: error: (near initialization for 'mmc_transspeed_val[14][2]') omap3_mmc.c:47: error: initializer element is not constant omap3_mmc.c:47: error: (near initialization for 'mmc_transspeed_val[14][3]') omap3_mmc.c:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cur_card_data' omap3_mmc.c: In function 'mmc_board_init': omap3_mmc.c:74: error: 'CONTROL_PBIAS_LITE' undeclared (first use in this function) omap3_mmc.c:74: error: (Each undeclared identifier is reported only once omap3_mmc.c:74: error: for each function it appears in.) omap3_mmc.c:77: error: 'CONTROL_DEV_CONF0' undeclared (first use in this function) omap3_mmc.c: In function 'mmc_init_stream': omap3_mmc.c:87: error: 'OMAP_HSMMC_CON' undeclared (first use in this function) omap3_mmc.c:87: error: 'INIT_INITSTREAM' undeclared (first use in this function) omap3_mmc.c:89: error: 'OMAP_HSMMC_CMD' undeclared (first use in this function) omap3_mmc.c:89: error: 'MMC_CMD0' undeclared (first use in this function) omap3_mmc.c:91: error: 'OMAP_HSMMC_STAT' undeclared (first use in this function) omap3_mmc.c:92: error: 'CC_MASK' undeclared (first use in this function) omap3_mmc.c: In function 'mmc_clock_config': omap3_mmc.c:109: warning: implicit declaration of function 'mmc_reg_out' omap3_mmc.c:109: error: 'OMAP_HSMMC_SYSCTL' undeclared (first use in this function) omap3_mmc.c:109: error: 'ICE_MASK' undeclared (first use in this function) omap3_mmc.c:109: error: 'DTO_MASK' undeclared (first use in this function) omap3_mmc.c:109: error: 'CEN_MASK' undeclared (first use in this function) omap3_mmc.c:110: error: 'ICE_STOP' undeclared (first use in this function) omap3_mmc.c:110: error: 'DTO_15THDTO' undeclared (first use in this function) omap3_mmc.c:110: error: 'CEN_DISABLE' undeclared (first use in this function) omap3_mmc.c:113: error: 'CLK_INITSEQ' undeclared (first use in this function) omap3_mmc.c:114: error: 'MMC_INIT_SEQ_CLK' undeclared (first use in this function) omap3_mmc.c:116: error: 'CLK_400KHZ' undeclared (first use in this function) omap3_mmc.c:117: error: 'MMC_400kHz_CLK' undeclared (first use in this function) omap3_mmc.c:119: error: 'CLK_MISC' undeclared (first use in this function) omap3_mmc.c:126: error: 'CLKD_MASK' undeclared (first use in this function) omap3_mmc.c:126: error: 'CLKD_OFFSET' undeclared (first use in this function) omap3_mmc.c:126: error: 'ICE_OSCILLATE' undeclared (first use in this function) omap3_mmc.c:128: error: 'ICS_MASK' undeclared (first use in this function) omap3_mmc.c:128: error: 'ICS_NOTREADY' undeclared (first use in this function) omap3_mmc.c:130: error: 'CEN_ENABLE' undeclared (first use in this function) omap3_mmc.c: In function 'mmc_init_setup': omap3_mmc.c:140: error: 'OMAP_HSMMC_SYSCONFIG' undeclared (first use in this function) omap3_mmc.c:140: error: 'MMC_SOFTRESET' undeclared (first use in this function) omap3_mmc.c:141: error: 'OMAP_HSMMC_SYSSTATUS' undeclared (first use in this function) omap3_mmc.c:143: error: 'OMAP_HSMMC_SYSCTL' undeclared (first use in this function) omap3_mmc.c:143: error: 'SOFTRESETALL' undeclared (first use in this function) omap3_mmc.c:146: error: 'OMAP_HSMMC_HCTL' undeclared (first use in this function) omap3_mmc.c:146: error: 'DTW_1_BITMODE' undeclared (first use in this function) omap3_mmc.c:146: error: 'SDBP_PWROFF' undeclared (first use in this function) omap3_mmc.c:146: error: 'SDVS_3V0' undeclared (first use in this function) omap3_mmc.c:147: error: 'OMAP_HSMMC_CAPA' undeclared (first use in this function) omap3_mmc.c:147: error: 'VS30_3V0SUP' undeclared (first use in this function) omap3_mmc.c:147: error: 'VS18_1V8SUP' undeclared (first use in this function) omap3_mmc.c:149: error: 'OMAP_HSMMC_CON' undeclared (first use in this function) omap3_mmc.c:149: error: 'RESERVED_MASK' undeclared (first use in this function) omap3_mmc.c:151: error: 'CTPL_MMC_SD' undeclared (first use in this function) omap3_mmc.c:151: error: 'WPP_ACTIVEHIGH' undeclared (first use in this function) omap3_mmc.c:152: error: 'CDP_ACTIVEHIGH' undeclared (first use in this function) omap3_mmc.c:152: error: 'MIT_CTO' undeclared (first use in this function) omap3_mmc.c:152: error: 'DW8_1_4BITMODE' undeclared (first use in this function) omap3_mmc.c:152: error: 'MODE_FUNC' undeclared (first use in this function) omap3_mmc.c:153: error: 'STR_BLOCK' undeclared (first use in this function) omap3_mmc.c:153: error: 'HR_NOHOSTRESP' undeclared (first use in this function) omap3_mmc.c:153: error: 'INIT_NOINIT' undeclared (first use in this function) omap3_mmc.c:153: error: 'NOOPENDRAIN' undeclared (first use in this function) omap3_mmc.c:155: error: 'CLK_INITSEQ' undeclared (first use in this function) omap3_mmc.c:156: error: 'SDBP_PWRON' undeclared (first use in this function) omap3_mmc.c:158: error: 'OMAP_HSMMC_IE' undeclared (first use in this function) omap3_mmc.c: In function 'mmc_send_cmd': omap3_mmc.c:169: error: 'OMAP_HSMMC_PSTATE' undeclared (first use in this function) omap3_mmc.c:169: error: 'DATI_MASK' undeclared (first use in this function) omap3_mmc.c:169: error: 'DATI_CMDDIS' undeclared (first use in this function) omap3_mmc.c:171: error: 'OMAP_HSMMC_BLK' undeclared (first use in this function) omap3_mmc.c:171: error: 'BLEN_512BYTESLEN' undeclared (first use in this function) omap3_mmc.c:171: error: 'NBLK_STPCNT' undeclared (first use in this function) omap3_mmc.c:172: error: 'OMAP_HSMMC_STAT' undeclared (first use in this function) omap3_mmc.c:173: error: 'OMAP_HSMMC_ARG' undeclared (first use in this function) omap3_mmc.c:174: error: 'OMAP_HSMMC_CMD' undeclared (first use in this function) omap3_mmc.c:174: error: 'CMD_TYPE_NORMAL' undeclared (first use in this function) omap3_mmc.c:174: error: 'CICE_NOCHECK' undeclared (first use in this function) omap3_mmc.c:175: error: 'CCCE_NOCHECK' undeclared (first use in this function) omap3_mmc.c:175: error: 'MSBS_SGLEBLK' undeclared (first use in this function) omap3_mmc.c:175: error: 'ACEN_DISABLE' undeclared (first use in this function) omap3_mmc.c:175: error: 'BCE_DISABLE' undeclared (first use in this function) omap3_mmc.c:176: error: 'DE_DISABLE' undeclared (first use in this function) omap3_mmc.c:183: error: 'ERRI_MASK' undeclared (first use in this function) omap3_mmc.c:186: error: 'CC_MASK' undeclared (first use in this function) omap3_mmc.c:188: error: 'OMAP_HSMMC_RSP10' undeclared (first use in this function) omap3_mmc.c:189: error: 'RSP_TYPE_MASK' undeclared (first use in this function) omap3_mmc.c:189: error: 'RSP_TYPE_LGHT136' undeclared (first use in this function) omap3_mmc.c:190: error: 'OMAP_HSMMC_RSP32' undeclared (first use in this function) omap3_mmc.c:191: error: 'OMAP_HSMMC_RSP54' undeclared (first use in this function) omap3_mmc.c:192: error: 'OMAP_HSMMC_RSP76' undeclared (first use in this function) omap3_mmc.c: In function 'mmc_read_data': omap3_mmc.c:210: error: 'OMAP_HSMMC_STAT' undeclared (first use in this function) omap3_mmc.c:213: error: 'ERRI_MASK' undeclared (first use in this function) omap3_mmc.c:216: error: 'BRR_MASK' undeclared (first use in this function) omap3_mmc.c:220: error: 'MMCSD_SECTOR_SIZE' undeclared (first use in this function) omap3_mmc.c:221: error: 'OMAP_HSMMC_DATA' undeclared (first use in this function) omap3_mmc.c:227: error: 'BWR_MASK' undeclared (first use in this function) omap3_mmc.c:230: error: 'TC_MASK' undeclared (first use in this function) omap3_mmc.c: At top level: omap3_mmc.c:238: error: expected ')' before '*' token omap3_mmc.c:349: error: expected ')' before '*' token omap3_mmc.c:404: error: expected declaration specifiers or '...' before 'mmc_card_data' omap3_mmc.c: In function 'omap_mmc_read_sect': omap3_mmc.c:411: error: 'MMCSD_SECTOR_SIZE' undeclared (first use in this function) omap3_mmc.c:417: error: 'mmc_c' undeclared (first use in this function) omap3_mmc.c:417: error: 'SECTOR_MODE' undeclared (first use in this function) omap3_mmc.c:426: error: 'MMC_CMD17' undeclared (first use in this function) omap3_mmc.c: At top level: omap3_mmc.c:441: error: expected ')' before '*' token omap3_mmc.c: In function 'mmc_bread': omap3_mmc.c:519: error: 'MMCSD_SECTOR_SIZE' undeclared (first use in this function) omap3_mmc.c:519: error: 'cur_card_data' undeclared (first use in this function) omap3_mmc.c:520: error: too many arguments to function 'omap_mmc_read_sect' omap3_mmc.c: At top level: omap3_mmc.c:525: error: conflicting types for 'mmc_init' /home/remy/nightbuild/git/u-boot/include/mmc.h:271: error: previous declaration of 'mmc_init' was here omap3_mmc.c: In function 'mmc_init': omap3_mmc.c:526: warning: implicit declaration of function 'configure_mmc' omap3_mmc.c:526: error: 'cur_card_data' undeclared (first use in this function) omap3_mmc.c:536: error: 'MMCSD_SECTOR_SIZE' undeclared (first use in this function) omap3_mmc.c: At top level: omap3_mmc.c:546: error: conflicting types for 'mmc_read' /home/remy/nightbuild/git/u-boot/include/mmc.h:272: error: previous declaration of 'mmc_read' was here make[1]: *** [/home/remy/nightbuild/scratch/build/drivers/mmc/omap3_mmc.o] Error 1 make: *** [/home/remy/nightbuild/scratch/build/drivers/mmc/libmmc.a] Error 2 Configuring for omap3_pandora board... omap3_mmc.c:33: warning: implicit declaration of function 'CLKD' omap3_mmc.c:33: error: initializer element is not constant omap3_mmc.c:33: error: (near initialization for 'mmc_transspeed_val[0][0]') omap3_mmc.c:33: error: initializer element is not constant omap3_mmc.c:33: error: (near initialization for 'mmc_transspeed_val[0][1]') omap3_mmc.c:33: error: initializer element is not constant omap3_mmc.c:33: error: (near initialization for 'mmc_transspeed_val[0][2]') omap3_mmc.c:33: error: initializer element is not constant omap3_mmc.c:33: error: (near initialization for 'mmc_transspeed_val[0][3]') omap3_mmc.c:34: error: initializer element is not constant omap3_mmc.c:34: error: (near initialization for 'mmc_transspeed_val[1][0]') omap3_mmc.c:34: error: initializer element is not constant omap3_mmc.c:34: error: (near initialization for 'mmc_transspeed_val[1][1]') omap3_mmc.c:34: error: initializer element is not constant omap3_mmc.c:34: error: (near initialization for 'mmc_transspeed_val[1][2]') omap3_mmc.c:34: error: initializer element is not constant omap3_mmc.c:34: error: (near initialization for 'mmc_transspeed_val[1][3]') omap3_mmc.c:35: error: initializer element is not constant omap3_mmc.c:35: error: (near initialization for 'mmc_transspeed_val[2][0]') omap3_mmc.c:35: error: initializer element is not constant omap3_mmc.c:35: error: (near initialization for 'mmc_transspeed_val[2][1]') omap3_mmc.c:35: error: initializer element is not constant omap3_mmc.c:35: error: (near initialization for 'mmc_transspeed_val[2][2]') omap3_mmc.c:35: error: initializer element is not constant omap3_mmc.c:35: error: (near initialization for 'mmc_transspeed_val[2][3]') omap3_mmc.c:36: error: initializer element is not constant omap3_mmc.c:36: error: (near initialization for 'mmc_transspeed_val[3][0]') omap3_mmc.c:36: error: initializer element is not constant omap3_mmc.c:36: error: (near initialization for 'mmc_transspeed_val[3][1]') omap3_mmc.c:36: error: initializer element is not constant omap3_mmc.c:36: error: (near initialization for 'mmc_transspeed_val[3][2]') omap3_mmc.c:36: error: initializer element is not constant omap3_mmc.c:36: error: (near initialization for 'mmc_transspeed_val[3][3]') omap3_mmc.c:37: error: initializer element is not constant omap3_mmc.c:37: error: (near initialization for 'mmc_transspeed_val[4][0]') omap3_mmc.c:37: error: initializer element is not constant omap3_mmc.c:37: error: (near initialization for 'mmc_transspeed_val[4][1]') omap3_mmc.c:37: error: initializer element is not constant omap3_mmc.c:37: error: (near initialization for 'mmc_transspeed_val[4][2]') omap3_mmc.c:37: error: initializer element is not constant omap3_mmc.c:37: error: (near initialization for 'mmc_transspeed_val[4][3]') omap3_mmc.c:38: error: initializer element is not constant omap3_mmc.c:38: error: (near initialization for 'mmc_transspeed_val[5][0]') omap3_mmc.c:38: error: initializer element is not constant omap3_mmc.c:38: error: (near initialization for 'mmc_transspeed_val[5][1]') omap3_mmc.c:38: error: initializer element is not constant omap3_mmc.c:38: error: (near initialization for 'mmc_transspeed_val[5][2]') omap3_mmc.c:38: error: initializer element is not constant omap3_mmc.c:38: error: (near initialization for 'mmc_transspeed_val[5][3]') omap3_mmc.c:39: error: initializer element is not constant omap3_mmc.c:39: error: (near initialization for 'mmc_transspeed_val[6][0]') omap3_mmc.c:39: error: initializer element is not constant omap3_mmc.c:39: error: (near initialization for 'mmc_transspeed_val[6][1]') omap3_mmc.c:39: error: initializer element is not constant omap3_mmc.c:39: error: (near initialization for 'mmc_transspeed_val[6][2]') omap3_mmc.c:39: error: initializer element is not constant omap3_mmc.c:39: error: (near initialization for 'mmc_transspeed_val[6][3]') omap3_mmc.c:40: error: initializer element is not constant omap3_mmc.c:40: error: (near initialization for 'mmc_transspeed_val[7][0]') omap3_mmc.c:40: error: initializer element is not constant omap3_mmc.c:40: error: (near initialization for 'mmc_transspeed_val[7][1]') omap3_mmc.c:40: error: initializer element is not constant omap3_mmc.c:40: error: (near initialization for 'mmc_transspeed_val[7][2]') omap3_mmc.c:40: error: initializer element is not constant omap3_mmc.c:40: error: (near initialization for 'mmc_transspeed_val[7][3]') omap3_mmc.c:41: error: initializer element is not constant omap3_mmc.c:41: error: (near initialization for 'mmc_transspeed_val[8][0]') omap3_mmc.c:41: error: initializer element is not constant omap3_mmc.c:41: error: (near initialization for 'mmc_transspeed_val[8][1]') omap3_mmc.c:41: error: initializer element is not constant omap3_mmc.c:41: error: (near initialization for 'mmc_transspeed_val[8][2]') omap3_mmc.c:41: error: initializer element is not constant omap3_mmc.c:41: error: (near initialization for 'mmc_transspeed_val[8][3]') omap3_mmc.c:42: error: initializer element is not constant omap3_mmc.c:42: error: (near initialization for 'mmc_transspeed_val[9][0]') omap3_mmc.c:42: error: initializer element is not constant omap3_mmc.c:42: error: (near initialization for 'mmc_transspeed_val[9][1]') omap3_mmc.c:42: error: initializer element is not constant omap3_mmc.c:42: error: (near initialization for 'mmc_transspeed_val[9][2]') omap3_mmc.c:42: error: initializer element is not constant omap3_mmc.c:42: error: (near initialization for 'mmc_transspeed_val[9][3]') omap3_mmc.c:43: error: initializer element is not constant omap3_mmc.c:43: error: (near initialization for 'mmc_transspeed_val[10][0]') omap3_mmc.c:43: error: initializer element is not constant omap3_mmc.c:43: error: (near initialization for 'mmc_transspeed_val[10][1]') omap3_mmc.c:43: error: initializer element is not constant omap3_mmc.c:43: error: (near initialization for 'mmc_transspeed_val[10][2]') omap3_mmc.c:43: error: initializer element is not constant omap3_mmc.c:43: error: (near initialization for 'mmc_transspeed_val[10][3]') omap3_mmc.c:44: error: initializer element is not constant omap3_mmc.c:44: error: (near initialization for 'mmc_transspeed_val[11][0]') omap3_mmc.c:44: error: initializer element is not constant omap3_mmc.c:44: error: (near initialization for 'mmc_transspeed_val[11][1]') omap3_mmc.c:44: error: initializer element is not constant omap3_mmc.c:44: error: (near initialization for 'mmc_transspeed_val[11][2]') omap3_mmc.c:44: error: initializer element is not constant omap3_mmc.c:44: error: (near initialization for 'mmc_transspeed_val[11][3]') omap3_mmc.c:45: error: initializer element is not constant omap3_mmc.c:45: error: (near initialization for 'mmc_transspeed_val[12][0]') omap3_mmc.c:45: error: initializer element is not constant omap3_mmc.c:45: error: (near initialization for 'mmc_transspeed_val[12][1]') omap3_mmc.c:45: error: initializer element is not constant omap3_mmc.c:45: error: (near initialization for 'mmc_transspeed_val[12][2]') omap3_mmc.c:45: error: initializer element is not constant omap3_mmc.c:45: error: (near initialization for 'mmc_transspeed_val[12][3]') omap3_mmc.c:46: error: initializer element is not constant omap3_mmc.c:46: error: (near initialization for 'mmc_transspeed_val[13][0]') omap3_mmc.c:46: error: initializer element is not constant omap3_mmc.c:46: error: (near initialization for 'mmc_transspeed_val[13][1]') omap3_mmc.c:46: error: initializer element is not constant omap3_mmc.c:46: error: (near initialization for 'mmc_transspeed_val[13][2]') omap3_mmc.c:46: error: initializer element is not constant omap3_mmc.c:46: error: (near initialization for 'mmc_transspeed_val[13][3]') omap3_mmc.c:47: error: initializer element is not constant omap3_mmc.c:47: error: (near initialization for 'mmc_transspeed_val[14][0]') omap3_mmc.c:47: error: initializer element is not constant omap3_mmc.c:47: error: (near initialization for 'mmc_transspeed_val[14][1]') omap3_mmc.c:47: error: initializer element is not constant omap3_mmc.c:47: error: (near initialization for 'mmc_transspeed_val[14][2]') omap3_mmc.c:47: error: initializer element is not constant omap3_mmc.c:47: error: (near initialization for 'mmc_transspeed_val[14][3]') omap3_mmc.c:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cur_card_data' omap3_mmc.c: In function 'mmc_board_init': omap3_mmc.c:74: error: 'CONTROL_PBIAS_LITE' undeclared (first use in this function) omap3_mmc.c:74: error: (Each undeclared identifier is reported only once omap3_mmc.c:74: error: for each function it appears in.) omap3_mmc.c:77: error: 'CONTROL_DEV_CONF0' undeclared (first use in this function) omap3_mmc.c: In function 'mmc_init_stream': omap3_mmc.c:87: error: 'OMAP_HSMMC_CON' undeclared (first use in this function) omap3_mmc.c:87: error: 'INIT_INITSTREAM' undeclared (first use in this function) omap3_mmc.c:89: error: 'OMAP_HSMMC_CMD' undeclared (first use in this function) omap3_mmc.c:89: error: 'MMC_CMD0' undeclared (first use in this function) omap3_mmc.c:91: error: 'OMAP_HSMMC_STAT' undeclared (first use in this function) omap3_mmc.c:92: error: 'CC_MASK' undeclared (first use in this function) omap3_mmc.c: In function 'mmc_clock_config': omap3_mmc.c:109: warning: implicit declaration of function 'mmc_reg_out' omap3_mmc.c:109: error: 'OMAP_HSMMC_SYSCTL' undeclared (first use in this function) omap3_mmc.c:109: error: 'ICE_MASK' undeclared (first use in this function) omap3_mmc.c:109: error: 'DTO_MASK' undeclared (first use in this function) omap3_mmc.c:109: error: 'CEN_MASK' undeclared (first use in this function) omap3_mmc.c:110: error: 'ICE_STOP' undeclared (first use in this function) omap3_mmc.c:110: error: 'DTO_15THDTO' undeclared (first use in this function) omap3_mmc.c:110: error: 'CEN_DISABLE' undeclared (first use in this function) omap3_mmc.c:113: error: 'CLK_INITSEQ' undeclared (first use in this function) omap3_mmc.c:114: error: 'MMC_INIT_SEQ_CLK' undeclared (first use in this function) omap3_mmc.c:116: error: 'CLK_400KHZ' undeclared (first use in this function) omap3_mmc.c:117: error: 'MMC_400kHz_CLK' undeclared (first use in this function) omap3_mmc.c:119: error: 'CLK_MISC' undeclared (first use in this function) omap3_mmc.c:126: error: 'CLKD_MASK' undeclared (first use in this function) omap3_mmc.c:126: error: 'CLKD_OFFSET' undeclared (first use in this function) omap3_mmc.c:126: error: 'ICE_OSCILLATE' undeclared (first use in this function) omap3_mmc.c:128: error: 'ICS_MASK' undeclared (first use in this function) omap3_mmc.c:128: error: 'ICS_NOTREADY' undeclared (first use in this function) omap3_mmc.c:130: error: 'CEN_ENABLE' undeclared (first use in this function) omap3_mmc.c: In function 'mmc_init_setup': omap3_mmc.c:140: error: 'OMAP_HSMMC_SYSCONFIG' undeclared (first use in this function) omap3_mmc.c:140: error: 'MMC_SOFTRESET' undeclared (first use in this function) omap3_mmc.c:141: error: 'OMAP_HSMMC_SYSSTATUS' undeclared (first use in this function) omap3_mmc.c:143: error: 'OMAP_HSMMC_SYSCTL' undeclared (first use in this function) omap3_mmc.c:143: error: 'SOFTRESETALL' undeclared (first use in this function) omap3_mmc.c:146: error: 'OMAP_HSMMC_HCTL' undeclared (first use in this function) omap3_mmc.c:146: error: 'DTW_1_BITMODE' undeclared (first use in this function) omap3_mmc.c:146: error: 'SDBP_PWROFF' undeclared (first use in this function) omap3_mmc.c:146: error: 'SDVS_3V0' undeclared (first use in this function) omap3_mmc.c:147: error: 'OMAP_HSMMC_CAPA' undeclared (first use in this function) omap3_mmc.c:147: error: 'VS30_3V0SUP' undeclared (first use in this function) omap3_mmc.c:147: error: 'VS18_1V8SUP' undeclared (first use in this function) omap3_mmc.c:149: error: 'OMAP_HSMMC_CON' undeclared (first use in this function) omap3_mmc.c:149: error: 'RESERVED_MASK' undeclared (first use in this function) omap3_mmc.c:151: error: 'CTPL_MMC_SD' undeclared (first use in this function) omap3_mmc.c:151: error: 'WPP_ACTIVEHIGH' undeclared (first use in this function) omap3_mmc.c:152: error: 'CDP_ACTIVEHIGH' undeclared (first use in this function) omap3_mmc.c:152: error: 'MIT_CTO' undeclared (first use in this function) omap3_mmc.c:152: error: 'DW8_1_4BITMODE' undeclared (first use in this function) omap3_mmc.c:152: error: 'MODE_FUNC' undeclared (first use in this function) omap3_mmc.c:153: error: 'STR_BLOCK' undeclared (first use in this function) omap3_mmc.c:153: error: 'HR_NOHOSTRESP' undeclared (first use in this function) omap3_mmc.c:153: error: 'INIT_NOINIT' undeclared (first use in this function) omap3_mmc.c:153: error: 'NOOPENDRAIN' undeclared (first use in this function) omap3_mmc.c:155: error: 'CLK_INITSEQ' undeclared (first use in this function) omap3_mmc.c:156: error: 'SDBP_PWRON' undeclared (first use in this function) omap3_mmc.c:158: error: 'OMAP_HSMMC_IE' undeclared (first use in this function) omap3_mmc.c: In function 'mmc_send_cmd': omap3_mmc.c:169: error: 'OMAP_HSMMC_PSTATE' undeclared (first use in this function) omap3_mmc.c:169: error: 'DATI_MASK' undeclared (first use in this function) omap3_mmc.c:169: error: 'DATI_CMDDIS' undeclared (first use in this function) omap3_mmc.c:171: error: 'OMAP_HSMMC_BLK' undeclared (first use in this function) omap3_mmc.c:171: error: 'BLEN_512BYTESLEN' undeclared (first use in this function) omap3_mmc.c:171: error: 'NBLK_STPCNT' undeclared (first use in this function) omap3_mmc.c:172: error: 'OMAP_HSMMC_STAT' undeclared (first use in this function) omap3_mmc.c:173: error: 'OMAP_HSMMC_ARG' undeclared (first use in this function) omap3_mmc.c:174: error: 'OMAP_HSMMC_CMD' undeclared (first use in this function) omap3_mmc.c:174: error: 'CMD_TYPE_NORMAL' undeclared (first use in this function) omap3_mmc.c:174: error: 'CICE_NOCHECK' undeclared (first use in this function) omap3_mmc.c:175: error: 'CCCE_NOCHECK' undeclared (first use in this function) omap3_mmc.c:175: error: 'MSBS_SGLEBLK' undeclared (first use in this function) omap3_mmc.c:175: error: 'ACEN_DISABLE' undeclared (first use in this function) omap3_mmc.c:175: error: 'BCE_DISABLE' undeclared (first use in this function) omap3_mmc.c:176: error: 'DE_DISABLE' undeclared (first use in this function) omap3_mmc.c:183: error: 'ERRI_MASK' undeclared (first use in this function) omap3_mmc.c:186: error: 'CC_MASK' undeclared (first use in this function) omap3_mmc.c:188: error: 'OMAP_HSMMC_RSP10' undeclared (first use in this function) omap3_mmc.c:189: error: 'RSP_TYPE_MASK' undeclared (first use in this function) omap3_mmc.c:189: error: 'RSP_TYPE_LGHT136' undeclared (first use in this function) omap3_mmc.c:190: error: 'OMAP_HSMMC_RSP32' undeclared (first use in this function) omap3_mmc.c:191: error: 'OMAP_HSMMC_RSP54' undeclared (first use in this function) omap3_mmc.c:192: error: 'OMAP_HSMMC_RSP76' undeclared (first use in this function) omap3_mmc.c: In function 'mmc_read_data': omap3_mmc.c:210: error: 'OMAP_HSMMC_STAT' undeclared (first use in this function) omap3_mmc.c:213: error: 'ERRI_MASK' undeclared (first use in this function) omap3_mmc.c:216: error: 'BRR_MASK' undeclared (first use in this function) omap3_mmc.c:220: error: 'MMCSD_SECTOR_SIZE' undeclared (first use in this function) omap3_mmc.c:221: error: 'OMAP_HSMMC_DATA' undeclared (first use in this function) omap3_mmc.c:227: error: 'BWR_MASK' undeclared (first use in this function) omap3_mmc.c:230: error: 'TC_MASK' undeclared (first use in this function) omap3_mmc.c: At top level: omap3_mmc.c:238: error: expected ')' before '*' token omap3_mmc.c:349: error: expected ')' before '*' token omap3_mmc.c:404: error: expected declaration specifiers or '...' before 'mmc_card_data' omap3_mmc.c: In function 'omap_mmc_read_sect': omap3_mmc.c:411: error: 'MMCSD_SECTOR_SIZE' undeclared (first use in this function) omap3_mmc.c:417: error: 'mmc_c' undeclared (first use in this function) omap3_mmc.c:417: error: 'SECTOR_MODE' undeclared (first use in this function) omap3_mmc.c:426: error: 'MMC_CMD17' undeclared (first use in this function) omap3_mmc.c: At top level: omap3_mmc.c:441: error: expected ')' before '*' token omap3_mmc.c: In function 'mmc_bread': omap3_mmc.c:519: error: 'MMCSD_SECTOR_SIZE' undeclared (first use in this function) omap3_mmc.c:519: error: 'cur_card_data' undeclared (first use in this function) omap3_mmc.c:520: error: too many arguments to function 'omap_mmc_read_sect' omap3_mmc.c: At top level: omap3_mmc.c:525: error: conflicting types for 'mmc_init' /home/remy/nightbuild/git/u-boot/include/mmc.h:271: error: previous declaration of 'mmc_init' was here omap3_mmc.c: In function 'mmc_init': omap3_mmc.c:526: warning: implicit declaration of function 'configure_mmc' omap3_mmc.c:526: error: 'cur_card_data' undeclared (first use in this function) omap3_mmc.c:536: error: 'MMCSD_SECTOR_SIZE' undeclared (first use in this function) omap3_mmc.c: At top level: omap3_mmc.c:546: error: conflicting types for 'mmc_read' /home/remy/nightbuild/git/u-boot/include/mmc.h:272: error: previous declaration of 'mmc_read' was here make[1]: *** [/home/remy/nightbuild/scratch/build/drivers/mmc/omap3_mmc.o] Error 1 make: *** [/home/remy/nightbuild/scratch/build/drivers/mmc/libmmc.a] Error 2 Configuring for omap3_zoom1 board... omap3_mmc.c:33: warning: implicit declaration of function 'CLKD' omap3_mmc.c:33: error: initializer element is not constant omap3_mmc.c:33: error: (near initialization for 'mmc_transspeed_val[0][0]') omap3_mmc.c:33: error: initializer element is not constant omap3_mmc.c:33: error: (near initialization for 'mmc_transspeed_val[0][1]') omap3_mmc.c:33: error: initializer element is not constant omap3_mmc.c:33: error: (near initialization for 'mmc_transspeed_val[0][2]') omap3_mmc.c:33: error: initializer element is not constant omap3_mmc.c:33: error: (near initialization for 'mmc_transspeed_val[0][3]') omap3_mmc.c:34: error: initializer element is not constant omap3_mmc.c:34: error: (near initialization for 'mmc_transspeed_val[1][0]') omap3_mmc.c:34: error: initializer element is not constant omap3_mmc.c:34: error: (near initialization for 'mmc_transspeed_val[1][1]') omap3_mmc.c:34: error: initializer element is not constant omap3_mmc.c:34: error: (near initialization for 'mmc_transspeed_val[1][2]') omap3_mmc.c:34: error: initializer element is not constant omap3_mmc.c:34: error: (near initialization for 'mmc_transspeed_val[1][3]') omap3_mmc.c:35: error: initializer element is not constant omap3_mmc.c:35: error: (near initialization for 'mmc_transspeed_val[2][0]') omap3_mmc.c:35: error: initializer element is not constant omap3_mmc.c:35: error: (near initialization for 'mmc_transspeed_val[2][1]') omap3_mmc.c:35: error: initializer element is not constant omap3_mmc.c:35: error: (near initialization for 'mmc_transspeed_val[2][2]') omap3_mmc.c:35: error: initializer element is not constant omap3_mmc.c:35: error: (near initialization for 'mmc_transspeed_val[2][3]') omap3_mmc.c:36: error: initializer element is not constant omap3_mmc.c:36: error: (near initialization for 'mmc_transspeed_val[3][0]') omap3_mmc.c:36: error: initializer element is not constant omap3_mmc.c:36: error: (near initialization for 'mmc_transspeed_val[3][1]') omap3_mmc.c:36: error: initializer element is not constant omap3_mmc.c:36: error: (near initialization for 'mmc_transspeed_val[3][2]') omap3_mmc.c:36: error: initializer element is not constant omap3_mmc.c:36: error: (near initialization for 'mmc_transspeed_val[3][3]') omap3_mmc.c:37: error: initializer element is not constant omap3_mmc.c:37: error: (near initialization for 'mmc_transspeed_val[4][0]') omap3_mmc.c:37: error: initializer element is not constant omap3_mmc.c:37: error: (near initialization for 'mmc_transspeed_val[4][1]') omap3_mmc.c:37: error: initializer element is not constant omap3_mmc.c:37: error: (near initialization for 'mmc_transspeed_val[4][2]') omap3_mmc.c:37: error: initializer element is not constant omap3_mmc.c:37: error: (near initialization for 'mmc_transspeed_val[4][3]') omap3_mmc.c:38: error: initializer element is not constant omap3_mmc.c:38: error: (near initialization for 'mmc_transspeed_val[5][0]') omap3_mmc.c:38: error: initializer element is not constant omap3_mmc.c:38: error: (near initialization for 'mmc_transspeed_val[5][1]') omap3_mmc.c:38: error: initializer element is not constant omap3_mmc.c:38: error: (near initialization for 'mmc_transspeed_val[5][2]') omap3_mmc.c:38: error: initializer element is not constant omap3_mmc.c:38: error: (near initialization for 'mmc_transspeed_val[5][3]') omap3_mmc.c:39: error: initializer element is not constant omap3_mmc.c:39: error: (near initialization for 'mmc_transspeed_val[6][0]') omap3_mmc.c:39: error: initializer element is not constant omap3_mmc.c:39: error: (near initialization for 'mmc_transspeed_val[6][1]') omap3_mmc.c:39: error: initializer element is not constant omap3_mmc.c:39: error: (near initialization for 'mmc_transspeed_val[6][2]') omap3_mmc.c:39: error: initializer element is not constant omap3_mmc.c:39: error: (near initialization for 'mmc_transspeed_val[6][3]') omap3_mmc.c:40: error: initializer element is not constant omap3_mmc.c:40: error: (near initialization for 'mmc_transspeed_val[7][0]') omap3_mmc.c:40: error: initializer element is not constant omap3_mmc.c:40: error: (near initialization for 'mmc_transspeed_val[7][1]') omap3_mmc.c:40: error: initializer element is not constant omap3_mmc.c:40: error: (near initialization for 'mmc_transspeed_val[7][2]') omap3_mmc.c:40: error: initializer element is not constant omap3_mmc.c:40: error: (near initialization for 'mmc_transspeed_val[7][3]') omap3_mmc.c:41: error: initializer element is not constant omap3_mmc.c:41: error: (near initialization for 'mmc_transspeed_val[8][0]') omap3_mmc.c:41: error: initializer element is not constant omap3_mmc.c:41: error: (near initialization for 'mmc_transspeed_val[8][1]') omap3_mmc.c:41: error: initializer element is not constant omap3_mmc.c:41: error: (near initialization for 'mmc_transspeed_val[8][2]') omap3_mmc.c:41: error: initializer element is not constant omap3_mmc.c:41: error: (near initialization for 'mmc_transspeed_val[8][3]') omap3_mmc.c:42: error: initializer element is not constant omap3_mmc.c:42: error: (near initialization for 'mmc_transspeed_val[9][0]') omap3_mmc.c:42: error: initializer element is not constant omap3_mmc.c:42: error: (near initialization for 'mmc_transspeed_val[9][1]') omap3_mmc.c:42: error: initializer element is not constant omap3_mmc.c:42: error: (near initialization for 'mmc_transspeed_val[9][2]') omap3_mmc.c:42: error: initializer element is not constant omap3_mmc.c:42: error: (near initialization for 'mmc_transspeed_val[9][3]') omap3_mmc.c:43: error: initializer element is not constant omap3_mmc.c:43: error: (near initialization for 'mmc_transspeed_val[10][0]') omap3_mmc.c:43: error: initializer element is not constant omap3_mmc.c:43: error: (near initialization for 'mmc_transspeed_val[10][1]') omap3_mmc.c:43: error: initializer element is not constant omap3_mmc.c:43: error: (near initialization for 'mmc_transspeed_val[10][2]') omap3_mmc.c:43: error: initializer element is not constant omap3_mmc.c:43: error: (near initialization for 'mmc_transspeed_val[10][3]') omap3_mmc.c:44: error: initializer element is not constant omap3_mmc.c:44: error: (near initialization for 'mmc_transspeed_val[11][0]') omap3_mmc.c:44: error: initializer element is not constant omap3_mmc.c:44: error: (near initialization for 'mmc_transspeed_val[11][1]') omap3_mmc.c:44: error: initializer element is not constant omap3_mmc.c:44: error: (near initialization for 'mmc_transspeed_val[11][2]') omap3_mmc.c:44: error: initializer element is not constant omap3_mmc.c:44: error: (near initialization for 'mmc_transspeed_val[11][3]') omap3_mmc.c:45: error: initializer element is not constant omap3_mmc.c:45: error: (near initialization for 'mmc_transspeed_val[12][0]') omap3_mmc.c:45: error: initializer element is not constant omap3_mmc.c:45: error: (near initialization for 'mmc_transspeed_val[12][1]') omap3_mmc.c:45: error: initializer element is not constant omap3_mmc.c:45: error: (near initialization for 'mmc_transspeed_val[12][2]') omap3_mmc.c:45: error: initializer element is not constant omap3_mmc.c:45: error: (near initialization for 'mmc_transspeed_val[12][3]') omap3_mmc.c:46: error: initializer element is not constant omap3_mmc.c:46: error: (near initialization for 'mmc_transspeed_val[13][0]') omap3_mmc.c:46: error: initializer element is not constant omap3_mmc.c:46: error: (near initialization for 'mmc_transspeed_val[13][1]') omap3_mmc.c:46: error: initializer element is not constant omap3_mmc.c:46: error: (near initialization for 'mmc_transspeed_val[13][2]') omap3_mmc.c:46: error: initializer element is not constant omap3_mmc.c:46: error: (near initialization for 'mmc_transspeed_val[13][3]') omap3_mmc.c:47: error: initializer element is not constant omap3_mmc.c:47: error: (near initialization for 'mmc_transspeed_val[14][0]') omap3_mmc.c:47: error: initializer element is not constant omap3_mmc.c:47: error: (near initialization for 'mmc_transspeed_val[14][1]') omap3_mmc.c:47: error: initializer element is not constant omap3_mmc.c:47: error: (near initialization for 'mmc_transspeed_val[14][2]') omap3_mmc.c:47: error: initializer element is not constant omap3_mmc.c:47: error: (near initialization for 'mmc_transspeed_val[14][3]') omap3_mmc.c:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cur_card_data' omap3_mmc.c: In function 'mmc_board_init': omap3_mmc.c:74: error: 'CONTROL_PBIAS_LITE' undeclared (first use in this function) omap3_mmc.c:74: error: (Each undeclared identifier is reported only once omap3_mmc.c:74: error: for each function it appears in.) omap3_mmc.c:77: error: 'CONTROL_DEV_CONF0' undeclared (first use in this function) omap3_mmc.c: In function 'mmc_init_stream': omap3_mmc.c:87: error: 'OMAP_HSMMC_CON' undeclared (first use in this function) omap3_mmc.c:87: error: 'INIT_INITSTREAM' undeclared (first use in this function) omap3_mmc.c:89: error: 'OMAP_HSMMC_CMD' undeclared (first use in this function) omap3_mmc.c:89: error: 'MMC_CMD0' undeclared (first use in this function) omap3_mmc.c:91: error: 'OMAP_HSMMC_STAT' undeclared (first use in this function) omap3_mmc.c:92: error: 'CC_MASK' undeclared (first use in this function) omap3_mmc.c: In function 'mmc_clock_config': omap3_mmc.c:109: warning: implicit declaration of function 'mmc_reg_out' omap3_mmc.c:109: error: 'OMAP_HSMMC_SYSCTL' undeclared (first use in this function) omap3_mmc.c:109: error: 'ICE_MASK' undeclared (first use in this function) omap3_mmc.c:109: error: 'DTO_MASK' undeclared (first use in this function) omap3_mmc.c:109: error: 'CEN_MASK' undeclared (first use in this function) omap3_mmc.c:110: error: 'ICE_STOP' undeclared (first use in this function) omap3_mmc.c:110: error: 'DTO_15THDTO' undeclared (first use in this function) omap3_mmc.c:110: error: 'CEN_DISABLE' undeclared (first use in this function) omap3_mmc.c:113: error: 'CLK_INITSEQ' undeclared (first use in this function) omap3_mmc.c:114: error: 'MMC_INIT_SEQ_CLK' undeclared (first use in this function) omap3_mmc.c:116: error: 'CLK_400KHZ' undeclared (first use in this function) omap3_mmc.c:117: error: 'MMC_400kHz_CLK' undeclared (first use in this function) omap3_mmc.c:119: error: 'CLK_MISC' undeclared (first use in this function) omap3_mmc.c:126: error: 'CLKD_MASK' undeclared (first use in this function) omap3_mmc.c:126: error: 'CLKD_OFFSET' undeclared (first use in this function) omap3_mmc.c:126: error: 'ICE_OSCILLATE' undeclared (first use in this function) omap3_mmc.c:128: error: 'ICS_MASK' undeclared (first use in this function) omap3_mmc.c:128: error: 'ICS_NOTREADY' undeclared (first use in this function) omap3_mmc.c:130: error: 'CEN_ENABLE' undeclared (first use in this function) omap3_mmc.c: In function 'mmc_init_setup': omap3_mmc.c:140: error: 'OMAP_HSMMC_SYSCONFIG' undeclared (first use in this function) omap3_mmc.c:140: error: 'MMC_SOFTRESET' undeclared (first use in this function) omap3_mmc.c:141: error: 'OMAP_HSMMC_SYSSTATUS' undeclared (first use in this function) omap3_mmc.c:143: error: 'OMAP_HSMMC_SYSCTL' undeclared (first use in this function) omap3_mmc.c:143: error: 'SOFTRESETALL' undeclared (first use in this function) omap3_mmc.c:146: error: 'OMAP_HSMMC_HCTL' undeclared (first use in this function) omap3_mmc.c:146: error: 'DTW_1_BITMODE' undeclared (first use in this function) omap3_mmc.c:146: error: 'SDBP_PWROFF' undeclared (first use in this function) omap3_mmc.c:146: error: 'SDVS_3V0' undeclared (first use in this function) omap3_mmc.c:147: error: 'OMAP_HSMMC_CAPA' undeclared (first use in this function) omap3_mmc.c:147: error: 'VS30_3V0SUP' undeclared (first use in this function) omap3_mmc.c:147: error: 'VS18_1V8SUP' undeclared (first use in this function) omap3_mmc.c:149: error: 'OMAP_HSMMC_CON' undeclared (first use in this function) omap3_mmc.c:149: error: 'RESERVED_MASK' undeclared (first use in this function) omap3_mmc.c:151: error: 'CTPL_MMC_SD' undeclared (first use in this function) omap3_mmc.c:151: error: 'WPP_ACTIVEHIGH' undeclared (first use in this function) omap3_mmc.c:152: error: 'CDP_ACTIVEHIGH' undeclared (first use in this function) omap3_mmc.c:152: error: 'MIT_CTO' undeclared (first use in this function) omap3_mmc.c:152: error: 'DW8_1_4BITMODE' undeclared (first use in this function) omap3_mmc.c:152: error: 'MODE_FUNC' undeclared (first use in this function) omap3_mmc.c:153: error: 'STR_BLOCK' undeclared (first use in this function) omap3_mmc.c:153: error: 'HR_NOHOSTRESP' undeclared (first use in this function) omap3_mmc.c:153: error: 'INIT_NOINIT' undeclared (first use in this function) omap3_mmc.c:153: error: 'NOOPENDRAIN' undeclared (first use in this function) omap3_mmc.c:155: error: 'CLK_INITSEQ' undeclared (first use in this function) omap3_mmc.c:156: error: 'SDBP_PWRON' undeclared (first use in this function) omap3_mmc.c:158: error: 'OMAP_HSMMC_IE' undeclared (first use in this function) omap3_mmc.c: In function 'mmc_send_cmd': omap3_mmc.c:169: error: 'OMAP_HSMMC_PSTATE' undeclared (first use in this function) omap3_mmc.c:169: error: 'DATI_MASK' undeclared (first use in this function) omap3_mmc.c:169: error: 'DATI_CMDDIS' undeclared (first use in this function) omap3_mmc.c:171: error: 'OMAP_HSMMC_BLK' undeclared (first use in this function) omap3_mmc.c:171: error: 'BLEN_512BYTESLEN' undeclared (first use in this function) omap3_mmc.c:171: error: 'NBLK_STPCNT' undeclared (first use in this function) omap3_mmc.c:172: error: 'OMAP_HSMMC_STAT' undeclared (first use in this function) omap3_mmc.c:173: error: 'OMAP_HSMMC_ARG' undeclared (first use in this function) omap3_mmc.c:174: error: 'OMAP_HSMMC_CMD' undeclared (first use in this function) omap3_mmc.c:174: error: 'CMD_TYPE_NORMAL' undeclared (first use in this function) omap3_mmc.c:174: error: 'CICE_NOCHECK' undeclared (first use in this function) omap3_mmc.c:175: error: 'CCCE_NOCHECK' undeclared (first use in this function) omap3_mmc.c:175: error: 'MSBS_SGLEBLK' undeclared (first use in this function) omap3_mmc.c:175: error: 'ACEN_DISABLE' undeclared (first use in this function) omap3_mmc.c:175: error: 'BCE_DISABLE' undeclared (first use in this function) omap3_mmc.c:176: error: 'DE_DISABLE' undeclared (first use in this function) omap3_mmc.c:183: error: 'ERRI_MASK' undeclared (first use in this function) omap3_mmc.c:186: error: 'CC_MASK' undeclared (first use in this function) omap3_mmc.c:188: error: 'OMAP_HSMMC_RSP10' undeclared (first use in this function) omap3_mmc.c:189: error: 'RSP_TYPE_MASK' undeclared (first use in this function) omap3_mmc.c:189: error: 'RSP_TYPE_LGHT136' undeclared (first use in this function) omap3_mmc.c:190: error: 'OMAP_HSMMC_RSP32' undeclared (first use in this function) omap3_mmc.c:191: error: 'OMAP_HSMMC_RSP54' undeclared (first use in this function) omap3_mmc.c:192: error: 'OMAP_HSMMC_RSP76' undeclared (first use in this function) omap3_mmc.c: In function 'mmc_read_data': omap3_mmc.c:210: error: 'OMAP_HSMMC_STAT' undeclared (first use in this function) omap3_mmc.c:213: error: 'ERRI_MASK' undeclared (first use in this function) omap3_mmc.c:216: error: 'BRR_MASK' undeclared (first use in this function) omap3_mmc.c:220: error: 'MMCSD_SECTOR_SIZE' undeclared (first use in this function) omap3_mmc.c:221: error: 'OMAP_HSMMC_DATA' undeclared (first use in this function) omap3_mmc.c:227: error: 'BWR_MASK' undeclared (first use in this function) omap3_mmc.c:230: error: 'TC_MASK' undeclared (first use in this function) omap3_mmc.c: At top level: omap3_mmc.c:238: error: expected ')' before '*' token omap3_mmc.c:349: error: expected ')' before '*' token omap3_mmc.c:404: error: expected declaration specifiers or '...' before 'mmc_card_data' omap3_mmc.c: In function 'omap_mmc_read_sect': omap3_mmc.c:411: error: 'MMCSD_SECTOR_SIZE' undeclared (first use in this function) omap3_mmc.c:417: error: 'mmc_c' undeclared (first use in this function) omap3_mmc.c:417: error: 'SECTOR_MODE' undeclared (first use in this function) omap3_mmc.c:426: error: 'MMC_CMD17' undeclared (first use in this function) omap3_mmc.c: At top level: omap3_mmc.c:441: error: expected ')' before '*' token omap3_mmc.c: In function 'mmc_bread': omap3_mmc.c:519: error: 'MMCSD_SECTOR_SIZE' undeclared (first use in this function) omap3_mmc.c:519: error: 'cur_card_data' undeclared (first use in this function) omap3_mmc.c:520: error: too many arguments to function 'omap_mmc_read_sect' omap3_mmc.c: At top level: omap3_mmc.c:525: error: conflicting types for 'mmc_init' /home/remy/nightbuild/git/u-boot/include/mmc.h:271: error: previous declaration of 'mmc_init' was here omap3_mmc.c: In function 'mmc_init': omap3_mmc.c:526: warning: implicit declaration of function 'configure_mmc' omap3_mmc.c:526: error: 'cur_card_data' undeclared (first use in this function) omap3_mmc.c:536: error: 'MMCSD_SECTOR_SIZE' undeclared (first use in this function) omap3_mmc.c: At top level: omap3_mmc.c:546: error: conflicting types for 'mmc_read' /home/remy/nightbuild/git/u-boot/include/mmc.h:272: error: previous declaration of 'mmc_read' was here make[1]: *** [/home/remy/nightbuild/scratch/build/drivers/mmc/omap3_mmc.o] Error 1 make: *** [/home/remy/nightbuild/scratch/build/drivers/mmc/libmmc.a] Error 2 Configuring for afeb9260 board... text data bss dec hex filename 156280 6995 87552 250827 3d3cb /home/remy/nightbuild/scratch/build/u-boot Configuring for at91cap9adk board... text data bss dec hex filename 182540 33427 285208 501175 7a5b7 /home/remy/nightbuild/scratch/build/u-boot Configuring for at91rm9200dk board... text data bss dec hex filename 110992 4676 119944 235612 3985c /home/remy/nightbuild/scratch/build/u-boot ... with environment variable in SPI DATAFLASH CS1 Configuring for at91sam9260ek board... text data bss dec hex filename 163160 7087 284160 454407 6ef07 /home/remy/nightbuild/scratch/build/u-boot ... with environment variable in SPI DATAFLASH CS0 Configuring for at91sam9261ek board... text data bss dec hex filename 168952 33383 284184 486519 76c77 /home/remy/nightbuild/scratch/build/u-boot ... with environment variable in SPI DATAFLASH CS0 Configuring for at91sam9263ek board... text data bss dec hex filename 170388 33375 283928 487691 7710b /home/remy/nightbuild/scratch/build/u-boot ... with environment variable in SPI DATAFLASH CS0 Configuring for at91sam9rlek board... text data bss dec hex filename 110352 32960 12380 155692 2602c /home/remy/nightbuild/scratch/build/u-boot Configuring for cmc_pu2 board... text data bss dec hex filename 101860 5456 119312 226628 37544 /home/remy/nightbuild/scratch/build/u-boot Configuring for csb637 board... text data bss dec hex filename 111379 3708 118292 233379 38fa3 /home/remy/nightbuild/scratch/build/u-boot Configuring for kb9202 board... text data bss dec hex filename 99852 3968 119312 223132 3679c /home/remy/nightbuild/scratch/build/u-boot Configuring for mp2usb board... text data bss dec hex filename 124624 3971 182272 310867 4be53 /home/remy/nightbuild/scratch/build/u-boot Configuring for cerf250 board... In file included from mmc.c:31: mmc.h:139: error: redefinition of 'struct mmc_cid' mmc.h:151: error: redefinition of 'struct mmc_csd' make[1]: *** [/home/remy/nightbuild/scratch/build/cpu/pxa/mmc.o] Error 1 make: *** [/home/remy/nightbuild/scratch/build/cpu/pxa/libpxa.a] Error 2 Configuring for cradle board...
[Bericht is afgebroken]

Dear Remy,
In message 3efb10970902190033t188bf9e0i1c5471f4a1a369ad@mail.gmail.com you wrote:
I know you do not want build failure messages on the list, but this
You are absolutely right - instead of build failure messages I prefer to see patches that fix build failures :-)
Thanks for pointing out.
Best regards,
Wolfgang Denk

Wolfgang Denk wrote:
Dear Remy,
In message 3efb10970902190033t188bf9e0i1c5471f4a1a369ad@mail.gmail.com you wrote:
I know you do not want build failure messages on the list, but this
You are absolutely right - instead of build failure messages I prefer to see patches that fix build failures :-)
Please try
http://lists.denx.de/pipermail/u-boot/2009-February/047916.html
Best regards
Dirk

Hello Dirk,
2009/2/19 Dirk Behme dirk.behme@googlemail.com:
Wolfgang Denk wrote:
Dear Remy,
In message 3efb10970902190033t188bf9e0i1c5471f4a1a369ad@mail.gmail.com you wrote:
I know you do not want build failure messages on the list, but this
You are absolutely right - instead of build failure messages I prefer to see patches that fix build failures :-)
Please try
http://lists.denx.de/pipermail/u-boot/2009-February/047916.html
This patch seems to be fixing just a part of the build problem. omap3 is broken in a different way.
Kind Regards,
Remy

Remy Bohmer wrote:
Hello Dirk,
2009/2/19 Dirk Behme dirk.behme@googlemail.com:
Wolfgang Denk wrote:
Dear Remy,
In message 3efb10970902190033t188bf9e0i1c5471f4a1a369ad@mail.gmail.com you wrote:
I know you do not want build failure messages on the list, but this
You are absolutely right - instead of build failure messages I prefer to see patches that fix build failures :-)
Please try
http://lists.denx.de/pipermail/u-boot/2009-February/047916.html
This patch seems to be fixing just a part of the build problem. omap3 is broken in a different way.
Yes, this fixes the cmd_mmc.c part which should affect all (legacy) mmc implementations. We will send a separate OMAP3 specific patch to fix omap3 soon.
Best regards
Dirk

Dear Dirk Behme,
In message 499D82D6.2020102@googlemail.com you wrote:
Wolfgang Denk wrote:
Dear Remy,
In message 3efb10970902190033t188bf9e0i1c5471f4a1a369ad@mail.gmail.com you wrote:
I know you do not want build failure messages on the list, but this
You are absolutely right - instead of build failure messages I prefer to see patches that fix build failures :-)
Please try
http://lists.denx.de/pipermail/u-boot/2009-February/047916.html
Applied, thanks.
Best regards,
Wolfgang Denk

Hello Wolfgang,
I know you do not want build failure messages on the list, but this
You are absolutely right - instead of build failure messages I prefer to see patches that fix build failures :-)
Instead of sending patches, I would prefer such patches not hitting mainline at all... I think it is the job of the one who breaks things to repair the damage, but that person sometimes needs to be told that he broke something, because I assume it is not broken on purpose. That's why I posted this build log. Do not shoot the messenger...
And if the breakage was small, I would already have made a patch. But the breakage is that huge here, that I would suggest to revert those patches, until the committer has solved the bugs he introduced. (If fixing this takes a long time from now, the tree is no longer proper bisect-able, therefore reverting could be wiser.)
Kind Regards,
Remy
Thanks for pointing out.
Best regards,
Wolfgang Denk
-- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de Syntactic sugar causes cancer of the semicolon. - Epigrams in Programming, ACM SIGPLAN Sept. 1982

Remy Bohmer wrote:
Hello Wolfgang,
I know you do not want build failure messages on the list, but this
You are absolutely right - instead of build failure messages I prefer to see patches that fix build failures :-)
Instead of sending patches, I would prefer such patches not hitting mainline at all... I think it is the job of the one who breaks things to repair the damage, but that person sometimes needs to be told that he broke something, because I assume it is not broken on purpose. That's why I posted this build log. Do not shoot the messenger...
And if the breakage was small, I would already have made a patch. But the breakage is that huge here, that I would suggest to revert those patches, until the committer has solved the bugs he introduced.
Just in case somebody is faster than I :
fixes OMAP3 build. As mentioned, I will try to send a proper OMAP3 patch, soon.
I don't know which other boards might be affected, too, and need similar changes.
Best regards
Dirk

Hello Dirk,
Just in case somebody is faster than I :
fixes OMAP3 build. As mentioned, I will try to send a proper OMAP3 patch, soon.
I don't know which other boards might be affected, too, and need similar changes.
I only build ARM nightly, so I cannot tell anything about other architectures, but I have not seen any other ARM boards in the build log that breaks like the omap3, only this error appears quite a number of times: ------------------------------------------------------------------------------------------------------------ Configuring for cerf250 board... In file included from mmc.c:31: mmc.h:139: error: redefinition of 'struct mmc_cid' mmc.h:151: error: redefinition of 'struct mmc_csd' make[1]: *** [/home/remy/nightbuild/scratch/build/cpu/pxa/mmc.o] Error 1 make: *** [/home/remy/nightbuild/scratch/build/cpu/pxa/libpxa.a] Error 2 ------------------------------------------------------------------------------------------------------------
Kind Regards,
Remy

Dear Remy,
In message 3efb10970902190815v2fc3010dg5574891a9ab26f07@mail.gmail.com you wrote:
I know you do not want build failure messages on the list, but this
You are absolutely right - instead of build failure messages I prefer to see patches that fix build failures :-)
Instead of sending patches, I would prefer such patches not hitting mainline at all...
You are right, that would be best.
Next best is to provide fixes.
I think it is the job of the one who breaks things to repair the damage, but that person sometimes needs to be told that he broke something, because I assume it is not broken on purpose. That's why I posted this build log. Do not shoot the messenger...
The thing is that patches get posted here for review. People are supposed to have a look at the patches, and eventually even try these out. If there have no complaints been posted after a couple of days, patches will get applied.
Even for a very careful submitter it is usually impossible to compile all boards on all architectures. Speaking for myself, I don't even have toolchains installed for BlackFin, AVR32, Leon, MicroBlaze, NIOS and some other archictures - do you?
So we have to rely on co-operation of as many developers in the community as posible.
And if the breakage was small, I would already have made a patch. But the breakage is that huge here, that I would suggest to revert those patches, until the committer has solved the bugs he introduced.
What if the problem doesn't show up on the boards he can build, but shows up on the boards you can build?
(If fixing this takes a long time from now, the tree is no longer proper bisect-able, therefore reverting could be wiser.)
So please help out...
Best regards,
Wolfgang Denk
participants (3)
-
Dirk Behme
-
Remy Bohmer
-
Wolfgang Denk