From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-lf0-x242.google.com ([2a00:1450:4010:c07::242]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1c62fi-00005V-9g for barebox@lists.infradead.org; Sun, 13 Nov 2016 21:50:50 +0000 Received: by mail-lf0-x242.google.com with SMTP id o20so5450474lfg.3 for ; Sun, 13 Nov 2016 13:50:21 -0800 (PST) Received: from localhost.localdomain (ppp109-252-108-239.pppoe.spdop.ru. [109.252.108.239]) by smtp.gmail.com with ESMTPSA id c2sm3977454ljb.8.2016.11.13.13.50.18 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 13 Nov 2016 13:50:18 -0800 (PST) From: Antony Pavlov Date: Mon, 14 Nov 2016 00:50:13 +0300 Message-Id: <20161113215015.9399-1-antonynpavlov@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [RFCv2 0/2] add initial RISC-V architecture support To: barebox@lists.infradead.org This patchseries adds initial RISC-V architecture support for barebox. See Documentation/boards/riscv.rst for instructions. You can obtain this patch from github: $ git clone -b 20161113.riscv https://github.com/frantony/barebox Changes since 20161013: * drop spike pk support; * add qemu-sifive board support; * add Documentation/boards/riscv.rst; * fix guard macro names. TODOs: * split patch; * use sifive timer IP-block. Antony Pavlov (2): serial: add driver for SiFive UART Add initial RISC-V architecture support Documentation/boards/riscv.rst | 63 ++++++++++++++ arch/riscv/Kconfig | 42 ++++++++++ arch/riscv/Makefile | 51 ++++++++++++ arch/riscv/boards/qemu-sifive/.gitignore | 1 + arch/riscv/boards/qemu-sifive/Makefile | 1 + arch/riscv/boards/qemu-sifive/board.c | 28 +++++++ arch/riscv/boot/Makefile | 2 + arch/riscv/boot/main_entry.c | 40 +++++++++ arch/riscv/boot/start.S | 44 ++++++++++ arch/riscv/configs/qemu-sifive_defconfig | 75 +++++++++++++++++ arch/riscv/dts/.gitignore | 1 + arch/riscv/dts/Makefile | 9 ++ arch/riscv/dts/qemu-sifive.dts | 19 +++++ arch/riscv/dts/skeleton.dtsi | 13 +++ arch/riscv/include/asm/barebox.h | 1 + arch/riscv/include/asm/bitops.h | 35 ++++++++ arch/riscv/include/asm/bitsperlong.h | 10 +++ arch/riscv/include/asm/byteorder.h | 12 +++ arch/riscv/include/asm/common.h | 6 ++ arch/riscv/include/asm/elf.h | 11 +++ arch/riscv/include/asm/io.h | 8 ++ arch/riscv/include/asm/posix_types.h | 1 + arch/riscv/include/asm/sections.h | 1 + arch/riscv/include/asm/string.h | 1 + arch/riscv/include/asm/swab.h | 6 ++ arch/riscv/include/asm/types.h | 60 ++++++++++++++ arch/riscv/include/asm/unaligned.h | 19 +++++ arch/riscv/lib/.gitignore | 1 + arch/riscv/lib/Makefile | 3 + arch/riscv/lib/asm-offsets.c | 12 +++ arch/riscv/lib/barebox.lds.S | 87 ++++++++++++++++++++ arch/riscv/lib/dtb.c | 41 ++++++++++ arch/riscv/mach-sifive/Kconfig | 16 ++++ arch/riscv/mach-sifive/Makefile | 3 + arch/riscv/mach-sifive/include/mach/debug_ll.h | 38 +++++++++ drivers/of/Kconfig | 2 +- drivers/serial/Kconfig | 3 + drivers/serial/Makefile | 1 + drivers/serial/serial_sifive.c | 109 +++++++++++++++++++++++++ 39 files changed, 875 insertions(+), 1 deletion(-) create mode 100644 Documentation/boards/riscv.rst create mode 100644 arch/riscv/Kconfig create mode 100644 arch/riscv/Makefile create mode 100644 arch/riscv/boards/qemu-sifive/.gitignore create mode 100644 arch/riscv/boards/qemu-sifive/Makefile create mode 100644 arch/riscv/boards/qemu-sifive/board.c create mode 100644 arch/riscv/boot/Makefile create mode 100644 arch/riscv/boot/main_entry.c create mode 100644 arch/riscv/boot/start.S create mode 100644 arch/riscv/configs/qemu-sifive_defconfig create mode 100644 arch/riscv/dts/.gitignore create mode 100644 arch/riscv/dts/Makefile create mode 100644 arch/riscv/dts/qemu-sifive.dts create mode 100644 arch/riscv/dts/skeleton.dtsi create mode 100644 arch/riscv/include/asm/barebox.h create mode 100644 arch/riscv/include/asm/bitops.h create mode 100644 arch/riscv/include/asm/bitsperlong.h create mode 100644 arch/riscv/include/asm/byteorder.h create mode 100644 arch/riscv/include/asm/common.h create mode 100644 arch/riscv/include/asm/elf.h create mode 100644 arch/riscv/include/asm/io.h create mode 100644 arch/riscv/include/asm/posix_types.h create mode 100644 arch/riscv/include/asm/sections.h create mode 100644 arch/riscv/include/asm/string.h create mode 100644 arch/riscv/include/asm/swab.h create mode 100644 arch/riscv/include/asm/types.h create mode 100644 arch/riscv/include/asm/unaligned.h create mode 100644 arch/riscv/lib/.gitignore create mode 100644 arch/riscv/lib/Makefile create mode 100644 arch/riscv/lib/asm-offsets.c create mode 100644 arch/riscv/lib/barebox.lds.S create mode 100644 arch/riscv/lib/dtb.c create mode 100644 arch/riscv/mach-sifive/Kconfig create mode 100644 arch/riscv/mach-sifive/Makefile create mode 100644 arch/riscv/mach-sifive/include/mach/debug_ll.h create mode 100644 drivers/serial/serial_sifive.c -- 2.10.2 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox