From patchwork Wed Apr 17 15:22:19 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Warren X-Patchwork-Id: 237268 X-Patchwork-Delegate: twarren@nvidia.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 8F8A92C00EB for ; Thu, 18 Apr 2013 01:22:42 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D38DA4A2CD; Wed, 17 Apr 2013 17:22:39 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id W7Pd3ur+ivq3; Wed, 17 Apr 2013 17:22:39 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3E57D4A2C1; Wed, 17 Apr 2013 17:22:38 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1BE6E4A2C1 for ; Wed, 17 Apr 2013 17:22:36 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BOFaF7pOf2lu for ; Wed, 17 Apr 2013 17:22:34 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-pb0-f43.google.com (mail-pb0-f43.google.com [209.85.160.43]) by theia.denx.de (Postfix) with ESMTPS id 404034A2B5 for ; Wed, 17 Apr 2013 17:22:31 +0200 (CEST) Received: by mail-pb0-f43.google.com with SMTP id md4so937921pbc.2 for ; Wed, 17 Apr 2013 08:22:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer :x-nvconfidentiality; bh=3MUESERzA+zTqLY6q3+dMx95d+Smjp5olRhU5I/L3gg=; b=oV89BrykrTQOcAc7ocah2xdtOx1DAQxWlroHns1qOhe28wqLsW2YSbH702FzNCyoTM 2KIMwExumxbOj4+25RqHdm880W59QIepS3aAbg4c6RJPMujgWrX0RHlhmEVrIh9LQrJy raAJlQFQFsQMNDDn7UxzTcXxC6UkgwLWtpOHGY2F7U53PaUdCcRJjOtseiJhRc9/T1BL 8LajXuBEdK4qiHTTi8N/U91RdIAg1DvxJH4Zx+pE9IMJV2ReqR8rCuYR9DoCBAxl81AN b79ovzFngeXoC2RhdDtLtgmdy3kF2YTittGxI0mq6jEJCLW9DOp68BahvFK4mRKiQKP+ Vy0g== X-Received: by 10.68.116.133 with SMTP id jw5mr9805092pbb.9.1366212147723; Wed, 17 Apr 2013 08:22:27 -0700 (PDT) Received: from tom-ubuntu64.nvidia.com ([216.228.120.20]) by mx.google.com with ESMTPS id b7sm6591243pba.39.2013.04.17.08.22.24 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 17 Apr 2013 08:22:26 -0700 (PDT) From: Tom Warren To: u-boot@lists.denx.de Date: Wed, 17 Apr 2013 08:22:19 -0700 Message-Id: <1366212139-30881-1-git-send-email-twarren@nvidia.com> X-Mailer: git-send-email 1.8.1.5 X-NVConfidentiality: public Cc: swarren@nvidia.com, Tom Warren , twarren.nvidia@gmail.com Subject: [U-Boot] [PATCH] Tegra: T30: Beaver: Fix board/board_name env vars, s/b beaver, not cardhu X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Did a 'strings u-boot-dtb-tegra.bin | less' and saw that both board and board_name == beaver. Didn't test as I have no T30 Beaver board here. Signed-off-by: Tom Warren Tested-by: Stephen Warren Reviewed-by: Stephen Warren --- board/nvidia/beaver/Makefile | 38 ++++++++++++++++++++++++++++++++++++++ boards.cfg | 2 +- 2 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 board/nvidia/beaver/Makefile diff --git a/board/nvidia/beaver/Makefile b/board/nvidia/beaver/Makefile new file mode 100644 index 0000000..9510f60 --- /dev/null +++ b/board/nvidia/beaver/Makefile @@ -0,0 +1,38 @@ +# +# Copyright (c) 2010-2013, NVIDIA CORPORATION. All rights reserved. +# +# This program is free software; you can redistribute it and/or modify it +# under the terms and conditions of the GNU General Public License, +# version 2, as published by the Free Software Foundation. +# +# This program is distributed in the hope it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for +# more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# + +include $(TOPDIR)/config.mk + +$(shell mkdir -p $(obj)../cardhu) + +LIB = $(obj)lib$(BOARD).o + +COBJS = ../cardhu/cardhu.o + +SRCS := $(COBJS:.o=.c) +OBJS := $(addprefix $(obj),$(COBJS)) + +$(LIB): $(obj).depend $(OBJS) + $(call cmd_link_o_target, $(OBJS)) + +######################################################################### + +# defines $(obj).depend target +include $(SRCTREE)/rules.mk + +sinclude $(obj).depend + +######################################################################### diff --git a/boards.cfg b/boards.cfg index 31483d6..bcc4e78 100644 --- a/boards.cfg +++ b/boards.cfg @@ -311,7 +311,7 @@ seaboard arm armv7:arm720t seaboard nvidia ventana arm armv7:arm720t ventana nvidia tegra20 whistler arm armv7:arm720t whistler nvidia tegra20 cardhu arm armv7:arm720t cardhu nvidia tegra30 -beaver arm armv7:arm720t cardhu nvidia tegra30 +beaver arm armv7:arm720t beaver nvidia tegra30 dalmore arm armv7:arm720t dalmore nvidia tegra114 colibri_t20_iris arm armv7:arm720t colibri_t20_iris toradex tegra20 u8500_href arm armv7 u8500 st-ericsson u8500