Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1mN7So-0005hh-Nt for mharc-grub-devel@gnu.org; Mon, 06 Sep 2021 01:46:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45792) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mN7Sl-0005as-4y for grub-devel@gnu.org; Mon, 06 Sep 2021 01:46:35 -0400 Received: from mail-pl1-x631.google.com ([2607:f8b0:4864:20::631]:42548) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mN7Si-0004Qh-EQ for grub-devel@gnu.org; Mon, 06 Sep 2021 01:46:34 -0400 Received: by mail-pl1-x631.google.com with SMTP id n4so3246171plh.9 for ; Sun, 05 Sep 2021 22:46:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axtens.net; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=VtLhJ9YISm+Yq8TIBOl6NlWMsXCRZs4bk40Tk3EdVQc=; b=IDP+0SHQFL1LUfcNFx3S15uj3eZcC9SsWaCRG6NIkKY+r7GX4xkL18IkwhiaRjOaWf AW3HW1wjfY4oGz+0hjoFAYjI7zkTWSbUoJuGD0Dem/LYBcvTlQQWcOy8UbFyflNTkbjU gcCsCt0yrkZ08tr5GoSn6Trixs8Xx8diOOPqw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=VtLhJ9YISm+Yq8TIBOl6NlWMsXCRZs4bk40Tk3EdVQc=; b=jcBIt0h7trPddS9mDCwVt/aYmxGp/BanZRVxKSxda30DmB238Km2owbPP3zQRDk9BK moA13AZFc1Rl4Bpjg2rwGJ7hJRz8I1zTIwmpwwPTTjknPQqpAjtJhXSdrDk5OheCRYBJ TIIHvoOOk2u3HAPWNxoV7FpZR7AlPzGrc+UhHYcw8u2pEcql3PsD8CmCG6W7gVVSwx4e mbt2mILBjbeNdmy0bfyoehjIyszZ2o/p4vrFOiw3DHe20NlIpKrSh7pv/kQrZNCWJF/c Wn4SDjwt/Kf0Wlh+6qrKyaEv8VM47A9wJrERumRxv9ZlauYnG+9tD6WrpawBys8NMOII oUaA== X-Gm-Message-State: AOAM5329WeglEh+ldFBv18wFEX/aU/wG8extszvgTbLNLQNxQGqTVmrS x3R9bVUopZXXtlMSUUkPbHA9mWCJrL7IUw== X-Google-Smtp-Source: ABdhPJysa8O4P/rZ2EyWPp+dcjhQpxgtFFy4Ac6619JBPm3CeHf9i3+Zn6JZoI9ZR1SxxMhHJXQ6ew== X-Received: by 2002:a17:902:7602:b0:13a:2968:a37 with SMTP id k2-20020a170902760200b0013a29680a37mr535062pll.30.1630907190888; Sun, 05 Sep 2021 22:46:30 -0700 (PDT) Received: from localhost ([2001:4479:e200:df00:dadc:1c0c:1283:1cdb]) by smtp.gmail.com with ESMTPSA id v23sm6034670pff.155.2021.09.05.22.46.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Sep 2021 22:46:30 -0700 (PDT) From: Daniel Axtens To: grub-devel@gnu.org Cc: Daniel Axtens Subject: [PATCH 4/5] powerpc: remove GRUB_IEEE1275_FLAG_CANNOT_INTERPRET Date: Mon, 6 Sep 2021 15:46:14 +1000 Message-Id: <20210906054615.217738-4-dja@axtens.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210906054615.217738-1-dja@axtens.net> References: <20210906054615.217738-1-dja@axtens.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::631; envelope-from=dja@axtens.net; helo=mail-pl1-x631.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Sep 2021 05:46:35 -0000 Open Hack'Ware was the only user. Signed-off-by: Daniel Axtens --- grub-core/kern/ieee1275/ieee1275.c | 3 --- grub-core/net/drivers/ieee1275/ofnet.c | 12 ------------ include/grub/ieee1275/ieee1275.h | 3 --- 3 files changed, 18 deletions(-) diff --git a/grub-core/kern/ieee1275/ieee1275.c b/grub-core/kern/ieee1275/ieee1275.c index 86f81a3c4671..b7cf09c64ca2 100644 --- a/grub-core/kern/ieee1275/ieee1275.c +++ b/grub-core/kern/ieee1275/ieee1275.c @@ -398,9 +398,6 @@ grub_ieee1275_interpret (const char *command, grub_ieee1275_cell_t *catch) } args; - if (grub_ieee1275_test_flag (GRUB_IEEE1275_FLAG_CANNOT_INTERPRET)) - return -1; - INIT_IEEE1275_COMMON (&args.common, "interpret", 1, 1); args.command = (grub_ieee1275_cell_t) command; diff --git a/grub-core/net/drivers/ieee1275/ofnet.c b/grub-core/net/drivers/ieee1275/ofnet.c index ac4e62a95c95..8f038660228d 100644 --- a/grub-core/net/drivers/ieee1275/ofnet.c +++ b/grub-core/net/drivers/ieee1275/ofnet.c @@ -321,12 +321,6 @@ grub_ieee1275_alloc_mem (grub_size_t len) } args; - if (grub_ieee1275_test_flag (GRUB_IEEE1275_FLAG_CANNOT_INTERPRET)) - { - grub_error (GRUB_ERR_UNKNOWN_COMMAND, N_("interpret is not supported")); - return NULL; - } - INIT_IEEE1275_COMMON (&args.common, "interpret", 2, 2); args.len = len; args.method = (grub_ieee1275_cell_t) "alloc-mem"; @@ -354,12 +348,6 @@ grub_ieee1275_free_mem (void *addr, grub_size_t len) } args; - if (grub_ieee1275_test_flag (GRUB_IEEE1275_FLAG_CANNOT_INTERPRET)) - { - grub_error (GRUB_ERR_UNKNOWN_COMMAND, N_("interpret is not supported")); - return grub_errno; - } - INIT_IEEE1275_COMMON (&args.common, "interpret", 3, 1); args.addr = (grub_ieee1275_cell_t)addr; args.len = len; diff --git a/include/grub/ieee1275/ieee1275.h b/include/grub/ieee1275/ieee1275.h index 3d0f21ce1173..6ce347e1ce30 100644 --- a/include/grub/ieee1275/ieee1275.h +++ b/include/grub/ieee1275/ieee1275.h @@ -106,9 +106,6 @@ enum grub_ieee1275_flag /* OLPC / XO firmware hangs when accessing USB devices. */ GRUB_IEEE1275_FLAG_OFDISK_SDCARD_ONLY, - /* Open Hack'Ware stops when grub_ieee1275_interpret is used. */ - GRUB_IEEE1275_FLAG_CANNOT_INTERPRET, - /* Open Hack'Ware don't support the ANSI sequence. */ GRUB_IEEE1275_FLAG_NO_ANSI, -- 2.30.2