From: Wolfgang Denk Date: Fri, 24 Jan 2014 15:12:54 +0100 Subject: [U-Boot] [RFC PATCH 1/1] Add support for pengwyn board In-Reply-To: <52E2615C.1000207@gmail.com> References: <52E2615C.1000207@gmail.com> Message-ID: <20140124141254.EEE0B3801AD@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > + * > + * 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 > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#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_