From patchwork Thu Oct 26 12:24:16 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 830597 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=nifty.com header.i=@nifty.com header.b="QH/BU1v2"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3yN5nJ3p7rz9t48 for ; Thu, 26 Oct 2017 23:25:22 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 5179DC21DF1; Thu, 26 Oct 2017 12:25:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 5E2E9C21C73; Thu, 26 Oct 2017 12:25:13 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 5C09DC21D84; Thu, 26 Oct 2017 12:25:12 +0000 (UTC) Received: from conuserg-09.nifty.com (conuserg-09.nifty.com [210.131.2.76]) by lists.denx.de (Postfix) with ESMTPS id 425F2C21C73 for ; Thu, 26 Oct 2017 12:25:10 +0000 (UTC) Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v9QCOle7008415; Thu, 26 Oct 2017 21:24:51 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v9QCOle7008415 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1509020691; bh=RTWwmGGrchbYjMJQvlhKn6p+5TSDmvPh5kmhDeibLBQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QH/BU1v2ZYxjiHVNgz9qvAXSLgF6rdqdef4JKiK0SiDuScH1z/27ivBndnVNX1dyf yvxU69Ypa3BCtvCYeH8ZlsYvfPi1ITN5SesY9R3GHnesCyf+7d+FEKqmrIzBWNBs0o dXXIiZglzNihEsMEkaosgxz5mFdTiWKlS8VcM1psP91ifV9Yn5PirmfjSl8ZfbHXal nimjDfXgeXU2B8x4tihsQeQKPoglauZ7jZRUSYt05uFwpuD9hMEeLVtBVehbFXRQTJ mOScHmDLl0K+q2rsOkc2WnVOQGPDfqAtRxb6oPD1Is3Xj5dRNUQjwPBOvFZEu+TcBg t8xvsy5OllCDQ== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Thu, 26 Oct 2017 21:24:16 +0900 Message-Id: <1509020671-1321-2-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1509020671-1321-1-git-send-email-yamada.masahiro@socionext.com> References: <1509020671-1321-1-git-send-email-yamada.masahiro@socionext.com> Cc: Tom Rini Subject: [U-Boot] [PATCH 01/16] i2c: adi_i2c: remove left-over Blackfin I2C driver X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This driver was used by Blackfin boards, but Blackfin support is gone. There is no user of this driver. Signed-off-by: Masahiro Yamada Acked-by: Heiko Schocher --- drivers/i2c/Makefile | 1 - drivers/i2c/adi_i2c.c | 309 -------------------------------------------------- 2 files changed, 310 deletions(-) delete mode 100644 drivers/i2c/adi_i2c.c diff --git a/drivers/i2c/Makefile b/drivers/i2c/Makefile index e7ade94..121e4e2 100644 --- a/drivers/i2c/Makefile +++ b/drivers/i2c/Makefile @@ -10,7 +10,6 @@ obj-$(CONFIG_DM_I2C_GPIO) += i2c-gpio.o obj-$(CONFIG_$(SPL_)I2C_CROS_EC_TUNNEL) += cros_ec_tunnel.o obj-$(CONFIG_$(SPL_)I2C_CROS_EC_LDO) += cros_ec_ldo.o -obj-$(CONFIG_SYS_I2C_ADI) += adi_i2c.o obj-$(CONFIG_I2C_MV) += mv_i2c.o obj-$(CONFIG_TSI108_I2C) += tsi108_i2c.o obj-$(CONFIG_SH_SH7734_I2C) += sh_sh7734_i2c.o diff --git a/drivers/i2c/adi_i2c.c b/drivers/i2c/adi_i2c.c deleted file mode 100644 index d340639..0000000 --- a/drivers/i2c/adi_i2c.c +++ /dev/null @@ -1,309 +0,0 @@ -/* - * i2c.c - driver for ADI TWI/I2C - * - * Copyright (c) 2006-2014 Analog Devices Inc. - * - * Licensed under the GPL-2 or later. - * - * NOTE: This driver should be converted to driver model before June 2017. - * Please see doc/driver-model/i2c-howto.txt for instructions. - */ - -#include -#include -#include - -#include -#include -#include - -static struct twi_regs *i2c_get_base(struct i2c_adapter *adap); - -/* Every register is 32bit aligned, but only 16bits in size */ -#define ureg(name) u16 name; u16 __pad_##name; -struct twi_regs { - ureg(clkdiv); - ureg(control); - ureg(slave_ctl); - ureg(slave_stat); - ureg(slave_addr); - ureg(master_ctl); - ureg(master_stat); - ureg(master_addr); - ureg(int_stat); - ureg(int_mask); - ureg(fifo_ctl); - ureg(fifo_stat); - char __pad[0x50]; - ureg(xmt_data8); - ureg(xmt_data16); - ureg(rcv_data8); - ureg(rcv_data16); -}; -#undef ureg - -#ifdef TWI_CLKDIV -#define TWI0_CLKDIV TWI_CLKDIV -# ifdef CONFIG_SYS_MAX_I2C_BUS -# undef CONFIG_SYS_MAX_I2C_BUS -# endif -#define CONFIG_SYS_MAX_I2C_BUS 1 -#endif - -/* - * The way speed is changed into duty often results in integer truncation - * with 50% duty, so we'll force rounding up to the next duty by adding 1 - * to the max. In practice this will get us a speed of something like - * 385 KHz. The other limit is easy to handle as it is only 8 bits. - */ -#define I2C_SPEED_MAX 400000 -#define I2C_SPEED_TO_DUTY(speed) (5000000 / (speed)) -#define I2C_DUTY_MAX (I2C_SPEED_TO_DUTY(I2C_SPEED_MAX) + 1) -#define I2C_DUTY_MIN 0xff /* 8 bit limited */ -#define SYS_I2C_DUTY I2C_SPEED_TO_DUTY(CONFIG_SYS_I2C_SPEED) -/* Note: duty is inverse of speed, so the comparisons below are correct */ -#if SYS_I2C_DUTY < I2C_DUTY_MAX || SYS_I2C_DUTY > I2C_DUTY_MIN -# error "The I2C hardware can only operate 20KHz - 400KHz" -#endif - -/* All transfers are described by this data structure */ -struct adi_i2c_msg { - u8 flags; -#define I2C_M_COMBO 0x4 -#define I2C_M_STOP 0x2 -#define I2C_M_READ 0x1 - int len; /* msg length */ - u8 *buf; /* pointer to msg data */ - int alen; /* addr length */ - u8 *abuf; /* addr buffer */ -}; - -/* Allow msec timeout per ~byte transfer */ -#define I2C_TIMEOUT 10 - -/** - * wait_for_completion - manage the actual i2c transfer - * @msg: the i2c msg - */ -static int wait_for_completion(struct twi_regs *twi, struct adi_i2c_msg *msg) -{ - u16 int_stat, ctl; - ulong timebase = get_timer(0); - - do { - int_stat = readw(&twi->int_stat); - - if (int_stat & XMTSERV) { - writew(XMTSERV, &twi->int_stat); - if (msg->alen) { - writew(*(msg->abuf++), &twi->xmt_data8); - --msg->alen; - } else if (!(msg->flags & I2C_M_COMBO) && msg->len) { - writew(*(msg->buf++), &twi->xmt_data8); - --msg->len; - } else { - ctl = readw(&twi->master_ctl); - if (msg->flags & I2C_M_COMBO) - writew(ctl | RSTART | MDIR, - &twi->master_ctl); - else - writew(ctl | STOP, &twi->master_ctl); - } - } - if (int_stat & RCVSERV) { - writew(RCVSERV, &twi->int_stat); - if (msg->len) { - *(msg->buf++) = readw(&twi->rcv_data8); - --msg->len; - } else if (msg->flags & I2C_M_STOP) { - ctl = readw(&twi->master_ctl); - writew(ctl | STOP, &twi->master_ctl); - } - } - if (int_stat & MERR) { - writew(MERR, &twi->int_stat); - return msg->len; - } - if (int_stat & MCOMP) { - writew(MCOMP, &twi->int_stat); - if (msg->flags & I2C_M_COMBO && msg->len) { - ctl = readw(&twi->master_ctl); - ctl = (ctl & ~RSTART) | - (min(msg->len, 0xff) << 6) | MEN | MDIR; - writew(ctl, &twi->master_ctl); - } else - break; - } - - /* If we were able to do something, reset timeout */ - if (int_stat) - timebase = get_timer(0); - - } while (get_timer(timebase) < I2C_TIMEOUT); - - return msg->len; -} - -static int i2c_transfer(struct i2c_adapter *adap, uint8_t chip, uint addr, - int alen, uint8_t *buffer, int len, uint8_t flags) -{ - struct twi_regs *twi = i2c_get_base(adap); - int ret; - u16 ctl; - uchar addr_buffer[] = { - (addr >> 0), - (addr >> 8), - (addr >> 16), - }; - struct adi_i2c_msg msg = { - .flags = flags | (len >= 0xff ? I2C_M_STOP : 0), - .buf = buffer, - .len = len, - .abuf = addr_buffer, - .alen = alen, - }; - - /* wait for things to settle */ - while (readw(&twi->master_stat) & BUSBUSY) - if (ctrlc()) - return 1; - - /* Set Transmit device address */ - writew(chip, &twi->master_addr); - - /* Clear the FIFO before starting things */ - writew(XMTFLUSH | RCVFLUSH, &twi->fifo_ctl); - writew(0, &twi->fifo_ctl); - - /* prime the pump */ - if (msg.alen) { - len = (msg.flags & I2C_M_COMBO) ? msg.alen : msg.alen + len; - writew(*(msg.abuf++), &twi->xmt_data8); - --msg.alen; - } else if (!(msg.flags & I2C_M_READ) && msg.len) { - writew(*(msg.buf++), &twi->xmt_data8); - --msg.len; - } - - /* clear int stat */ - writew(-1, &twi->master_stat); - writew(-1, &twi->int_stat); - writew(0, &twi->int_mask); - - /* Master enable */ - ctl = readw(&twi->master_ctl); - ctl = (ctl & FAST) | (min(len, 0xff) << 6) | MEN | - ((msg.flags & I2C_M_READ) ? MDIR : 0); - writew(ctl, &twi->master_ctl); - - /* process the rest */ - ret = wait_for_completion(twi, &msg); - - if (ret) { - ctl = readw(&twi->master_ctl) & ~MEN; - writew(ctl, &twi->master_ctl); - ctl = readw(&twi->control) & ~TWI_ENA; - writew(ctl, &twi->control); - ctl = readw(&twi->control) | TWI_ENA; - writew(ctl, &twi->control); - } - - return ret; -} - -static uint adi_i2c_setspeed(struct i2c_adapter *adap, uint speed) -{ - struct twi_regs *twi = i2c_get_base(adap); - u16 clkdiv = I2C_SPEED_TO_DUTY(speed); - - /* Set TWI interface clock */ - if (clkdiv < I2C_DUTY_MAX || clkdiv > I2C_DUTY_MIN) - return -1; - clkdiv = (clkdiv << 8) | (clkdiv & 0xff); - writew(clkdiv, &twi->clkdiv); - - /* Don't turn it on */ - writew(speed > 100000 ? FAST : 0, &twi->master_ctl); - - return 0; -} - -static void adi_i2c_init(struct i2c_adapter *adap, int speed, int slaveaddr) -{ - struct twi_regs *twi = i2c_get_base(adap); - u16 prescale = ((get_i2c_clk() / 1000 / 1000 + 5) / 10) & 0x7F; - - /* Set TWI internal clock as 10MHz */ - writew(prescale, &twi->control); - - /* Set TWI interface clock as specified */ - i2c_set_bus_speed(speed); - - /* Enable it */ - writew(TWI_ENA | prescale, &twi->control); -} - -static int adi_i2c_read(struct i2c_adapter *adap, uint8_t chip, - uint addr, int alen, uint8_t *buffer, int len) -{ - return i2c_transfer(adap, chip, addr, alen, buffer, - len, alen ? I2C_M_COMBO : I2C_M_READ); -} - -static int adi_i2c_write(struct i2c_adapter *adap, uint8_t chip, - uint addr, int alen, uint8_t *buffer, int len) -{ - return i2c_transfer(adap, chip, addr, alen, buffer, len, 0); -} - -static int adi_i2c_probe(struct i2c_adapter *adap, uint8_t chip) -{ - u8 byte; - return adi_i2c_read(adap, chip, 0, 0, &byte, 1); -} - -static struct twi_regs *i2c_get_base(struct i2c_adapter *adap) -{ - switch (adap->hwadapnr) { -#if CONFIG_SYS_MAX_I2C_BUS > 2 - case 2: - return (struct twi_regs *)TWI2_CLKDIV; -#endif -#if CONFIG_SYS_MAX_I2C_BUS > 1 - case 1: - return (struct twi_regs *)TWI1_CLKDIV; -#endif - case 0: - return (struct twi_regs *)TWI0_CLKDIV; - - default: - printf("wrong hwadapnr: %d\n", adap->hwadapnr); - } - - return NULL; -} - -U_BOOT_I2C_ADAP_COMPLETE(adi_i2c0, adi_i2c_init, adi_i2c_probe, - adi_i2c_read, adi_i2c_write, - adi_i2c_setspeed, - CONFIG_SYS_I2C_SPEED, - 0, - 0) - -#if CONFIG_SYS_MAX_I2C_BUS > 1 -U_BOOT_I2C_ADAP_COMPLETE(adi_i2c1, adi_i2c_init, adi_i2c_probe, - adi_i2c_read, adi_i2c_write, - adi_i2c_setspeed, - CONFIG_SYS_I2C_SPEED, - 0, - 1) -#endif - -#if CONFIG_SYS_MAX_I2C_BUS > 2 -U_BOOT_I2C_ADAP_COMPLETE(adi_i2c2, adi_i2c_init, adi_i2c_probe, - adi_i2c_read, adi_i2c_write, - adi_i2c_setspeed, - CONFIG_SYS_I2C_SPEED, - 0, - 2) -#endif From patchwork Thu Oct 26 12:24:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 830598 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=nifty.com header.i=@nifty.com header.b="UVHZe9Xf"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3yN5p111jRz9t3p for ; Thu, 26 Oct 2017 23:26:00 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 40E6FC21E31; Thu, 26 Oct 2017 12:25:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 1371AC21DB9; Thu, 26 Oct 2017 12:25:14 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 7D710C21C73; Thu, 26 Oct 2017 12:25:12 +0000 (UTC) Received: from conuserg-09.nifty.com (conuserg-09.nifty.com [210.131.2.76]) by lists.denx.de (Postfix) with ESMTPS id 1A1F1C21C71 for ; Thu, 26 Oct 2017 12:25:10 +0000 (UTC) Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v9QCOle8008415; Thu, 26 Oct 2017 21:24:51 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v9QCOle8008415 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1509020692; bh=SDPinH0/il54wdwAlxgRH2ihWDW3jQldXfO3vGEeBFw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UVHZe9XfDxxoUwSRvsBCvBgUqfTzyolU7UeXSj4VDhHJeoy+WZJarw6UohPTH4L/g fMtfkCIGMf4J8CN8sDhej5hfa1UGE+eD6vyxRfsi1olXjx/zaAdLwl4EoM/bc4CUQF YONPSpkm/EnJ/8EMXBe15LZRO1n2IYI3IJmRNZCXj1S7Rdu/nE6p8Fxp0zkz4+WQ0F OWUvuey0enhlhe5bSNE09e87K/pCJvOLta+scCTuVLld/0x4iyIN1qL6Li/zbqoecH xQ25K2m5M8TmMQGotWiejUij1594EfSEnkdb3nBHp0pORVTa+/hoBwtrU2EcdmHywt dqZnevTLtHhPw== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Thu, 26 Oct 2017 21:24:17 +0900 Message-Id: <1509020671-1321-3-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1509020671-1321-1-git-send-email-yamada.masahiro@socionext.com> References: <1509020671-1321-1-git-send-email-yamada.masahiro@socionext.com> Cc: Tom Rini Subject: [U-Boot] [PATCH 02/16] i2c: fti2c010: remove unused/unmaintained driver X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" CONFIG_SYS_I2C_FTI2C010 is not enabled by anyone. Commit 2852709676c8 ("dm: i2c: Add a note to I2C drivers which need conversion") prompted to convert this driver to DM before June 2017, but not converted yet. Signed-off-by: Masahiro Yamada Acked-by: Heiko Schocher --- drivers/i2c/Makefile | 1 - drivers/i2c/fti2c010.c | 340 ------------------------------------------------- drivers/i2c/fti2c010.h | 80 ------------ 3 files changed, 421 deletions(-) delete mode 100644 drivers/i2c/fti2c010.c delete mode 100644 drivers/i2c/fti2c010.h diff --git a/drivers/i2c/Makefile b/drivers/i2c/Makefile index 121e4e2..3a8c61b 100644 --- a/drivers/i2c/Makefile +++ b/drivers/i2c/Makefile @@ -20,7 +20,6 @@ obj-$(CONFIG_SYS_I2C_CADENCE) += i2c-cdns.o obj-$(CONFIG_SYS_I2C_DAVINCI) += davinci_i2c.o obj-$(CONFIG_SYS_I2C_DW) += designware_i2c.o obj-$(CONFIG_SYS_I2C_FSL) += fsl_i2c.o -obj-$(CONFIG_SYS_I2C_FTI2C010) += fti2c010.o obj-$(CONFIG_SYS_I2C_IHS) += ihs_i2c.o obj-$(CONFIG_SYS_I2C_INTEL) += intel_i2c.o obj-$(CONFIG_SYS_I2C_IMX_LPI2C) += imx_lpi2c.o diff --git a/drivers/i2c/fti2c010.c b/drivers/i2c/fti2c010.c deleted file mode 100644 index 4da959f..0000000 --- a/drivers/i2c/fti2c010.c +++ /dev/null @@ -1,340 +0,0 @@ -/* - * Faraday I2C Controller - * - * (C) Copyright 2010 Faraday Technology - * Dante Su - * - * SPDX-License-Identifier: GPL-2.0+ - * - * NOTE: This driver should be converted to driver model before June 2017. - * Please see doc/driver-model/i2c-howto.txt for instructions. - */ - -#include -#include -#include - -#include "fti2c010.h" - -#ifndef CONFIG_SYS_I2C_SPEED -#define CONFIG_SYS_I2C_SPEED 5000 -#endif - -#ifndef CONFIG_SYS_I2C_SLAVE -#define CONFIG_SYS_I2C_SLAVE 0 -#endif - -#ifndef CONFIG_FTI2C010_CLOCK -#define CONFIG_FTI2C010_CLOCK clk_get_rate("I2C") -#endif - -#ifndef CONFIG_FTI2C010_TIMEOUT -#define CONFIG_FTI2C010_TIMEOUT 10 /* ms */ -#endif - -/* 7-bit dev address + 1-bit read/write */ -#define I2C_RD(dev) ((((dev) << 1) & 0xfe) | 1) -#define I2C_WR(dev) (((dev) << 1) & 0xfe) - -struct fti2c010_chip { - struct fti2c010_regs *regs; -}; - -static struct fti2c010_chip chip_list[] = { - { - .regs = (struct fti2c010_regs *)CONFIG_FTI2C010_BASE, - }, -#ifdef CONFIG_FTI2C010_BASE1 - { - .regs = (struct fti2c010_regs *)CONFIG_FTI2C010_BASE1, - }, -#endif -#ifdef CONFIG_FTI2C010_BASE2 - { - .regs = (struct fti2c010_regs *)CONFIG_FTI2C010_BASE2, - }, -#endif -#ifdef CONFIG_FTI2C010_BASE3 - { - .regs = (struct fti2c010_regs *)CONFIG_FTI2C010_BASE3, - }, -#endif -}; - -static int fti2c010_reset(struct fti2c010_chip *chip) -{ - ulong ts; - int ret = -1; - struct fti2c010_regs *regs = chip->regs; - - writel(CR_I2CRST, ®s->cr); - for (ts = get_timer(0); get_timer(ts) < CONFIG_FTI2C010_TIMEOUT; ) { - if (!(readl(®s->cr) & CR_I2CRST)) { - ret = 0; - break; - } - } - - if (ret) - printf("fti2c010: reset timeout\n"); - - return ret; -} - -static int fti2c010_wait(struct fti2c010_chip *chip, uint32_t mask) -{ - int ret = -1; - uint32_t stat, ts; - struct fti2c010_regs *regs = chip->regs; - - for (ts = get_timer(0); get_timer(ts) < CONFIG_FTI2C010_TIMEOUT; ) { - stat = readl(®s->sr); - if ((stat & mask) == mask) { - ret = 0; - break; - } - } - - return ret; -} - -static unsigned int set_i2c_bus_speed(struct fti2c010_chip *chip, - unsigned int speed) -{ - struct fti2c010_regs *regs = chip->regs; - unsigned int clk = CONFIG_FTI2C010_CLOCK; - unsigned int gsr = 0; - unsigned int tsr = 32; - unsigned int div, rate; - - for (div = 0; div < 0x3ffff; ++div) { - /* SCLout = PCLK/(2*(COUNT + 2) + GSR) */ - rate = clk / (2 * (div + 2) + gsr); - if (rate <= speed) - break; - } - - writel(TGSR_GSR(gsr) | TGSR_TSR(tsr), ®s->tgsr); - writel(CDR_DIV(div), ®s->cdr); - - return rate; -} - -/* - * Initialization, must be called once on start up, may be called - * repeatedly to change the speed and slave addresses. - */ -static void fti2c010_init(struct i2c_adapter *adap, int speed, int slaveaddr) -{ - struct fti2c010_chip *chip = chip_list + adap->hwadapnr; - - if (adap->init_done) - return; - -#ifdef CONFIG_SYS_I2C_INIT_BOARD - /* Call board specific i2c bus reset routine before accessing the - * environment, which might be in a chip on that bus. For details - * about this problem see doc/I2C_Edge_Conditions. - */ - i2c_init_board(); -#endif - - /* master init */ - - fti2c010_reset(chip); - - set_i2c_bus_speed(chip, speed); - - /* slave init, don't care */ -} - -/* - * Probe the given I2C chip address. Returns 0 if a chip responded, - * not 0 on failure. - */ -static int fti2c010_probe(struct i2c_adapter *adap, u8 dev) -{ - struct fti2c010_chip *chip = chip_list + adap->hwadapnr; - struct fti2c010_regs *regs = chip->regs; - int ret; - - /* 1. Select slave device (7bits Address + 1bit R/W) */ - writel(I2C_WR(dev), ®s->dr); - writel(CR_ENABLE | CR_TBEN | CR_START, ®s->cr); - ret = fti2c010_wait(chip, SR_DT); - if (ret) - return ret; - - /* 2. Select device register */ - writel(0, ®s->dr); - writel(CR_ENABLE | CR_TBEN, ®s->cr); - ret = fti2c010_wait(chip, SR_DT); - - return ret; -} - -static void to_i2c_addr(u8 *buf, uint32_t addr, int alen) -{ - int i, shift; - - if (!buf || alen <= 0) - return; - - /* MSB first */ - i = 0; - shift = (alen - 1) * 8; - while (alen-- > 0) { - buf[i] = (u8)(addr >> shift); - shift -= 8; - } -} - -static int fti2c010_read(struct i2c_adapter *adap, - u8 dev, uint addr, int alen, uchar *buf, int len) -{ - struct fti2c010_chip *chip = chip_list + adap->hwadapnr; - struct fti2c010_regs *regs = chip->regs; - int ret, pos; - uchar paddr[4] = { 0 }; - - to_i2c_addr(paddr, addr, alen); - - /* - * Phase A. Set register address - */ - - /* A.1 Select slave device (7bits Address + 1bit R/W) */ - writel(I2C_WR(dev), ®s->dr); - writel(CR_ENABLE | CR_TBEN | CR_START, ®s->cr); - ret = fti2c010_wait(chip, SR_DT); - if (ret) - return ret; - - /* A.2 Select device register */ - for (pos = 0; pos < alen; ++pos) { - uint32_t ctrl = CR_ENABLE | CR_TBEN; - - writel(paddr[pos], ®s->dr); - writel(ctrl, ®s->cr); - ret = fti2c010_wait(chip, SR_DT); - if (ret) - return ret; - } - - /* - * Phase B. Get register data - */ - - /* B.1 Select slave device (7bits Address + 1bit R/W) */ - writel(I2C_RD(dev), ®s->dr); - writel(CR_ENABLE | CR_TBEN | CR_START, ®s->cr); - ret = fti2c010_wait(chip, SR_DT); - if (ret) - return ret; - - /* B.2 Get register data */ - for (pos = 0; pos < len; ++pos) { - uint32_t ctrl = CR_ENABLE | CR_TBEN; - uint32_t stat = SR_DR; - - if (pos == len - 1) { - ctrl |= CR_NAK | CR_STOP; - stat |= SR_ACK; - } - writel(ctrl, ®s->cr); - ret = fti2c010_wait(chip, stat); - if (ret) - break; - buf[pos] = (uchar)(readl(®s->dr) & 0xFF); - } - - return ret; -} - -static int fti2c010_write(struct i2c_adapter *adap, - u8 dev, uint addr, int alen, u8 *buf, int len) -{ - struct fti2c010_chip *chip = chip_list + adap->hwadapnr; - struct fti2c010_regs *regs = chip->regs; - int ret, pos; - uchar paddr[4] = { 0 }; - - to_i2c_addr(paddr, addr, alen); - - /* - * Phase A. Set register address - * - * A.1 Select slave device (7bits Address + 1bit R/W) - */ - writel(I2C_WR(dev), ®s->dr); - writel(CR_ENABLE | CR_TBEN | CR_START, ®s->cr); - ret = fti2c010_wait(chip, SR_DT); - if (ret) - return ret; - - /* A.2 Select device register */ - for (pos = 0; pos < alen; ++pos) { - uint32_t ctrl = CR_ENABLE | CR_TBEN; - - writel(paddr[pos], ®s->dr); - writel(ctrl, ®s->cr); - ret = fti2c010_wait(chip, SR_DT); - if (ret) - return ret; - } - - /* - * Phase B. Set register data - */ - for (pos = 0; pos < len; ++pos) { - uint32_t ctrl = CR_ENABLE | CR_TBEN; - - if (pos == len - 1) - ctrl |= CR_STOP; - writel(buf[pos], ®s->dr); - writel(ctrl, ®s->cr); - ret = fti2c010_wait(chip, SR_DT); - if (ret) - break; - } - - return ret; -} - -static unsigned int fti2c010_set_bus_speed(struct i2c_adapter *adap, - unsigned int speed) -{ - struct fti2c010_chip *chip = chip_list + adap->hwadapnr; - int ret; - - fti2c010_reset(chip); - ret = set_i2c_bus_speed(chip, speed); - - return ret; -} - -/* - * Register i2c adapters - */ -U_BOOT_I2C_ADAP_COMPLETE(i2c_0, fti2c010_init, fti2c010_probe, fti2c010_read, - fti2c010_write, fti2c010_set_bus_speed, - CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE, - 0) -#ifdef CONFIG_FTI2C010_BASE1 -U_BOOT_I2C_ADAP_COMPLETE(i2c_1, fti2c010_init, fti2c010_probe, fti2c010_read, - fti2c010_write, fti2c010_set_bus_speed, - CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE, - 1) -#endif -#ifdef CONFIG_FTI2C010_BASE2 -U_BOOT_I2C_ADAP_COMPLETE(i2c_2, fti2c010_init, fti2c010_probe, fti2c010_read, - fti2c010_write, fti2c010_set_bus_speed, - CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE, - 2) -#endif -#ifdef CONFIG_FTI2C010_BASE3 -U_BOOT_I2C_ADAP_COMPLETE(i2c_3, fti2c010_init, fti2c010_probe, fti2c010_read, - fti2c010_write, fti2c010_set_bus_speed, - CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE, - 3) -#endif diff --git a/drivers/i2c/fti2c010.h b/drivers/i2c/fti2c010.h deleted file mode 100644 index b9d0eb7..0000000 --- a/drivers/i2c/fti2c010.h +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Faraday I2C Controller - * - * (C) Copyright 2010 Faraday Technology - * Dante Su - * - * SPDX-License-Identifier: GPL-2.0+ - */ - -#ifndef __FTI2C010_H -#define __FTI2C010_H - -/* - * FTI2C010 registers - */ -struct fti2c010_regs { - uint32_t cr; /* 0x00: control register */ - uint32_t sr; /* 0x04: status register */ - uint32_t cdr; /* 0x08: clock division register */ - uint32_t dr; /* 0x0c: data register */ - uint32_t sar; /* 0x10: slave address register */ - uint32_t tgsr;/* 0x14: time & glitch suppression register */ - uint32_t bmr; /* 0x18: bus monitor register */ - uint32_t rsvd[5]; - uint32_t revr;/* 0x30: revision register */ -}; - -/* - * control register - */ -#define CR_ALIRQ 0x2000 /* arbitration lost interrupt (master) */ -#define CR_SAMIRQ 0x1000 /* slave address match interrupt (slave) */ -#define CR_STOPIRQ 0x800 /* stop condition interrupt (slave) */ -#define CR_NAKRIRQ 0x400 /* NACK response interrupt (master) */ -#define CR_DRIRQ 0x200 /* rx interrupt (both) */ -#define CR_DTIRQ 0x100 /* tx interrupt (both) */ -#define CR_TBEN 0x80 /* tx enable (both) */ -#define CR_NAK 0x40 /* NACK (both) */ -#define CR_STOP 0x20 /* stop (master) */ -#define CR_START 0x10 /* start (master) */ -#define CR_GCEN 0x8 /* general call support (slave) */ -#define CR_SCLEN 0x4 /* enable clock out (master) */ -#define CR_I2CEN 0x2 /* enable I2C (both) */ -#define CR_I2CRST 0x1 /* reset I2C (both) */ -#define CR_ENABLE \ - (CR_ALIRQ | CR_NAKRIRQ | CR_DRIRQ | CR_DTIRQ | CR_SCLEN | CR_I2CEN) - -/* - * status register - */ -#define SR_CLRAL 0x400 /* clear arbitration lost */ -#define SR_CLRGC 0x200 /* clear general call */ -#define SR_CLRSAM 0x100 /* clear slave address match */ -#define SR_CLRSTOP 0x80 /* clear stop */ -#define SR_CLRNAKR 0x40 /* clear NACK respond */ -#define SR_DR 0x20 /* rx ready */ -#define SR_DT 0x10 /* tx done */ -#define SR_BB 0x8 /* bus busy */ -#define SR_BUSY 0x4 /* chip busy */ -#define SR_ACK 0x2 /* ACK/NACK received */ -#define SR_RW 0x1 /* set when master-rx or slave-tx mode */ - -/* - * clock division register - */ -#define CDR_DIV(n) ((n) & 0x3ffff) - -/* - * time & glitch suppression register - */ -#define TGSR_GSR(n) (((n) & 0x7) << 10) -#define TGSR_TSR(n) ((n) & 0x3ff) - -/* - * bus monitor register - */ -#define BMR_SCL 0x2 /* SCL is pull-up */ -#define BMR_SDA 0x1 /* SDA is pull-up */ - -#endif /* __FTI2C010_H */ From patchwork Thu Oct 26 12:24:18 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 830608 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=nifty.com header.i=@nifty.com header.b="dpFil0/v"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3yN5yd2WDzz9t2c for ; Thu, 26 Oct 2017 23:33:29 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 1806FC21DA0; Thu, 26 Oct 2017 12:27:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id A3850C21E08; Thu, 26 Oct 2017 12:25:51 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 9B136C21E05; Thu, 26 Oct 2017 12:25:44 +0000 (UTC) Received: from conuserg-09.nifty.com (conuserg-09.nifty.com [210.131.2.76]) by lists.denx.de (Postfix) with ESMTPS id 760F0C21DD0 for ; Thu, 26 Oct 2017 12:25:37 +0000 (UTC) Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v9QCOle9008415; Thu, 26 Oct 2017 21:24:52 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v9QCOle9008415 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1509020693; bh=rTWq3IDZBC3apdUPeeZyLvet48ytlOhrYh5xhgbmxMU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dpFil0/vTfLgjBm6krZXO3KhraInPPyn0/wV5VF5dEvGUEq/i33NEIqHg9qdUJehR nBEPvYfT7tLFSmXNtgejE5iY0iaZvp1aKnsqQQS9a120fiTgy/WL6CgYtTvJ2WWRwL Ce8dHxKSmPd8dhHvxfqyRmspXTci/489saKVVvu8tuGkXBPuVLtmjhcwcU3xcIxgdQ 4bt0Tfk0tZnIkFD4OrmKTxF7Ato4xliNAeSenBJB32soesaeITr0V2fVFQBUs3Vzij fhT23YNCZjheoZNAeDQxXT82YyfbcRW7pYSdDLWwALQXgb7SVJEWc/YsANSf10aD2M uL/B5dIxjZDfA== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Thu, 26 Oct 2017 21:24:18 +0900 Message-Id: <1509020671-1321-4-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1509020671-1321-1-git-send-email-yamada.masahiro@socionext.com> References: <1509020671-1321-1-git-send-email-yamada.masahiro@socionext.com> Cc: Marek Vasut , Tom Rini , Joe Hershberger , Alexandru Gagniuc , Maxime Ripard , Chris Packham Subject: [U-Boot] [PATCH 03/16] IMX: novena: remove CONFIG_I2C_MXC X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This macro is defined, but not referenced by anyone. I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync. Signed-off-by: Masahiro Yamada Acked-by: Heiko Schocher --- include/configs/novena.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/novena.h b/include/configs/novena.h index ac00975..3acc8c6 100644 --- a/include/configs/novena.h +++ b/include/configs/novena.h @@ -80,7 +80,6 @@ #define CONFIG_SYS_I2C_MXC_I2C2 /* enable I2C bus 2 */ #define CONFIG_SYS_I2C_MXC_I2C3 /* enable I2C bus 3 */ #define CONFIG_I2C_MULTI_BUS -#define CONFIG_I2C_MXC #define CONFIG_SYS_I2C_SPEED 100000 #define CONFIG_SYS_SPD_BUS_NUM 0 From patchwork Thu Oct 26 12:24:19 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 830599 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=nifty.com header.i=@nifty.com header.b="aSPY1/D7"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3yN5qM6VY6z9t2c for ; Thu, 26 Oct 2017 23:27:11 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 8358FC21E16; Thu, 26 Oct 2017 12:26:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id E50A0C21C71; Thu, 26 Oct 2017 12:25:33 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 7F664C21DDD; Thu, 26 Oct 2017 12:25:28 +0000 (UTC) Received: from conuserg-09.nifty.com (conuserg-09.nifty.com [210.131.2.76]) by lists.denx.de (Postfix) with ESMTPS id 53BB4C21DDF for ; Thu, 26 Oct 2017 12:25:22 +0000 (UTC) Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v9QCOleA008415; Thu, 26 Oct 2017 21:24:53 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v9QCOleA008415 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1509020693; bh=gYYVM0WYYYTHSojRE1wP46SFNNzqsPCEbXeg1XWRfWQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aSPY1/D7ZaFxe5rXI8l4bORkpxMeBSg1forW0yLFzy1MGdK8Q2d41A0hiM26oBDRZ mCFfHsSXesUNVAJPygeDC1MN7MVr1FNFLh93kizKrEvGkXF0ACMQPRiVHAjngbQiPJ P5s1ag5dFuO992dt43BjZ2U0ly7B0iC5RPSsat6XTvWZPeE5c7hRVPHX7eqsAHKtJ6 QNTGwbUp/yyeNtKcF7+ohmI8v6Y+5h7aFKyA8eup+a6zdad/lIM/gmrrUewyTn439Y LgX78oNmr1GTGJ1Ds+a668pycXUAraOW/kI0I/2Dr1DjCCsvMlya3BpIY1rHMXnFpg LsY/3nl3lkUsg== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Thu, 26 Oct 2017 21:24:19 +0900 Message-Id: <1509020671-1321-5-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1509020671-1321-1-git-send-email-yamada.masahiro@socionext.com> References: <1509020671-1321-1-git-send-email-yamada.masahiro@socionext.com> Cc: Tom Rini Subject: [U-Boot] [PATCH 04/16] omap4: sdp4430: remove CONFIG_4430SDP X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This macro is defined, but not referenced by anyone. I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync. Signed-off-by: Masahiro Yamada --- include/configs/omap4_sdp4430.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/omap4_sdp4430.h b/include/configs/omap4_sdp4430.h index c89bd13..c7f7131 100644 --- a/include/configs/omap4_sdp4430.h +++ b/include/configs/omap4_sdp4430.h @@ -16,7 +16,6 @@ /* * High Level Configuration Options */ -#define CONFIG_4430SDP 1 /* working with SDP */ #define CONFIG_MACH_TYPE MACH_TYPE_OMAP_4430SDP #include From patchwork Thu Oct 26 12:24:20 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 830605 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=nifty.com header.i=@nifty.com header.b="1fcTWA+s"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3yN5wL1pYgz9t2r for ; Thu, 26 Oct 2017 23:31:30 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 04449C21D9E; Thu, 26 Oct 2017 12:28:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 8292EC21E52; Thu, 26 Oct 2017 12:26:02 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 3A4F4C21E05; Thu, 26 Oct 2017 12:25:44 +0000 (UTC) Received: from conuserg-09.nifty.com (conuserg-09.nifty.com [210.131.2.76]) by lists.denx.de (Postfix) with ESMTPS id 067D3C21DD7 for ; Thu, 26 Oct 2017 12:25:37 +0000 (UTC) Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v9QCOleB008415; Thu, 26 Oct 2017 21:24:53 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v9QCOleB008415 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1509020694; bh=sCHsYX2InHyc0AgnTzirK3fmGBSH+TTcsZhlppXssyo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=1fcTWA+sRWejhndwRS+QoJbMmDNWj8mDogDPgbpttRPTL/1aqId0kk3RV8UQr91Qq r89HXsWLQ8xdmscdckRP9842Jloy3fjlq6+FbKZFqwM+EPjvdd5Vqfg1wCivYw+bWW IFnS6eZYLsoufpKMV2ieogNfgPTCU5sHupPPFhXxHLAD5xYnqHt5FWEJ2Xro64bREa OwJBCBH3Gq31iqKoQlaUDrhf0Mn6cr9Vsa/O2oEm2i3el+WzYi28XrBS/vdDaXJ0Cq Ax6ynaKHPJZMEysc7MOvgPnCATfYc0uUNI0HPEAFj3kDtnSw/Uc8RfzWuSyDzib7ay qgnGOb9eB03cw== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Thu, 26 Oct 2017 21:24:20 +0900 Message-Id: <1509020671-1321-6-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1509020671-1321-1-git-send-email-yamada.masahiro@socionext.com> References: <1509020671-1321-1-git-send-email-yamada.masahiro@socionext.com> Cc: Tom Rini , Thomas Petazzoni , Kumar Gala , Andy Fleming Subject: [U-Boot] [PATCH 05/16] mpc85xx: freescale: remove CONFIG_ADDR_STREAMING X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This macro is defined, but not referenced by anyone. I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync. Signed-off-by: Masahiro Yamada Reviewed-by: York Sun --- include/configs/C29XPCIE.h | 1 - include/configs/P1010RDB.h | 1 - 2 files changed, 2 deletions(-) diff --git a/include/configs/C29XPCIE.h b/include/configs/C29XPCIE.h index d6982d3..7e805ec 100644 --- a/include/configs/C29XPCIE.h +++ b/include/configs/C29XPCIE.h @@ -109,7 +109,6 @@ #define CONFIG_L2_CACHE /* toggle L2 cache */ #define CONFIG_BTB /* toggle branch predition */ -#define CONFIG_ADDR_STREAMING /* toggle addr streaming */ #define CONFIG_ENABLE_36BIT_PHYS diff --git a/include/configs/P1010RDB.h b/include/configs/P1010RDB.h index 13edd0a..adb4a18 100644 --- a/include/configs/P1010RDB.h +++ b/include/configs/P1010RDB.h @@ -205,7 +205,6 @@ #define CONFIG_L2_CACHE /* toggle L2 cache */ #define CONFIG_BTB /* toggle branch predition */ -#define CONFIG_ADDR_STREAMING /* toggle addr streaming */ #define CONFIG_ENABLE_36BIT_PHYS From patchwork Thu Oct 26 12:24:21 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 830612 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=nifty.com header.i=@nifty.com header.b="FD3WNZCS"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3yN5zy4hQcz9t3H for ; Thu, 26 Oct 2017 23:34:38 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 3D2CDC21DD7; Thu, 26 Oct 2017 12:29:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 3B19CC21DCA; Thu, 26 Oct 2017 12:26:23 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id B91B4C21E3B; Thu, 26 Oct 2017 12:26:00 +0000 (UTC) Received: from conuserg-09.nifty.com (conuserg-09.nifty.com [210.131.2.76]) by lists.denx.de (Postfix) with ESMTPS id 993B0C21E2C for ; Thu, 26 Oct 2017 12:25:53 +0000 (UTC) Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v9QCOleC008415; Thu, 26 Oct 2017 21:24:54 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v9QCOleC008415 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1509020695; bh=cmsEK2jAHw9wv0t0JKJDzvWl9LMTzgy7LaOPnwaN19Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FD3WNZCSGlHt4keoR9aExDLZsLIgLZHfW8rE/8WoRfjT9jqOMMrezxNlvfcvBZ8qj B0SYiomO7UBCKRNOdjRfOsVaBGFBlz/Ia83kr+mh3sDx7flZovCR0q342iZ2JbRRJQ Px0HMHoW4S35IJENzb0ZN7JqySY7uVKiFYh4uIJefOpZ4JQhYCM03ztCDEcfcYKEM4 xbQ4XTtGQ+T+IHy/ckPBem7dGgj9xvDpKMLCkc9FBtQLVig52XrZHFfV242yX38VSx WFcpl6PdAwEqHApwhLk3u5aAQKjvEUGY/Vm468WN/dvl6dYvFQR3BqzksFyx2NHwms u20zCjPZYYBjQ== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Thu, 26 Oct 2017 21:24:21 +0900 Message-Id: <1509020671-1321-7-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1509020671-1321-1-git-send-email-yamada.masahiro@socionext.com> References: <1509020671-1321-1-git-send-email-yamada.masahiro@socionext.com> Cc: Thomas Petazzoni , Tom Rini , Alexandru Gagniuc , Vladimir Zapolskiy , Jagan Teki Subject: [U-Boot] [PATCH 06/16] sh7734: remove CONFIG_553MHZ_MODE X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This macro only appears in commented-out lines. It is not referenced by anyone. I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync. Signed-off-by: Masahiro Yamada --- include/configs/ap_sh4a_4a.h | 1 - include/configs/r0p7734.h | 1 - 2 files changed, 2 deletions(-) diff --git a/include/configs/ap_sh4a_4a.h b/include/configs/ap_sh4a_4a.h index ab3d40c..717ec80 100644 --- a/include/configs/ap_sh4a_4a.h +++ b/include/configs/ap_sh4a_4a.h @@ -12,7 +12,6 @@ #define CONFIG_CPU_SH7734 1 #define CONFIG_AP_SH4A_4A 1 #define CONFIG_400MHZ_MODE 1 -/* #define CONFIG_533MHZ_MODE 1 */ #define CONFIG_SYS_TEXT_BASE 0x8BFC0000 diff --git a/include/configs/r0p7734.h b/include/configs/r0p7734.h index a31c6e2..1fef8b5 100644 --- a/include/configs/r0p7734.h +++ b/include/configs/r0p7734.h @@ -12,7 +12,6 @@ #define CONFIG_CPU_SH7734 1 #define CONFIG_R0P7734 1 #define CONFIG_400MHZ_MODE 1 -/* #define CONFIG_533MHZ_MODE 1 */ #define CONFIG_SYS_TEXT_BASE 0x8FFC0000 From patchwork Thu Oct 26 12:24:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 830604 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=nifty.com header.i=@nifty.com header.b="alblGxmq"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3yN5wK4fTfz9t2c for ; Thu, 26 Oct 2017 23:31:29 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 55A0EC21DEF; Thu, 26 Oct 2017 12:27:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 921EFC21E3C; Thu, 26 Oct 2017 12:25:58 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 2BA0CC21DDA; Thu, 26 Oct 2017 12:25:46 +0000 (UTC) Received: from conuserg-09.nifty.com (conuserg-09.nifty.com [210.131.2.76]) by lists.denx.de (Postfix) with ESMTPS id 01211C21DE9 for ; Thu, 26 Oct 2017 12:25:38 +0000 (UTC) Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v9QCOleD008415; Thu, 26 Oct 2017 21:24:55 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v9QCOleD008415 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1509020696; bh=aSPyNsmr44dBFWK9JzMNaJ2nkkTZy/5pBRqw9is1Yko=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=alblGxmqO/UZn2dU/r6pkGAakISGvf2k7UdMBlijrLid5I5wH4voRMk8c4F/5s0xO E6BFaEXSV8FsGMCbPxeqfjHCHU3twim8vGqRmuB4e4tUp3Y9NbuhoRa5A2v4ZT7T1X b3aCgGIVDuPPoq04sHBqbzOVzb1KzoA5fivWdzZizWrqRKTYi81CZil0NneNgg7hDu wVXMVrZlBimhPyuSnb94c6IDpGviuxgPJo79fqKe5Aet7X29z6XnUSTNqxCErmb1nh prXVbQ3w2o52lToES2tm4g1KlnDHhIfjKxUBRySwwnXe0akph9S9qhrWt5dgpkhsjR MVI6SRJK4VZaA== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Thu, 26 Oct 2017 21:24:22 +0900 Message-Id: <1509020671-1321-8-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1509020671-1321-1-git-send-email-yamada.masahiro@socionext.com> References: <1509020671-1321-1-git-send-email-yamada.masahiro@socionext.com> Cc: Vlad Zakharov , Tom Rini , Alexey Brodkin , Alexey Brodkin , Thomas Petazzoni Subject: [U-Boot] [PATCH 07/16] ARC: remove CONFIG_ARC_UART_BASE X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This macro is defined, but not referenced by anyone. I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync. Signed-off-by: Masahiro Yamada --- include/configs/nsim.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/nsim.h b/include/configs/nsim.h index c086de6..c4775e5 100644 --- a/include/configs/nsim.h +++ b/include/configs/nsim.h @@ -30,7 +30,6 @@ * */ #define CONFIG_ARC_SERIAL -#define CONFIG_ARC_UART_BASE 0xC0FC1000 /* * Command line configuration From patchwork Thu Oct 26 12:24:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 830606 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=nifty.com header.i=@nifty.com header.b="hGON4c0L"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3yN5wV06TMz9t2c for ; Thu, 26 Oct 2017 23:31:37 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id C37FBC21E05; Thu, 26 Oct 2017 12:27:40 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id A9FFFC21E28; Thu, 26 Oct 2017 12:25:57 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id F0E12C21D8D; Thu, 26 Oct 2017 12:25:45 +0000 (UTC) Received: from conuserg-09.nifty.com (conuserg-09.nifty.com [210.131.2.76]) by lists.denx.de (Postfix) with ESMTPS id 90403C21DF4 for ; Thu, 26 Oct 2017 12:25:38 +0000 (UTC) Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v9QCOleE008415; Thu, 26 Oct 2017 21:24:56 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v9QCOleE008415 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1509020697; bh=1fmKCqPS9k/w2RVOQ+aZBW1zsL24Z1QBvJMNjFtmfWo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hGON4c0LTGvwZirTJo8fbIWvHOo5VeiJUcbKAK2SFoYqUTxZf/E50ve7XkSfQtw15 KTuTEq3ZIkej+v6Y6lWX6WuTytzJA6WH/W8aKCBh8U6d6U+jvDRrJmLcsf+EmTtL8O iyrI57DHWv+K4FPDOaj7nOhoLdcviNgpIaSldo9sV91m+EbtBoXCjUKFe0D2oqpoI9 Zt0jM8k/YdQaXf5aZJYFbL+cVGTyk27hlc0UTpNIX5oqpAl/jZizYr23JFvld/+8bD 8X3R6ggPXA8b1uKXQ+ZKR8TCiAb4w8GSAOhz2EjjhonwTJX42foTEPrASGqgjfMT2x 2hcNdzK6D6hDQ== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Thu, 26 Oct 2017 21:24:23 +0900 Message-Id: <1509020671-1321-9-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1509020671-1321-1-git-send-email-yamada.masahiro@socionext.com> References: <1509020671-1321-1-git-send-email-yamada.masahiro@socionext.com> Cc: Marek Vasut , Tom Rini , Tien Fong Chee Subject: [U-Boot] [PATCH 08/16] SOCFPGA: remove CONFIG_AUTONEG_TIMEOUT X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This macro is defined, but not referenced by anyone. I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync. Signed-off-by: Masahiro Yamada --- include/configs/socfpga_common.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h index 7b5417a..7281bda 100644 --- a/include/configs/socfpga_common.h +++ b/include/configs/socfpga_common.h @@ -94,7 +94,6 @@ #if defined(CONFIG_CMD_NET) && !defined(CONFIG_SOCFPGA_VIRTUAL_TARGET) #define CONFIG_DW_ALTDESCRIPTOR #define CONFIG_MII -#define CONFIG_AUTONEG_TIMEOUT (15 * CONFIG_SYS_HZ) #endif /* From patchwork Thu Oct 26 12:24:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 830602 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=nifty.com header.i=@nifty.com header.b="dUkovlIQ"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3yN5sV3307z9t2c for ; Thu, 26 Oct 2017 23:29:02 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 16AE5C21DA0; Thu, 26 Oct 2017 12:26:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id E9DB4C21E2F; Thu, 26 Oct 2017 12:25:44 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 76D8FC21E0A; Thu, 26 Oct 2017 12:25:33 +0000 (UTC) Received: from conuserg-09.nifty.com (conuserg-09.nifty.com [210.131.2.76]) by lists.denx.de (Postfix) with ESMTPS id 68056C21DDA for ; Thu, 26 Oct 2017 12:25:27 +0000 (UTC) Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v9QCOleF008415; Thu, 26 Oct 2017 21:24:57 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v9QCOleF008415 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1509020697; bh=6gCOvIoL92NEzyShbx89w0WxUhAY4a0Y7WWAkrGD6FA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dUkovlIQurW9JXdj+nDO3YQfWgEJAKCTSlNuowwbNxHtBWhE8elluMiqbhPNGZuLO Ga0/X1rjWR14ygvT/nP/mxiSfPgh9lwKFWJt8m3PyODjGWW8k5DUsHRv83o8bY14Jk HSsQLCca1uD+Fq2l7yLmatlVUV5Rim/f6T23EbhoKVJbcExE7TaEzS9fcdM7LZfSI5 f/jxeB/Oa4Qa4vYtZ6zw8OK72ch/VdQnkkc1ouuXw9849Kl6zEud2xIjB/d4c13lGx 7EmIriFwMZLhHns/WVEkYxXHdy25gnlq2r3cRavc6lfXqK8c+o8xvnzMSoPEbIKu1G XCDt0pgYcMfDQ== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Thu, 26 Oct 2017 21:24:24 +0900 Message-Id: <1509020671-1321-10-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1509020671-1321-1-git-send-email-yamada.masahiro@socionext.com> References: <1509020671-1321-1-git-send-email-yamada.masahiro@socionext.com> Cc: Tom Rini Subject: [U-Boot] [PATCH 09/16] omap4: sdp4430: match the #endif comment to #ifdef X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This comment creates a wrong entry in config_whitelist.txt. I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync. Signed-off-by: Masahiro Yamada --- board/ti/sdp4430/cmd_bat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/ti/sdp4430/cmd_bat.c b/board/ti/sdp4430/cmd_bat.c index 7e8dbb1..4c7beeb 100644 --- a/board/ti/sdp4430/cmd_bat.c +++ b/board/ti/sdp4430/cmd_bat.c @@ -39,4 +39,4 @@ U_BOOT_CMD( "bat startcharge - start charging via USB\n" "bat stopcharge - stop charging\n" ); -#endif /* CONFIG_BAT_CMD */ +#endif /* CONFIG_CMD_BAT */ From patchwork Thu Oct 26 12:24:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 830600 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=nifty.com header.i=@nifty.com header.b="AO25T1eZ"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3yN5rF0nT8z9t2c for ; Thu, 26 Oct 2017 23:27:56 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id CAA31C21C71; Thu, 26 Oct 2017 12:27:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id C91E8C21E0C; Thu, 26 Oct 2017 12:25:48 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id AEE84C21DC8; Thu, 26 Oct 2017 12:25:46 +0000 (UTC) Received: from conuserg-09.nifty.com (conuserg-09.nifty.com [210.131.2.76]) by lists.denx.de (Postfix) with ESMTPS id D9F42C21DDA for ; Thu, 26 Oct 2017 12:25:38 +0000 (UTC) Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v9QCOleG008415; Thu, 26 Oct 2017 21:24:58 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v9QCOleG008415 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1509020698; bh=mITvwMjL3FPH8NeyTYuO6qvPLErsUzdzeIQpgsSypCI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AO25T1eZqATP29uIhgHDBesoVDoPPrE0mGDj/I8iE4Lbqfg3U1qz11K+0xWxVIO3W e9jnBeGS8i39d6xjkuSP2YKmLVNC4V3TPQSrPkYyO98l7FTlH86JoHN6XtaWCVNE5r M/IsQmvFIlZLXuMspcO9zN1fbKUlxsCpriQ3kdDVUgsmpNf5VskpEa3XjdCnCSb7m3 dY+qwVn1r67z/IpuZGoc2LiHKUh6ysByYUxtSdess1tNCWn3Z+eeLp4RlvrUqT+IJk ZSHXmO+eswIgOz7CZL1XmLztls+7kl2NNwJsnlotTdovLqFLcROwPTOPctkfFd56xY Kld6+MORRENyg== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Thu, 26 Oct 2017 21:24:25 +0900 Message-Id: <1509020671-1321-11-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1509020671-1321-1-git-send-email-yamada.masahiro@socionext.com> References: <1509020671-1321-1-git-send-email-yamada.masahiro@socionext.com> Cc: Thomas Petazzoni , Tom Rini , Stefan Roese , Thomas Abraham Subject: [U-Boot] [PATCH 10/16] exynos: remove CONFIG_CORE_COUNT X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This macro is defined, but not referenced by anyone. I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync. Signed-off-by: Masahiro Yamada Acked-by: Minkyu Kang --- include/configs/exynos5420-common.h | 5 ----- include/configs/exynos7420-common.h | 3 --- 2 files changed, 8 deletions(-) diff --git a/include/configs/exynos5420-common.h b/include/configs/exynos5420-common.h index 79e6d13..ae9ead5 100644 --- a/include/configs/exynos5420-common.h +++ b/include/configs/exynos5420-common.h @@ -43,11 +43,6 @@ #define CONFIG_LOWPOWER_FLAG 0x02020028 #define CONFIG_LOWPOWER_ADDR 0x0202002C -/* - * Number of CPUs available - */ -#define CONFIG_CORE_COUNT 0x8 - #define CONFIG_USB_XHCI_EXYNOS #endif /* __CONFIG_EXYNOS5420_H */ diff --git a/include/configs/exynos7420-common.h b/include/configs/exynos7420-common.h index 0aeec39..4e10471 100644 --- a/include/configs/exynos7420-common.h +++ b/include/configs/exynos7420-common.h @@ -43,9 +43,6 @@ #define CONFIG_IRAM_END (CONFIG_IRAM_BASE + CONFIG_IRAM_SIZE) #define CPU_RELEASE_ADDR secondary_boot_addr -/* Number of CPUs available */ -#define CONFIG_CORE_COUNT 0x8 - /* select serial console configuration */ #define CONFIG_SYS_LOAD_ADDR (CONFIG_SYS_SDRAM_BASE + 0x3E00000) From patchwork Thu Oct 26 12:24:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 830611 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=nifty.com header.i=@nifty.com header.b="kSQytl7O"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3yN5zt3cjqz9t2r for ; Thu, 26 Oct 2017 23:34:34 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 3693FC21DC6; Thu, 26 Oct 2017 12:29:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 5757FC21E4A; Thu, 26 Oct 2017 12:26:11 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 3E048C21E05; Thu, 26 Oct 2017 12:25:56 +0000 (UTC) Received: from conuserg-09.nifty.com (conuserg-09.nifty.com [210.131.2.76]) by lists.denx.de (Postfix) with ESMTPS id 720E3C21DD0 for ; Thu, 26 Oct 2017 12:25:50 +0000 (UTC) Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v9QCOleH008415; Thu, 26 Oct 2017 21:24:58 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v9QCOleH008415 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1509020699; bh=Z9KfatSIfyfkQNhtBIyOYYPuLRJiMyjU5Gw053smvlM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kSQytl7Om9xgHU+gLhCHVSAjGtKenztevD7uRI8n9gj4N/TPQ0zbnLJmYzpYMk0Nb 4f3Cy7OUyjk2FA+iEDTP+NwEgq0Pj99kO3ABedddQ865VRJGpB8A9vjIZ3fKiHcPog 42bYtieJADTrHk7UG6e9BfZIwbjLsiHhkskLZJcuRDl1vRXPpJl08KanKqVopaCEWJ jOiOibZ8RlPR936urizHWZl7zfvv05R3jHz60G0txGRI8tY9XjSX+L9/IdK8L2Tkzo BpGFnfOxfHSRbv/IVEGzGNR+qUgJL4gXPkrVufvgLCpkOcxbFiH8GKwF4Eg2IfiKZ2 zi5FttEocbRbw== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Thu, 26 Oct 2017 21:24:26 +0900 Message-Id: <1509020671-1321-12-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1509020671-1321-1-git-send-email-yamada.masahiro@socionext.com> References: <1509020671-1321-1-git-send-email-yamada.masahiro@socionext.com> Cc: Tom Rini , Chris Packham Subject: [U-Boot] [PATCH 11/16] MX28: remove CONFIG_DEFAULT_SPI_CS X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This macro is defined, but not referenced by anyone. I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync. Signed-off-by: Masahiro Yamada --- include/configs/bg0900.h | 1 - include/configs/m28evk.h | 1 - 2 files changed, 2 deletions(-) diff --git a/include/configs/bg0900.h b/include/configs/bg0900.h index 3b65416..03700b0 100644 --- a/include/configs/bg0900.h +++ b/include/configs/bg0900.h @@ -27,7 +27,6 @@ /* SPI */ #ifdef CONFIG_CMD_SPI #define CONFIG_DEFAULT_SPI_BUS 2 -#define CONFIG_DEFAULT_SPI_CS 0 #define CONFIG_DEFAULT_SPI_MODE SPI_MODE_0 /* SPI FLASH */ diff --git a/include/configs/m28evk.h b/include/configs/m28evk.h index 4fcf480..b5ba6b4 100644 --- a/include/configs/m28evk.h +++ b/include/configs/m28evk.h @@ -72,7 +72,6 @@ /* SPI */ #ifdef CONFIG_CMD_SPI #define CONFIG_DEFAULT_SPI_BUS 2 -#define CONFIG_DEFAULT_SPI_CS 0 #define CONFIG_DEFAULT_SPI_MODE SPI_MODE_0 /* SPI FLASH */ From patchwork Thu Oct 26 12:24:27 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 830603 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=nifty.com header.i=@nifty.com header.b="OR7VccNM"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3yN5vv453Sz9t2c for ; Thu, 26 Oct 2017 23:31:07 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 55474C21DD7; Thu, 26 Oct 2017 12:28:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 53714C21E4C; Thu, 26 Oct 2017 12:26:07 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 527E1C21DE9; Thu, 26 Oct 2017 12:25:51 +0000 (UTC) Received: from conuserg-09.nifty.com (conuserg-09.nifty.com [210.131.2.76]) by lists.denx.de (Postfix) with ESMTPS id 693DBC21E11 for ; Thu, 26 Oct 2017 12:25:42 +0000 (UTC) Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v9QCOleI008415; Thu, 26 Oct 2017 21:24:59 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v9QCOleI008415 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1509020700; bh=QAfVX6sa4Lhf8B1JNiEpLMvFlr3m+iCOk0HB0Vgv17A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OR7VccNM/Xq4Fu+SiU9kE10IoV4t0XMUCA1GELbAgybe/3X5jTTwL3ghEQ+/f4Ex8 JtOj9LNw0Haqi1NsRqDjVSK6a3q5/HQoxZmrSk9xYVk7Y4lvAQVl8uL3eaIQTeMvX8 +bl7imxMcfXy0tjM0lSkVIBhM1BE29tYZ4pjqoYqKMz7rptKmF1Y/z8S7vEp1v3IDO 8n65J+DIsphfdT+U988Rh2pP7rTMUGICb5Cgc3ZOMtZW2JPdNBIM0//iP/zTrQz2RB OjABgxegwCXGrZy1hkGeArXXelJf8NETymNHStoaT7aGD2WE2fjr2pCC/DkmBc/9hp nRWiBAsSvo4VA== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Thu, 26 Oct 2017 21:24:27 +0900 Message-Id: <1509020671-1321-13-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1509020671-1321-1-git-send-email-yamada.masahiro@socionext.com> References: <1509020671-1321-1-git-send-email-yamada.masahiro@socionext.com> Cc: Tom Rini , Joe Hershberger , Jagan Teki Subject: [U-Boot] [PATCH 12/16] AM33XX: etamin: remove CONFIG_DFU_MTD X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This macro is defined, but not referenced by anyone. I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync. Signed-off-by: Masahiro Yamada --- include/configs/etamin.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/etamin.h b/include/configs/etamin.h index c9584ad..7bd2c4a 100644 --- a/include/configs/etamin.h +++ b/include/configs/etamin.h @@ -120,7 +120,6 @@ -#define CONFIG_DFU_MTD #undef COMMON_ENV_DFU_ARGS #define COMMON_ENV_DFU_ARGS "dfu_args=run bootargs_defaults;" \ "setenv bootargs ${bootargs};" \ From patchwork Thu Oct 26 12:24:28 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 830607 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=nifty.com header.i=@nifty.com header.b="ofQMsEuH"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3yN5yT0TvWz9t2c for ; Thu, 26 Oct 2017 23:33:20 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id C1B9DC21E05; Thu, 26 Oct 2017 12:29:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id CA9B7C21DB9; Thu, 26 Oct 2017 12:26:12 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 17B04C21DC1; Thu, 26 Oct 2017 12:25:58 +0000 (UTC) Received: from conuserg-09.nifty.com (conuserg-09.nifty.com [210.131.2.76]) by lists.denx.de (Postfix) with ESMTPS id A8AE6C21E14 for ; Thu, 26 Oct 2017 12:25:52 +0000 (UTC) Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v9QCOleJ008415; Thu, 26 Oct 2017 21:25:00 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v9QCOleJ008415 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1509020701; bh=9T3RTZ0QzGNeZ/9uibWqL1GIpliFN0jIlX0fEedFRpE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ofQMsEuHYm+3K+5OqI1fJh5/B/k5wKjfQC8FODmHvbO26qBdFfVvNwbJyWyW3d7yF I+EWFkOIrOnjni6G641RQpheIXWJTdsdDDchy3z4eliHmgcGzLpNGu5CNCD2hF/3Cl ZrOBAzdopU6NloErYWJGvZZjk6lzqnUhSE30CfW9rdaAAg/TXhZgbp/jk+jfVViERD ZaBW0tMtKq/IvD+QxKMn+/8+O0cPZyF/6atwcKL9QsTGpIcViVCXNwNdwyPl4zExeN 0KWOK6i8osUHhxTjpZhTmKWs7klJsPtkW84MWCfqwb4JjM/4qod3TdQGP1kunjlU7M lZ3mMAvcU1YuQ== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Thu, 26 Oct 2017 21:24:28 +0900 Message-Id: <1509020671-1321-14-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1509020671-1321-1-git-send-email-yamada.masahiro@socionext.com> References: <1509020671-1321-1-git-send-email-yamada.masahiro@socionext.com> Cc: Tom Rini , Thomas Petazzoni , Kumar Gala , Andy Fleming Subject: [U-Boot] [PATCH 13/16] mpc85xx: xpedite550x: remove CONFIG_FDT_FIXUP_PCI_IRQ X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This macro is defined, but not referenced by anyone. I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync. Signed-off-by: Masahiro Yamada --- include/configs/xpedite550x.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/xpedite550x.h b/include/configs/xpedite550x.h index b433224..6c0981b 100644 --- a/include/configs/xpedite550x.h +++ b/include/configs/xpedite550x.h @@ -204,7 +204,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy); #define CONFIG_LOADS_ECHO 1 /* echo on for serial download */ #define CONFIG_SYS_LOADS_BAUD_CHANGE 1 /* allow baudrate change */ -#define CONFIG_FDT_FIXUP_PCI_IRQ 1 /* * I2C From patchwork Thu Oct 26 12:24:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 830641 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=nifty.com header.i=@nifty.com header.b="nvvWPLS5"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3yN73r15V5z9t6D for ; Fri, 27 Oct 2017 00:23:03 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id BBFF9C21DF4; Thu, 26 Oct 2017 13:22:39 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=KHOP_BIG_TO_CC, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id BAF89C21DA1; Thu, 26 Oct 2017 13:22:18 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id ECD2AC21DDD; Thu, 26 Oct 2017 12:26:07 +0000 (UTC) Received: from conuserg-09.nifty.com (conuserg-09.nifty.com [210.131.2.76]) by lists.denx.de (Postfix) with ESMTPS id C85C3C21E44 for ; Thu, 26 Oct 2017 12:25:59 +0000 (UTC) Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v9QCOleK008415; Thu, 26 Oct 2017 21:25:01 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v9QCOleK008415 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1509020703; bh=/9ugvV0LWsRiz67iZmy8blFbm9MQta7la8zGoqpjxpc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nvvWPLS5lK/rrahdl7UnIZw7xOM6C88yRkaOtpbKDN1myytPnqCC8dPqTvyshQx9G Uy6pXuSPEV9XGb+F7nIi1GSvfWIgxyjululREQ6+5zA1zc+lIbMMSYXJZtIwQw3AN7 769js3kgA62dm7FnWEkPWKaZKUyqa31LXyAwWomVvL/95xXNlOKL67ZNhUuNXnTteQ VPR/1RT1TbzhnJ48BZak3HoHfOe98mVu6+G28K/HdMr5jEic+j54GS23gvW2P009zy cggbdxxndb5w0l3/65tun7clmyIHe3Lbti/G2Xvjd3Am5DuXGo2QU0HC/81mmaWnY+ 7LyrzEhssk0Qw== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Thu, 26 Oct 2017 21:24:29 +0900 Message-Id: <1509020671-1321-15-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1509020671-1321-1-git-send-email-yamada.masahiro@socionext.com> References: <1509020671-1321-1-git-send-email-yamada.masahiro@socionext.com> X-Mailman-Approved-At: Thu, 26 Oct 2017 13:22:17 +0000 Cc: Stefan Roese , Ruchika Gupta , Tom Rini , Michal Simek , Vinitha Pillai-B57223 , Wenbin Song , Jagan Teki , Siva Durga Prasad Paladugu , Thomas Petazzoni , Alexandru Gagniuc , Joe Hershberger , Fabio Estevam Subject: [U-Boot] [PATCH 14/16] net: remove CONFIG_NET_MULTI X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This macro is defined, but not referenced by anyone. I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync. Signed-off-by: Masahiro Yamada Reviewed-by: York Sun --- include/configs/am335x_shc.h | 1 - include/configs/blanche.h | 1 - include/configs/cm_t43.h | 1 - include/configs/cyrus.h | 1 - include/configs/ls1012aqds.h | 1 - include/configs/ls1012ardb.h | 1 - include/configs/ls1043a_common.h | 1 - include/configs/nsa310s.h | 1 - include/configs/pengwyn.h | 3 --- include/configs/salvator-x.h | 1 - include/configs/ulcb.h | 1 - include/configs/xilinx_zynqmp.h | 1 - 12 files changed, 14 deletions(-) diff --git a/include/configs/am335x_shc.h b/include/configs/am335x_shc.h index 2eeb3d1..32439f5 100644 --- a/include/configs/am335x_shc.h +++ b/include/configs/am335x_shc.h @@ -266,7 +266,6 @@ #define CONFIG_BOOTP_GATEWAY #define CONFIG_BOOTP_SUBNETMASK #define CONFIG_NET_RETRY_COUNT 10 -#define CONFIG_NET_MULTI #define CONFIG_PHY_ADDR 0 #define CONFIG_PHY_SMSC diff --git a/include/configs/blanche.h b/include/configs/blanche.h index 2b18033..ce7c716 100755 --- a/include/configs/blanche.h +++ b/include/configs/blanche.h @@ -65,7 +65,6 @@ #undef CONFIG_CMD_SPI #endif -#define CONFIG_NET_MULTI /* Board Clock */ #define RMOBILE_XTAL_CLK 20000000u diff --git a/include/configs/cm_t43.h b/include/configs/cm_t43.h index 7012a95..a222491 100644 --- a/include/configs/cm_t43.h +++ b/include/configs/cm_t43.h @@ -50,7 +50,6 @@ #define CONFIG_BOOTP_DEFAULT #define CONFIG_BOOTP_SEND_HOSTNAME #define CONFIG_BOOTP_GATEWAY -#define CONFIG_NET_MULTI #define CONFIG_PHY_ATHEROS #define CONFIG_SYS_RX_ETH_BUFFER 64 diff --git a/include/configs/cyrus.h b/include/configs/cyrus.h index 13e7c71..1b20d85 100644 --- a/include/configs/cyrus.h +++ b/include/configs/cyrus.h @@ -370,7 +370,6 @@ #ifdef CONFIG_PCI #define CONFIG_PCI_INDIRECT_BRIDGE -#define CONFIG_NET_MULTI #define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */ #endif /* CONFIG_PCI */ diff --git a/include/configs/ls1012aqds.h b/include/configs/ls1012aqds.h index b3121d2..2899ff1 100644 --- a/include/configs/ls1012aqds.h +++ b/include/configs/ls1012aqds.h @@ -146,7 +146,6 @@ #define CONFIG_PCIE1 /* PCIE controller 1 */ -#define CONFIG_NET_MULTI #define CONFIG_PCI_SCAN_SHOW #define CONFIG_CMD_MEMINFO diff --git a/include/configs/ls1012ardb.h b/include/configs/ls1012ardb.h index e9edcd2..c720a8d 100644 --- a/include/configs/ls1012ardb.h +++ b/include/configs/ls1012ardb.h @@ -62,7 +62,6 @@ #define CONFIG_PCIE1 /* PCIE controller 1 */ -#define CONFIG_NET_MULTI #define CONFIG_PCI_SCAN_SHOW #define CONFIG_CMD_MEMINFO diff --git a/include/configs/ls1043a_common.h b/include/configs/ls1043a_common.h index a297134..a24d006 100644 --- a/include/configs/ls1043a_common.h +++ b/include/configs/ls1043a_common.h @@ -165,7 +165,6 @@ #define CONFIG_PCIE3 /* PCIE controller 3 */ #ifdef CONFIG_PCI -#define CONFIG_NET_MULTI #define CONFIG_PCI_SCAN_SHOW #endif #endif diff --git a/include/configs/nsa310s.h b/include/configs/nsa310s.h index 896c329..9c84acc 100644 --- a/include/configs/nsa310s.h +++ b/include/configs/nsa310s.h @@ -67,7 +67,6 @@ /* Ethernet driver configuration */ #ifdef CONFIG_CMD_NET #define CONFIG_NETCONSOLE -#define CONFIG_NET_MULTI #define CONFIG_MVGBE_PORTS {1, 0} /* enable port 0 only */ #define CONFIG_PHY_BASE_ADR 1 #define CONFIG_RESET_PHY_R diff --git a/include/configs/pengwyn.h b/include/configs/pengwyn.h index 570c375..2fa280e 100644 --- a/include/configs/pengwyn.h +++ b/include/configs/pengwyn.h @@ -182,9 +182,6 @@ /* Disable CPSW SPL support so we fit within the 101KiB limit. */ #endif -/* CPSW ethernet */ -#define CONFIG_NET_MULTI - /* Network */ #define CONFIG_PHY_RESET 1 #define CONFIG_PHY_NATSEMI diff --git a/include/configs/salvator-x.h b/include/configs/salvator-x.h index 5bf5731..77a12de 100644 --- a/include/configs/salvator-x.h +++ b/include/configs/salvator-x.h @@ -25,7 +25,6 @@ /* use to RPC(SPI Multi I/O Bus Controller) */ /* Ethernet RAVB */ -#define CONFIG_NET_MULTI #define CONFIG_BITBANGMII #define CONFIG_BITBANGMII_MULTI diff --git a/include/configs/ulcb.h b/include/configs/ulcb.h index cce2456..b54e63c 100644 --- a/include/configs/ulcb.h +++ b/include/configs/ulcb.h @@ -33,7 +33,6 @@ /* use to RPC(SPI Multi I/O Bus Controller) */ /* Ethernet RAVB */ -#define CONFIG_NET_MULTI #define CONFIG_PHY_MICREL #define CONFIG_BITBANGMII #define CONFIG_BITBANGMII_MULTI diff --git a/include/configs/xilinx_zynqmp.h b/include/configs/xilinx_zynqmp.h index 1399dfd..8526ba0 100644 --- a/include/configs/xilinx_zynqmp.h +++ b/include/configs/xilinx_zynqmp.h @@ -131,7 +131,6 @@ /* Ethernet driver */ #if defined(CONFIG_ZYNQ_GEM) -# define CONFIG_NET_MULTI # define CONFIG_MII # define CONFIG_SYS_FAULT_ECHO_LINK_DOWN # define CONFIG_PHY_MARVELL From patchwork Thu Oct 26 12:24:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 830609 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=nifty.com header.i=@nifty.com header.b="wbyaj535"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3yN5yf1y3gz9t2r for ; Thu, 26 Oct 2017 23:33:29 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 641D2C21DE5; Thu, 26 Oct 2017 12:28:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 621E8C21DC5; Thu, 26 Oct 2017 12:26:06 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id A5EA3C21E50; Thu, 26 Oct 2017 12:25:56 +0000 (UTC) Received: from conuserg-09.nifty.com (conuserg-09.nifty.com [210.131.2.76]) by lists.denx.de (Postfix) with ESMTPS id 5F291C21E18 for ; Thu, 26 Oct 2017 12:25:50 +0000 (UTC) Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v9QCOleL008415; Thu, 26 Oct 2017 21:25:03 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v9QCOleL008415 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1509020704; bh=SgN0ismVrdwBBzseOSdcKdF9WixpMIB2G9NOjlmHJDY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wbyaj535UXusuiTCbmUWUZ2m//sX/Aw0DLBtApWgyKtzkhXtMj/kBjYHU9Is0zfxt 6shBDe12PgzxK8gUye5L+xEnS16DftSzIT4IriwFz4gaio73wXzQvoeGg4PW+Z0cEX kgDRvP/DIrwvy6JbZcSltAxEvZStBSo82gRVlWCAlH/kujZhFM7kG6Xvlvby315Je7 GdYe/jDJrm1SQ640pMyr1xZ8Kgu2KDW6CEVRxpvR1nLNXGb7zt2AFAHEABt9iHpT56 9iW3LrCtIqAUIS3ZulJpR0235y1Twd9NtBU9gnYZOKvGu4EBNJ+F20R01QwAPiYXxF s0g+bMmI7dl6w== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Thu, 26 Oct 2017 21:24:30 +0900 Message-Id: <1509020671-1321-16-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1509020671-1321-1-git-send-email-yamada.masahiro@socionext.com> References: <1509020671-1321-1-git-send-email-yamada.masahiro@socionext.com> Cc: Tom Rini , Maxime Ripard , Jagan Teki Subject: [U-Boot] [PATCH 15/16] exynos: remove CONFIG_LCD_MENU_BOARD X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This macro is defined, but not referenced by anyone. I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync. Signed-off-by: Masahiro Yamada Acked-by: Minkyu Kang --- include/configs/s5pc210_universal.h | 1 - include/configs/trats.h | 1 - include/configs/trats2.h | 1 - 3 files changed, 3 deletions(-) diff --git a/include/configs/s5pc210_universal.h b/include/configs/s5pc210_universal.h index 9859f30..7ecaefb 100644 --- a/include/configs/s5pc210_universal.h +++ b/include/configs/s5pc210_universal.h @@ -170,7 +170,6 @@ int universal_spi_read(void); /* Download menu - Samsung common */ #define CONFIG_LCD_MENU -#define CONFIG_LCD_MENU_BOARD /* Download menu - definitions for check keys */ #ifndef __ASSEMBLY__ diff --git a/include/configs/trats.h b/include/configs/trats.h index 5b33a3b..a34c349 100644 --- a/include/configs/trats.h +++ b/include/configs/trats.h @@ -180,7 +180,6 @@ /* Download menu - Samsung common */ #define CONFIG_LCD_MENU -#define CONFIG_LCD_MENU_BOARD /* Download menu - definitions for check keys */ #ifndef __ASSEMBLY__ diff --git a/include/configs/trats2.h b/include/configs/trats2.h index 95c011f..6b371f4 100644 --- a/include/configs/trats2.h +++ b/include/configs/trats2.h @@ -162,7 +162,6 @@ /* Download menu - Samsung common */ #define CONFIG_LCD_MENU -#define CONFIG_LCD_MENU_BOARD /* Download menu - definitions for check keys */ #ifndef __ASSEMBLY__ From patchwork Thu Oct 26 12:24:31 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 830610 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=nifty.com header.i=@nifty.com header.b="ndW9AN+W"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3yN5zk26xXz9t2r for ; Thu, 26 Oct 2017 23:34:26 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 02109C21D8D; Thu, 26 Oct 2017 12:30:17 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 8B251C21E39; Thu, 26 Oct 2017 12:26:24 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id C0821C21DCE; Thu, 26 Oct 2017 12:25:51 +0000 (UTC) Received: from conuserg-09.nifty.com (conuserg-09.nifty.com [210.131.2.76]) by lists.denx.de (Postfix) with ESMTPS id 21258C21E08 for ; Thu, 26 Oct 2017 12:25:38 +0000 (UTC) Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v9QCOleM008415; Thu, 26 Oct 2017 21:25:04 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v9QCOleM008415 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1509020705; bh=GPgr4/NQRPsd2R85xrq6bpvdNswpTQc1FUkFKOlX/V4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ndW9AN+WKY/CiDL1cVq6C/S5FJtgfCHFypmFv/bw62DFde7d9DNg8AfRdyySuQVmL wn3SCIH2QAckT6GB6ogbQLFanRLscFcOvkolBJK+vDnxWNKqAkMpLBWfA9aWclCyCt XLQ59nUO93DQkIVaZfuQIIg+KhLwmOpSyy0q3jIYFJ2NZh4q6Z4CdrQ03SixdfscPO U4u1X1eukkSuZXplvO3smIu4V1raf/jL3SIe4Ptw39DZz9kYEWBw2Np5LkFs6ZBCvv em9+33x+sV9LscnQcq5cWU3YtMfKjOdYTYIKxWfUkS99neIHb3qpV5AL9OU9Ld4UX/ o9bYJF0t8OqZA== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Thu, 26 Oct 2017 21:24:31 +0900 Message-Id: <1509020671-1321-17-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1509020671-1321-1-git-send-email-yamada.masahiro@socionext.com> References: <1509020671-1321-1-git-send-email-yamada.masahiro@socionext.com> Cc: Thomas Petazzoni , Tom Rini Subject: [U-Boot] [PATCH 16/16] AT91: remove CONFIG_PMECC_INDEX_TABLE_OFFSET X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This macro is defined, but not referenced by anyone. I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync. Signed-off-by: Masahiro Yamada --- include/configs/at91sam9n12ek.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/at91sam9n12ek.h b/include/configs/at91sam9n12ek.h index 111a7dc..67115f9 100644 --- a/include/configs/at91sam9n12ek.h +++ b/include/configs/at91sam9n12ek.h @@ -72,7 +72,6 @@ #define CONFIG_ATMEL_NAND_HW_PMECC #define CONFIG_PMECC_CAP 2 #define CONFIG_PMECC_SECTOR_SIZE 512 -#define CONFIG_PMECC_INDEX_TABLE_OFFSET 0x8000 #define CONFIG_MTD_PARTITIONS #define CONFIG_MTD_DEVICE