diff options
author | wdenk <wdenk> | 2002-12-03 21:28:10 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2002-12-03 21:28:10 +0000 |
commit | a6c7ad2f65afaa717ba19cbf9d8d138b5f10ccf9 (patch) | |
tree | 45512cd627310dd322ea38fc9f63109560276475 /lib_arm | |
parent | ea909b7604306a400ee3abf57e2fa7b2dde5dde1 (diff) | |
download | bootable_bootloader_goldelico_gta04-a6c7ad2f65afaa717ba19cbf9d8d138b5f10ccf9.zip bootable_bootloader_goldelico_gta04-a6c7ad2f65afaa717ba19cbf9d8d138b5f10ccf9.tar.gz bootable_bootloader_goldelico_gta04-a6c7ad2f65afaa717ba19cbf9d8d138b5f10ccf9.tar.bz2 |
* Fix startup problems with VFD display on TRAB
* Patch by Pierre Aubert, 20 Nov 2002
Add driver for Epson SED13806 graphic controller.
Add support for BMP logos in cfb_console driver.
Diffstat (limited to 'lib_arm')
-rw-r--r-- | lib_arm/board.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/lib_arm/board.c b/lib_arm/board.c index 47dc53c..b6b5cdb 100644 --- a/lib_arm/board.c +++ b/lib_arm/board.c @@ -46,7 +46,10 @@ static ulong mem_malloc_start = 0; static ulong mem_malloc_end = 0; static ulong mem_malloc_brk = 0; -static void mem_malloc_init (ulong dest_addr) +#if !defined(CONFIG_MODEM_SUPPORT) +static +#endif +void mem_malloc_init (ulong dest_addr) { mem_malloc_start = dest_addr; mem_malloc_end = dest_addr + CFG_MALLOC_LEN; @@ -184,7 +187,7 @@ void start_armboot (void) gd_t gd_data; bd_t bd_data; init_fnc_t **init_fnc_ptr; -#ifdef CONFIG_VFD +#if defined(CONFIG_VFD) && !defined(CONFIG_MODEM_SUPPORT) unsigned long addr; #endif @@ -205,6 +208,7 @@ void start_armboot (void) display_flash_config (size); #ifdef CONFIG_VFD +#ifndef CONFIG_MODEM_SUPPORT #ifndef PAGE_SIZE #define PAGE_SIZE 4096 #endif @@ -219,14 +223,17 @@ void start_armboot (void) addr += size; addr = (addr + (PAGE_SIZE - 1)) & ~(PAGE_SIZE - 1); mem_malloc_init (addr); +#endif /* CONFIG_MODEM_SUPPORT */ #else /* armboot_real_end is defined in the board-specific linker script */ mem_malloc_init (_armboot_real_end); #endif /* CONFIG_VFD */ #ifdef CONFIG_VFD +#ifndef CONFIG_MODEM_SUPPORT /* must do this after the framebuffer is allocated */ drv_vfd_init(); +#endif /* CONFIG_MODEM_SUPPORT */ #endif /* initialize environment */ env_relocate (); |