mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-12 13:35:21 -04:00
Make CFG_NO_FLASH work on ARM systems
Patch by Markus Klotzbuecher, 27 Feb 2006
This commit is contained in:
parent
82f2e33a8d
commit
4f71866470
@ -2,6 +2,9 @@
|
|||||||
Changes since U-Boot 1.1.4:
|
Changes since U-Boot 1.1.4:
|
||||||
======================================================================
|
======================================================================
|
||||||
|
|
||||||
|
* Make CFG_NO_FLASH work on ARM systems
|
||||||
|
Patch by Markus Klotzbuecher, 27 Feb 2006
|
||||||
|
|
||||||
* Update mcc200 config: Disable PCI and DoC, use 133 MHz IPB clock,
|
* Update mcc200 config: Disable PCI and DoC, use 133 MHz IPB clock,
|
||||||
use hush shell.
|
use hush shell.
|
||||||
|
|
||||||
|
@ -178,11 +178,13 @@ static int display_dram_config (void)
|
|||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef CFG_NO_FLASH
|
||||||
static void display_flash_config (ulong size)
|
static void display_flash_config (ulong size)
|
||||||
{
|
{
|
||||||
puts ("Flash: ");
|
puts ("Flash: ");
|
||||||
print_size (size, "\n");
|
print_size (size, "\n");
|
||||||
}
|
}
|
||||||
|
#endif /* CFG_NO_FLASH */
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -260,9 +262,11 @@ void start_armboot (void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef CFG_NO_FLASH
|
||||||
/* configure available FLASH banks */
|
/* configure available FLASH banks */
|
||||||
size = flash_init ();
|
size = flash_init ();
|
||||||
display_flash_config (size);
|
display_flash_config (size);
|
||||||
|
#endif /* CFG_NO_FLASH */
|
||||||
|
|
||||||
#ifdef CONFIG_VFD
|
#ifdef CONFIG_VFD
|
||||||
# ifndef PAGE_SIZE
|
# ifndef PAGE_SIZE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user