All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ladislav Michl <ladis@linux-mips.org>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] Remove unneeded #include <malloc.h>
Date: Tue, 22 Feb 2005 12:31:07 +0100	[thread overview]
Message-ID: <20050222113107.GA18261@orphique> (raw)

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>

             reply	other threads:[~2005-02-22 11:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-22 11:31 Ladislav Michl [this message]
2005-09-25 15:02 ` [U-Boot-Users] [PATCH] Remove unneeded #include <malloc.h> Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050222113107.GA18261@orphique \
    --to=ladis@linux-mips.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.