From: Luke Kenneth Casson Leighton Date: Sat, 9 May 2020 09:59:13 +0000 (+0100) Subject: [libre-riscv-dev] pinmux to generate interfaces (with no pinmux) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3ecd6965f7a063a981650bf57bfa1c7cd9030dfe;p=libre-riscv-dev.git [libre-riscv-dev] pinmux to generate interfaces (with no pinmux) --- diff --git a/29/3a78eb40fca5e05f3787850cc4c24746463a0f b/29/3a78eb40fca5e05f3787850cc4c24746463a0f new file mode 100644 index 0000000..53551e1 --- /dev/null +++ b/29/3a78eb40fca5e05f3787850cc4c24746463a0f @@ -0,0 +1,158 @@ +Return-path: +Envelope-to: publicinbox@libre-riscv.org +Delivery-date: Sat, 09 May 2020 10:59:49 +0100 +Received: from localhost ([::1] helo=libre-riscv.org) + by libre-soc.org with esmtp (Exim 4.89) + (envelope-from ) + id 1jXMGq-00063Y-Dh; Sat, 09 May 2020 10:59:48 +0100 +Received: from lkcl.net ([217.147.94.29]) + by libre-soc.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) + (Exim 4.89) (envelope-from ) id 1jXMGo-00063S-Ra + for libre-riscv-dev@lists.libre-riscv.org; Sat, 09 May 2020 10:59:46 +0100 +DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lkcl.net; + s=201607131; + h=Content-Type:To:Subject:Message-ID:Date:From:In-Reply-To:References:MIME-Version; + bh=Zirk9NR5KkOaPY/xNQKlBWFsy/MyUeyyTigXT3PIFIU=; + b=dpjQqF8VExIdPc2C705dqqr/NjbKiB2VUP2QJ8jOVsATN5yjw28lTKyVQYaQlgKTCklZpr6FgC/Hvr5+pnbbpQ+SJ12ImnEGwjx/YRn1SgCXd2L/Kqgy6DYWO4dVgU+uhZfq1w5qaOLf6nM+4Vvidq/23TYcugfjnVT4S4qJbVM=; +Received: from mail-lj1-f170.google.com ([209.85.208.170]) + by lkcl.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) + (Exim 4.84_2) (envelope-from ) id 1jXMGo-0007lC-Ga + for libre-riscv-dev@lists.libre-riscv.org; Sat, 09 May 2020 09:59:46 +0000 +Received: by mail-lj1-f170.google.com with SMTP id o14so3209768ljp.4 + for ; + Sat, 09 May 2020 02:59:30 -0700 (PDT) +X-Gm-Message-State: AOAM532s5okTsl3Rg67YEKSpT34hlf384cUKr3YcRGCzF60hWGOLOYA5 + X/IOUeFSU3HpHAKkz6hnBefdOBkFZKMGtJUfKQk= +X-Google-Smtp-Source: ABdhPJzkhgg+ImbUba+m8MwdxkoFk0in0iBLwTsj4pSKclxChA7gGIXeHDxXUNBC3fDMNhRMCKTIyi2dJRg/CLp5AH4= +X-Received: by 2002:a2e:2a42:: with SMTP id q63mr4078631ljq.81.1589018365226; + Sat, 09 May 2020 02:59:25 -0700 (PDT) +MIME-Version: 1.0 +References: <03434024-098A-425F-9A16-335235A9A93B@gatech.edu> + + + + +In-Reply-To: +From: Luke Kenneth Casson Leighton +Date: Sat, 9 May 2020 10:59:13 +0100 +X-Gmail-Original-Message-ID: +Message-ID: +To: Libre-RISCV General Development +Subject: [libre-riscv-dev] pinmux to generate interfaces (with no pinmux) +X-BeenThere: libre-riscv-dev@lists.libre-riscv.org +X-Mailman-Version: 2.1.23 +Precedence: list +List-Id: Libre-RISCV General Development + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +Reply-To: Libre-RISCV General Development + +Content-Type: text/plain; charset="utf-8" +Content-Transfer-Encoding: base64 +Errors-To: libre-riscv-dev-bounces@lists.libre-riscv.org +Sender: "libre-riscv-dev" + +dHJhbnNmZXJyaW5nIHRoaXMgdG8gdGhlIGxpc3QKCmh0dHBzOi8vZ2l0LmxpYnJlLXNvYy5vcmcv +P3A9cGlubXV4LmdpdAoKCk9uIFNhdCwgTWF5IDksIDIwMjAgYXQgOTo0MSBBTSBMdWtlIEtlbm5l +dGggQ2Fzc29uIExlaWdodG9uCjxsa2NsQGxrY2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