Dear Vipin Kumar,
In message <83d1d72b0912182356u6b140b24g8ee1e97becc62...@mail.gmail.com> you
wrote:
>
> >> >> + /* Assume that all sectors are unprotected by default */
> >> >> + for (i = 0; i < CONFIG_SYS_MAX_FLASH_SECT; i++)
> >> >> + info->protect[i] = 0;
> >> >
> >> > U
Hi Albert,
>
>>> Why don;t you protect sectors where the U-Bootimage and environment
>>> are stored?
>>
>> Since the code is being developed for a development board, erasing and
>> flashing the uboot is frequent. This is done only to save unprotect every
>> time before erasing/flashing uboot
>
> Y
Vipin Kumar a écrit :
>> Why don;t you protect sectors where the U-Bootimage and environment
>> are stored?
>
> Since the code is being developed for a development board, erasing and
> flashing the uboot is frequent. This is done only to save unprotect every
> time before erasing/flashing uboot
Dear Wolfgang,
> In message <83d1d72b0912182244yb303c6ai3b61d7b896020...@mail.gmail.com> you
> wrote:
>>
>> >> + switch (density) {
>> >> + case 0x10:
>> >> + info->size = 64 * 1024;
>> >> + info->sector_count = 2;
>> >> + break;
>> >> + case 0x11:
Dear Vipin Kumar,
In message <83d1d72b0912182244yb303c6ai3b61d7b896020...@mail.gmail.com> you
wrote:
>
> >> + switch (density) {
> >> + case 0x10:
> >> + info->size = 64 * 1024;
> >> + info->sector_count = 2;
> >> + break;
> >> + case 0x11:
> >> +
Dear Wolfgang,
>> Signed-off-by: Vipin
> ...
>> +static ulong flash_get_size(ulong base, int banknum)
>> +{
>> + flash_info_t *info = &flash_info[banknum];
>> + unsigned int value = 0;
>> + unsigned int density = 0;
>
> remove useless initialization.
Ok
I will send out a fresh patchs
Dear Vipin KUMAR,
In message <1260955110-5656-3-git-send-email-vipin.ku...@st.com> you wrote:
>
> Signed-off-by: Vipin
...
> +static ulong flash_get_size(ulong base, int banknum)
> +{
> + flash_info_t *info = &flash_info[banknum];
> + unsigned int value = 0;
> + unsigned int density
7 matches
Mail list logo