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

« back to all changes in this revision

Viewing changes to board/trab/flash.c

  • Committer: Bazaar Package Importer
  • Author(s): Oliver Grawert
  • Date: 2010-01-20 15:41:26 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100120154126-7bha1jeyjegu7xm5
Tags: 2009.08+really2009.01-0ubuntu1
* revert to the 2009.01 upstream version, 2009.08 has still to 
  many work in progress items in the freescale patchset (MMC and NIC
  dont work at all)
* add the latest patchset from freescale for 2009.01
* add 1002_enable_hush_shell_and_ext2.patch to enable hush shell and ext2 
* add 1003_fix_board_revision_numbers to make sure babbage 2.5 boards have 
  revision 51120 and babbage 3.0 boards have revision 51130 properly set in 
  their cpuinfo

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 * (C) Copyright 2002
3
 
 * Gary Jennejohn, DENX Software Engineering, <garyj@denx.de>
 
3
 * Gary Jennejohn, DENX Software Engineering, <gj@denx.de>
4
4
 *
5
5
 * See file CREDITS for list of people who contributed to this
6
6
 * project.
108
108
 
109
109
        flash_protect ( FLAG_PROTECT_SET,
110
110
                        CONFIG_ENV_ADDR,
111
 
                        CONFIG_ENV_ADDR + CONFIG_ENV_SECT_SIZE - 1, &flash_info[0]);
 
111
                        CONFIG_ENV_ADDR + CONFIG_ENV_SIZE - 1, &flash_info[0]);
112
112
 
113
113
#ifdef CONFIG_ENV_ADDR_REDUND
114
114
        flash_protect ( FLAG_PROTECT_SET,
115
115
                        CONFIG_ENV_ADDR_REDUND,
116
 
                        CONFIG_ENV_ADDR_REDUND + CONFIG_ENV_SECT_SIZE - 1,
 
116
                        CONFIG_ENV_ADDR_REDUND + CONFIG_ENV_SIZE_REDUND - 1,
117
117
                        &flash_info[0]);
118
118
#endif
119
119