public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH] Remove unneeded #include <malloc.h>
@ 2005-02-22 11:31 Ladislav Michl
  2005-09-25 15:02 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: Ladislav Michl @ 2005-02-22 11:31 UTC (permalink / raw)
  To: u-boot

Hi Wolfgang,

this u-patch is remnant of my effort to have malloc pool in SDRAM and the
rest of U-Boot in SRAM.

Best regards,
	ladis

Index: common/env_dataflash.c
===================================================================
RCS file: /cvsroot/u-boot/u-boot/common/env_dataflash.c,v
retrieving revision 1.1
diff -u -r1.1 env_dataflash.c
--- common/env_dataflash.c	6 Dec 2003 23:55:11 -0000	1.1
+++ common/env_dataflash.c	22 Feb 2005 11:04:56 -0000
@@ -24,7 +24,6 @@
 #include <command.h>
 #include <environment.h>
 #include <linux/stddef.h>
-#include <malloc.h>
 #include <dataflash.h>
 
 env_t *env_ptr = NULL;
Index: common/env_eeprom.c
===================================================================
RCS file: /cvsroot/u-boot/u-boot/common/env_eeprom.c,v
retrieving revision 1.2
diff -u -r1.2 env_eeprom.c
--- common/env_eeprom.c	27 Jun 2003 21:32:31 -0000	1.2
+++ common/env_eeprom.c	22 Feb 2005 11:04:56 -0000
@@ -31,7 +31,6 @@
 #include <command.h>
 #include <environment.h>
 #include <linux/stddef.h>
-#include <malloc.h>
 
 env_t *env_ptr = NULL;
 
Index: common/env_nand.c
===================================================================
RCS file: /cvsroot/u-boot/u-boot/common/env_nand.c,v
retrieving revision 1.2
diff -u -r1.2 env_nand.c
--- common/env_nand.c	19 Jun 2004 21:19:12 -0000	1.2
+++ common/env_nand.c	22 Feb 2005 11:04:56 -0000
@@ -36,7 +36,6 @@
 #include <command.h>
 #include <environment.h>
 #include <linux/stddef.h>
-#include <malloc.h>
 #include <linux/mtd/nand.h>
 
 #if ((CONFIG_COMMANDS&(CFG_CMD_ENV|CFG_CMD_NAND)) == (CFG_CMD_ENV|CFG_CMD_NAND))
Index: common/env_nowhere.c
===================================================================
RCS file: /cvsroot/u-boot/u-boot/common/env_nowhere.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 env_nowhere.c
--- common/env_nowhere.c	18 Sep 2002 11:09:59 -0000	1.1.1.1
+++ common/env_nowhere.c	22 Feb 2005 11:04:56 -0000
@@ -31,7 +31,6 @@
 #include <command.h>
 #include <environment.h>
 #include <linux/stddef.h>
-#include <malloc.h>
 
 env_t *env_ptr = NULL;
 
Index: common/env_nvram.c
===================================================================
RCS file: /cvsroot/u-boot/u-boot/common/env_nvram.c,v
retrieving revision 1.3
diff -u -r1.3 env_nvram.c
--- common/env_nvram.c	27 Jun 2003 21:32:31 -0000	1.3
+++ common/env_nvram.c	22 Feb 2005 11:04:56 -0000
@@ -47,7 +47,6 @@
 #include <command.h>
 #include <environment.h>
 #include <linux/stddef.h>
-#include <malloc.h>
 
 #ifdef CFG_NVRAM_ACCESS_ROUTINE
 extern void *nvram_read(void *dest, const long src, size_t count);
Index: common/main.c
===================================================================
RCS file: /cvsroot/u-boot/u-boot/common/main.c,v
retrieving revision 1.21
diff -u -r1.21 main.c
--- common/main.c	9 Jan 2005 23:33:50 -0000	1.21
+++ common/main.c	22 Feb 2005 11:04:56 -0000
@@ -26,7 +26,6 @@
 #include <common.h>
 #include <watchdog.h>
 #include <command.h>
-#include <malloc.h>
 
 #ifdef CFG_HUSH_PARSER
 #include <hush.h>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot-Users] [PATCH] Remove unneeded #include <malloc.h>
  2005-02-22 11:31 [U-Boot-Users] [PATCH] Remove unneeded #include <malloc.h> Ladislav Michl
@ 2005-09-25 15:02 ` Wolfgang Denk
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2005-09-25 15:02 UTC (permalink / raw)
  To: u-boot

In message <20050222113107.GA18261@orphique> you wrote:
> 
> this u-patch is remnant of my effort to have malloc pool in SDRAM and the
> rest of U-Boot in SRAM.

Added, thanks. Please don't forget the CHANGELOG entries!

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Perl already has an IDE.  It's called Unix.
                      -- Tom Christiansen in 375bd509 at cs.colorado.edu

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-09-25 15:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-22 11:31 [U-Boot-Users] [PATCH] Remove unneeded #include <malloc.h> Ladislav Michl
2005-09-25 15:02 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox