All of lore.kernel.org
 help / color / mirror / Atom feed
From: Javier Martinez Canillas <javier@dowhile0.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 5/5] ARM: IGEP0033: Remove duplicate / unused #defines.
Date: Wed, 7 Aug 2013 18:14:22 +0200	[thread overview]
Message-ID: <CABxcv==ooj2eoo-P-nGezc9Ojftwqhc_QrLzvJpr0Uq5V_LaNg@mail.gmail.com> (raw)
In-Reply-To: <1374737260-4268-6-git-send-email-eballetbo@gmail.com>

Hi Enric,

On Thu, Jul 25, 2013 at 9:27 AM, Enric Balletbo i Serra
<eballetbo@gmail.com> wrote:
> From: Enric Balletbo i Serra <eballetbo@iseebcn.com>
>
> As config was originally based on am335x_evm.h we have also some
> duplicate / unnused #defines.
>
> Commit 15191c91 removed these #defines on various AM335x boards but not
> for IGEP COM AQUILA. This patch simply removes them for this board.
>

Hi Enric,

This is why I think we should rename igep0033.h => am335x_igep0033.h
or something and do the same for igep00x0.h. Otherwise we miss
fixes/cleanups when people search for a pattern (i.e:
include/configs/omap3_*).

This is totally unrelated to this patch though, I just wanted to point
this out to take into account once we do the refactor to make both
igep0033.h and igep00x0.h share common code.

> Signed-off-by: Enric Balletbo i Serra <eballetbo@iseebcn.com>
> ---
>  include/configs/igep0033.h | 8 +-------
>  1 file changed, 1 insertion(+), 7 deletions(-)
>
> diff --git a/include/configs/igep0033.h b/include/configs/igep0033.h
> index 3d08cfa..de60f75 100644
> --- a/include/configs/igep0033.h
> +++ b/include/configs/igep0033.h
> @@ -136,7 +136,6 @@
>  /* Boot Argument Buffer Size */
>  #define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
>  #define CONFIG_SYS_LOAD_ADDR           0x81000000 /* Default load address */
> -#define CONFIG_SYS_HZ                  1000 /* 1ms clock */
>
>  /* Physical Memory Map */
>  #define CONFIG_NR_DRAM_BANKS           1               /*  1 bank of DRAM */
> @@ -149,7 +148,7 @@
>  /* Platform/Board specific defs */
>  #define CONFIG_SYS_TIMERBASE           0x48040000      /* Use Timer2 */
>  #define CONFIG_SYS_PTV                 2       /* Divisor: 2^(PTV+1) => 8 */
> -#define CONFIG_SYS_HZ                  1000
> +#define CONFIG_SYS_HZ                  1000    /* 1ms clock */
>
>  /* NS16550 Configuration */
>  #define CONFIG_SYS_NS16550
> @@ -158,7 +157,6 @@
>  #define CONFIG_SYS_NS16550_CLK         (48000000)
>  #define CONFIG_SYS_NS16550_COM1                0x44e09000      /* UART0 */
>
> -#define CONFIG_SERIAL_MULTI
>  #define CONFIG_CONS_INDEX              1
>  #define CONFIG_BAUDRATE                        115200
>
> @@ -272,10 +270,6 @@
>  #define CONFIG_SYS_NAND_ECCSIZE                512
>  #define CONFIG_SYS_NAND_ECCBYTES       14
>
> -#define CONFIG_SYS_NAND_ECCSTEPS       4
> -#define        CONFIG_SYS_NAND_ECCTOTAL        (CONFIG_SYS_NAND_ECCBYTES * \
> -                                               CONFIG_SYS_NAND_ECCSTEPS)
> -
>  #define        CONFIG_SYS_NAND_U_BOOT_START    CONFIG_SYS_TEXT_BASE
>
>  #define CONFIG_SYS_NAND_U_BOOT_OFFS    0x80000
> --
> 1.8.1.2
>

Reviewed-by: Javier Martinez Canillas <javier@dowhile0.org>

  reply	other threads:[~2013-08-07 16:14 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-25  7:27 [U-Boot] [PATCH 0/5] ARM: IGEP0033: Updates for next release Enric Balletbo i Serra
2013-07-25  7:27 ` [U-Boot] [PATCH 1/5] ARM: IGEP0033: Remove undef of CONFIG_CMD_MEMTEST Enric Balletbo i Serra
2013-08-07 15:59   ` Javier Martinez Canillas
2013-07-25  7:27 ` [U-Boot] [PATCH 2/5] ARM: IGEP0033: Add support for Flattened Device Tree Enric Balletbo i Serra
2013-08-07 16:01   ` Javier Martinez Canillas
2013-07-25  7:27 ` [U-Boot] [PATCH 3/5] ARM: IGEP0033: Remove CYGNUS name from header Enric Balletbo i Serra
2013-08-07 16:01   ` Javier Martinez Canillas
2013-07-25  7:27 ` [U-Boot] [PATCH 4/5] ARM: IGEP0033: Add support to boot from NAND Enric Balletbo i Serra
2013-08-07 16:03   ` Javier Martinez Canillas
2013-07-25  7:27 ` [U-Boot] [PATCH 5/5] ARM: IGEP0033: Remove duplicate / unused #defines Enric Balletbo i Serra
2013-08-07 16:14   ` Javier Martinez Canillas [this message]
2013-08-16 13:35 ` [U-Boot] [PATCH 0/5] ARM: IGEP0033: Updates for next release 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='CABxcv==ooj2eoo-P-nGezc9Ojftwqhc_QrLzvJpr0Uq5V_LaNg@mail.gmail.com' \
    --to=javier@dowhile0.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.