public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: "Andreas Bießmann" <andreas@biessmann.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 06/12] avr32: Drop unused code in u-boot.h
Date: Wed, 18 May 2016 09:23:55 +0200	[thread overview]
Message-ID: <c5f16dd02fab5f49cf3d0f08689fc8fc@biessmann.de> (raw)
In-Reply-To: <1463273377-11235-7-git-send-email-sjg@chromium.org>

On 2016-05-15 02:49, Simon Glass wrote:
> Since generic board init is enabled, this is not used. Drop it.
> 
> Signed-off-by: Simon Glass <sjg@chromium.org>

Acked-by: Andreas Bie?mann <andreas@biessmann.org>

> ---
> 
>  arch/avr32/include/asm/u-boot.h | 20 --------------------
>  1 file changed, 20 deletions(-)
> 
> diff --git a/arch/avr32/include/asm/u-boot.h 
> b/arch/avr32/include/asm/u-boot.h
> index 8b047ec..7d48e9a 100644
> --- a/arch/avr32/include/asm/u-boot.h
> +++ b/arch/avr32/include/asm/u-boot.h
> @@ -6,28 +6,8 @@
>  #ifndef __ASM_U_BOOT_H__
>  #define __ASM_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
> -
> -typedef struct bd_info {
> -	unsigned char		bi_phy_id[4];
> -	unsigned long		bi_board_number;
> -	void			*bi_boot_params;
> -	struct {
> -		unsigned long	start;
> -		unsigned long	size;
> -	}			bi_dram[CONFIG_NR_DRAM_BANKS];
> -	unsigned long		bi_flashstart;
> -	unsigned long		bi_flashsize;
> -	unsigned long		bi_flashoffset;
> -} bd_t;
> -
> -#define bi_memstart bi_dram[0].start
> -#define bi_memsize bi_dram[0].size
> -
> -#endif
> 
>  /* For image.h:image_check_target_arch() */
>  #define IH_ARCH_DEFAULT IH_ARCH_AVR32

  reply	other threads:[~2016-05-18  7:23 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 [this message]
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
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=c5f16dd02fab5f49cf3d0f08689fc8fc@biessmann.de \
    --to=andreas@biessmann.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox