public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 08/12] mips: Drop unused code in u-boot.h
Date: Wed, 18 May 2016 11:58:53 +0200	[thread overview]
Message-ID: <573C3CDD.7020204@gmail.com> (raw)
In-Reply-To: <1463273377-11235-9-git-send-email-sjg@chromium.org>



Am 15.05.2016 um 02:49 schrieb Simon Glass:
> Since generic board init is enabled, this is not used. Drop it.
> 
> Signed-off-by: Simon Glass <sjg@chromium.org>

Acked-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>

> ---
> 
>  arch/mips/include/asm/u-boot.h | 16 ----------------
>  1 file changed, 16 deletions(-)
> 
> diff --git a/arch/mips/include/asm/u-boot.h b/arch/mips/include/asm/u-boot.h
> index 4909a2a..af03e8d 100644
> --- a/arch/mips/include/asm/u-boot.h
> +++ b/arch/mips/include/asm/u-boot.h
> @@ -15,25 +15,9 @@
>  #ifndef _U_BOOT_H_
>  #define _U_BOOT_H_	1
>  
> -#ifdef CONFIG_SYS_GENERIC_BOARD
> -
>  /* Use the generic board which requires a unified bd_info */
>  #include <asm-generic/u-boot.h>
>  
> -#else /* !CONFIG_SYS_GENERIC_BOARD */
> -
> -typedef struct bd_info {
> -	unsigned long	bi_arch_number;	/* unique id for this board */
> -	unsigned long	bi_boot_params;	/* where this board expects params */
> -	unsigned long	bi_memstart;	/* start of DRAM memory */
> -	phys_size_t	bi_memsize;	/* size	 of DRAM memory in bytes */
> -	unsigned long	bi_flashstart;	/* start of FLASH memory */
> -	unsigned long	bi_flashsize;	/* size  of FLASH memory */
> -	unsigned long	bi_flashoffset;	/* reserved area for startup monitor */
> -} bd_t;
> -
> -#endif /* !CONFIG_SYS_GENERIC_BOARD */
> -
>  /* For image.h:image_check_target_arch() */
>  #define IH_ARCH_DEFAULT IH_ARCH_MIPS
>  
> 

-- 
- Daniel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160518/b738f5db/attachment-0001.sig>

  reply	other threads:[~2016-05-18  9:58 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-15  0:49 [U-Boot] [PATCH 00/12] Drop old pre-generic-board code Simon Glass
2016-05-15  0:49 ` [U-Boot] [PATCH 01/12] openrisc: Drop the arch-specific board init Simon Glass
2016-05-30 17:58   ` [U-Boot] [U-Boot, " Tom Rini
2016-05-15  0:49 ` [U-Boot] [PATCH 02/12] Remove/update old generic-board documentation and warning Simon Glass
2016-05-18  7:27   ` Andreas Bießmann
2016-05-30 17:58   ` [U-Boot] [U-Boot, " Tom Rini
2016-05-15  0:49 ` [U-Boot] [PATCH 03/12] board_f: Don't require CONFIG_SYS_MONITOR_BASE Simon Glass
2016-05-18  7:33   ` Andreas Bießmann
2016-05-18  7:34   ` Andreas Bießmann
2016-05-19  3:59     ` Simon Glass
2016-05-30 17:58   ` [U-Boot] [U-Boot, " Tom Rini
2016-05-15  0:49 ` [U-Boot] [PATCH 04/12] sh: Fix build errors for generic board Simon Glass
2016-05-30 17:58   ` [U-Boot] [U-Boot,04/12] " Tom Rini
2016-05-15  0:49 ` [U-Boot] [PATCH 05/12] sh: Drop the arch-specific board init Simon Glass
2016-05-30 17:58   ` [U-Boot] [U-Boot,05/12] " Tom Rini
2016-05-15  0:49 ` [U-Boot] [PATCH 06/12] avr32: Drop unused code in u-boot.h Simon Glass
2016-05-18  7:23   ` Andreas Bießmann
2016-05-30 17:58   ` [U-Boot] [U-Boot,06/12] " Tom Rini
2016-05-15  0:49 ` [U-Boot] [PATCH 07/12] m68k: " Simon Glass
2016-05-17 20:42   ` Angelo Dureghello
2016-05-30 17:58   ` [U-Boot] [U-Boot,07/12] " Tom Rini
2016-05-15  0:49 ` [U-Boot] [PATCH 08/12] mips: " Simon Glass
2016-05-18  9:58   ` Daniel Schwierzeck [this message]
2016-05-30 17:59   ` [U-Boot] [U-Boot,08/12] " Tom Rini
2016-05-15  0:49 ` [U-Boot] [PATCH 09/12] powerpc: Drop unused code related to generic board Simon Glass
2016-05-30 17:59   ` [U-Boot] [U-Boot, " Tom Rini
2016-05-30 17:59   ` Tom Rini
2016-05-15  0:49 ` [U-Boot] [PATCH 10/12] Drop use of CONFIG_SYS_GENERIC_BOARD in U-Boot Simon Glass
2016-05-18  7:39   ` Andreas Bießmann
2016-05-30 17:59   ` [U-Boot] [U-Boot, " Tom Rini
2016-05-15  0:49 ` [U-Boot] [PATCH 11/12] Drop references to CONFIG_SYS_GENERIC_BOARD in config files Simon Glass
2016-05-30 17:59   ` [U-Boot] [U-Boot, " Tom Rini
2016-05-15  0:49 ` [U-Boot] [PATCH 12/12] Drop HAVE_GENERIC_BOARD and SYS_GENERIC_BOARD options Simon Glass
2016-05-17 20:45   ` Angelo Dureghello
2016-05-18  8:37   ` Andreas Bießmann
2016-05-30 17:59   ` [U-Boot] [U-Boot, " Tom Rini

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=573C3CDD.7020204@gmail.com \
    --to=daniel.schwierzeck@gmail.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox