Message ID | 20230328080702.3.If27cd09c62f628a54f22cc501388bbd1dd001f19@changeid |
---|---|
State | Changes Requested |
Delegated to: | Tom Rini |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=CVEhuSdc; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Plj744FwCz1yXq for <incoming@patchwork.ozlabs.org>; Tue, 28 Mar 2023 06:09:52 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1C1E686119; Mon, 27 Mar 2023 21:09:32 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="CVEhuSdc"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D4B0A8611D; Mon, 27 Mar 2023 21:09:10 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mail-pg1-x531.google.com (mail-pg1-x531.google.com [IPv6:2607:f8b0:4864:20::531]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 9EF0886101 for <u-boot@lists.denx.de>; Mon, 27 Mar 2023 21:08:59 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-pg1-x531.google.com with SMTP id y35so5799572pgl.4 for <u-boot@lists.denx.de>; Mon, 27 Mar 2023 12:08:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1679944137; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=n75pgKuXBjITBC3lS8y/E6pK06qSiTtegStt0smz+pA=; b=CVEhuSdcwHybpdYXxQkR7KL4cLnpCHp1+VwBlVHITkiLRIC5poxzAlVtH2h+a/1VPL /z9Ni+0pB1RVPr0hGj/4pxnMy93ynEVQYcKsJqggGGbQU93mp+bRBNSVH31K58KVmkQ0 i5ZhmNCaVX9Tflz/lj8oqg1WJ9tgdJcUxVvHk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679944137; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=n75pgKuXBjITBC3lS8y/E6pK06qSiTtegStt0smz+pA=; b=LuYHFCqkiS+zFh2605NL98467olt9eLpaGo7s89fWrwme3sn4lSL5PLU5xnUh3LyFd 43dCuwn1CnjmChssSvaRxJRrl3gaUzGTBC3V8IHIf1hw9FUbimUZv1xDUTSr8RWnItJR 6xzs08gU9pFpfmdf3getgxm1ThPcOWIjEdws7Shtb8n/ERKqvBKswJLU0M5bx9VA1PrX BUeS8nvizIyeoBMeBb6ZozRWgAy5tXIwtzC9u1qYu7GREdmbJlgs/Zaz3HgvM2vg5pfe E+Y3Jc4VSgBn0fnY9+TsSjUEc1e4E+qDRc/ekbwDJg5+XzY0CkAf9ZWqyiwxqSjfUIQO aGLQ== X-Gm-Message-State: AAQBX9d1Pkuln4tWG1NSNKfdohQDJbGFJzP6pyE8Ecssx3dbMt07MJS3 UokzIlp7gVlDqNuv6ub21Faz74dIfctmz+B7Jac= X-Google-Smtp-Source: AKy350Z3TeWGZ4x7ranDILKXoDbMk0/gfgR9ZzkXnnfLyhxJZggoo816m8X4LgeY+kIEZxatidQJAQ== X-Received: by 2002:a62:1bc4:0:b0:61d:e10f:4e70 with SMTP id b187-20020a621bc4000000b0061de10f4e70mr11952595pfb.0.1679944137743; Mon, 27 Mar 2023 12:08:57 -0700 (PDT) Received: from localhost.localdomain ([27.110.126.54]) by smtp.gmail.com with ESMTPSA id d9-20020aa78e49000000b005cd81a74821sm15653334pfr.152.2023.03.27.12.08.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Mar 2023 12:08:57 -0700 (PDT) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Cc: Bin Meng <bmeng.cn@gmail.com>, Simon Glass <sjg@chromium.org>, AKASHI Takahiro <takahiro.akashi@linaro.org>, Dzmitry Sankouski <dsankouski@gmail.com>, Ilias Apalodimas <ilias.apalodimas@linaro.org>, Ovidiu Panait <ovpanait@gmail.com>, Rasmus Villemoes <rasmus.villemoes@prevas.dk>, Stefan Roese <sr@denx.de> Subject: [PATCH 03/30] ide: Drop CONFIG_START_IDE Date: Tue, 28 Mar 2023 08:06:50 +1300 Message-Id: <20230328080702.3.If27cd09c62f628a54f22cc501388bbd1dd001f19@changeid> X-Mailer: git-send-email 2.40.0.348.gf938b09366-goog In-Reply-To: <20230327190717.1796230-1-sjg@chromium.org> References: <20230327190717.1796230-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean |
Series |
ide: Clean up code and fix a few bugs
|
expand
|
diff --git a/common/board_r.c b/common/board_r.c index 6b4180b3ecde..7076af64f5de 100644 --- a/common/board_r.c +++ b/common/board_r.c @@ -523,12 +523,7 @@ static int initr_post(void) static int initr_ide(void) { puts("IDE: "); -#if defined(CONFIG_START_IDE) - if (board_start_ide()) - ide_init(); -#else ide_init(); -#endif return 0; } #endif diff --git a/include/ide.h b/include/ide.h index 58f6640c61be..9c0d40364a8f 100644 --- a/include/ide.h +++ b/include/ide.h @@ -47,11 +47,4 @@ void ide_output_data_shorts(int dev, ushort *sect_buf, int shorts); void ide_led(uchar led, uchar status); -/** - * board_start_ide() - Start up the board IDE interfac - * - * Return: 0 if ok - */ -int board_start_ide(void); - #endif /* _IDE_H */
This is not used by any board. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> --- common/board_r.c | 5 ----- include/ide.h | 7 ------- 2 files changed, 12 deletions(-)