On Mon, Aug 13, 2012 at 3:59 PM, Marek Vasut <ma...@denx.de> wrote: >> >> - for (i = 0; i < ARRAY_SIZE(mx28_boot_modes); i++) { >> >> - masked = bootmode & mx28_boot_modes[i].boot_mask; >> >> - if (masked == mx28_boot_modes[i].boot_pads) >> >> + for (i = 0; i < ARRAY_SIZE(mxs_boot_modes); i++) { >> >> + masked = bootmode & mxs_boot_modes[i].boot_mask; >> >> + if (masked == mxs_boot_modes[i].boot_pads) >> > >> > mxs_boot_modes? They're different for mx23 and mx28! >> >> Yes, they're but the structure is the same so we can use same symbol >> and have a different mxs_boot_modes matrix for each. > > Unless we want a single image for mx233 and mx28. Oh well ... for now
What do you mean by single image? -- Otavio Salvador O.S. Systems E-mail: ota...@ossystems.com.br http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot