~ubuntu-branches/ubuntu/maverick/uboot-imx/maverick

« back to all changes in this revision

Viewing changes to board/lwmon5/lwmon5.c

  • Committer: Bazaar Package Importer
  • Author(s): Oliver Grawert
  • Date: 2010-01-06 09:28:25 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100106092825-q8o7x811035syh8k
Tags: 2009.08-0ubuntu1
* move to new upstream (2009.08)
* move to new freescale patchset for the 2009.08 release
* remove README.nios_CONFIG_SYS_NIOS_CPU from debian/docs, 
  this is not shipped upstream anymore
* update 1000_fix_gcc_4.4_compability.patch to apply to the new code
* Makefile target is now mx51_bbg_config, update rules accordingly
* switch everything to to3 (including the binary package)

Show diffs side-by-side

added added

removed removed

Lines of Context:
467
467
int do_eeprom_wp(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
468
468
{
469
469
        if (argc < 2) {
470
 
                printf("Usage:\n%s\n", cmdtp->usage);
 
470
                cmd_usage(cmdtp);
471
471
                return 1;
472
472
        }
473
473
 
476
476
        } else if ((strcmp(argv[1], "off") == 0)) {
477
477
                gpio_write_bit(CONFIG_SYS_GPIO_EEPROM_EXT_WP, 0);
478
478
        } else {
479
 
                printf("Usage:\n%s\n", cmdtp->usage);
 
479
                cmd_usage(cmdtp);
480
480
                return 1;
481
481
        }
482
482
 
486
486
 
487
487
U_BOOT_CMD(
488
488
        eepromwp,       2,      0,      do_eeprom_wp,
489
 
        "eepromwp- eeprom write protect off/on\n",
490
 
        "<on|off> - enable (on) or disable (off) I2C EEPROM write protect\n"
 
489
        "eeprom write protect off/on",
 
490
        "<on|off> - enable (on) or disable (off) I2C EEPROM write protect"
491
491
);
492
492
 
493
493
#if defined(CONFIG_VIDEO)