From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [RFC PATCH 1/1] Add support for pengwyn board
Date: Fri, 24 Jan 2014 15:12:54 +0100 [thread overview]
Message-ID: <20140124141254.EEE0B3801AD@gemini.denx.de> (raw)
In-Reply-To: <52E2615C.1000207@gmail.com>
Dear micro1183,
In message <52E2615C.1000207@gmail.com> you wrote:
> This patch adds support for the silica pengwyn board with AM335x SoC
Your patch is line-wrapped and does not apply. Please fix your mailer
configuration.
> +/*
> + * board.c
> + *
> + * Copyright (C) 2013 Lothar Felten <lothar.felten@gmail.com>
> + *
> + * This program is free software; you can redistribute it and/or
> + * modify it under the terms of the GNU General Public License as
> + * published by the Free Software Foundation version 2.
Please use a SPDX license tag instead. And please notice that new code
should have GPL-2.0+; GPL-2.0 is not sufficient.
Please fix globally.
> +#include <common.h>
> +#include <errno.h>
> +#include <spl.h>
> +#include <asm/arch/cpu.h>
> +#include <asm/arch/hardware.h>
> +#include <asm/arch/omap.h>
> +#include <asm/arch/ddr_defs.h>
> +#include <asm/arch/clock.h>
> +#include <asm/arch/gpio.h>
> +#include <asm/arch/mmc_host_def.h>
> +#include <asm/arch/sys_proto.h>
> +#include <asm/io.h>
> +#include <asm/emif.h>
> +#include <asm/gpio.h>
> +#include <i2c.h>
> +#include <miiphy.h>
> +#include <cpsw.h>
> +#include <power/tps65217.h>
> +#include "board.h"
Do you really need all these headers?
> +#define MACH_TYPE_PENGWYN 1234
MACH-ID 1234 is registered for the gene1270 bord. Please do not
hijack other board's IDs! Register your own instead, please.
> +/* Always 128 KiB env size */
> +#define CONFIG_ENV_SIZE (128 << 10)
This makes no sense. You will never need that much, and such a huge
size just slows down booting etc.
> +/* NS16550 Configuration */
> +#define CONFIG_SYS_NS16550_COM1 0x44e09000 /* Base EVM has UART0 */
> +#define CONFIG_SYS_NS16550_COM2 0x48022000 /* UART1 */
> +#define CONFIG_SYS_NS16550_COM3 0x48024000 /* UART2 */
> +#define CONFIG_SYS_NS16550_COM4 0x481a6000 /* UART3 */
> +#define CONFIG_SYS_NS16550_COM5 0x481a8000 /* UART4 */
> +#define CONFIG_SYS_NS16550_COM6 0x481aa000 /* UART5 */
Do you really need all of these?
> +#define CONFIG_USBNET_HOST_ADDR "de:ad:be:af:00:00"
Is this a good idea?
> +/* USB TI's IDs */
> +#define CONFIG_G_DNL_VENDOR_NUM 0x0403
> +#define CONFIG_G_DNL_PRODUCT_NUM 0xBD00
> +#define CONFIG_G_DNL_MANUFACTURER "Texas Instruments"
Is this really a TI board?
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
In any group of employed individuals the only naturally early riser
is _always_ the office manager, who will _always_ leave reproachful
little notes ... on the desks of their subordinates.
- Terry Pratchett, _Lords and Ladies_
next prev parent reply other threads:[~2014-01-24 14:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-24 12:49 [U-Boot] [RFC PATCH 1/1] Add support for pengwyn board micro1183
2014-01-24 14:08 ` Gerhard Sittig
2014-01-24 14:12 ` Wolfgang Denk [this message]
2014-01-27 10:40 ` micro1183
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=20140124141254.EEE0B3801AD@gemini.denx.de \
--to=wd@denx.de \
--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;
as well as URLs for NNTP newsgroup(s).