1config BR2_PACKAGE_SUNXI_TOOLS
2	bool "sunxi-tools"
3	depends on BR2_arm
4	help
5	  Tools for Allwinner A10 (aka sun4i) and A13 (aka sun5i)
6	  based devices.
7
8	  http://linux-sunxi.org/Sunxi-tools
9
10if BR2_PACKAGE_SUNXI_TOOLS
11
12config BR2_PACKAGE_SUNXI_TOOLS_FEXC
13	bool "sunxi-fexc (fex2bin & bin2fex)"
14	help
15	  Convert between .fex board definition files and binary
16	  format. These tools are specific for the linux-sunxi kernel
17	  and do not apply to the mainline Linux kernel version.
18
19config BR2_PACKAGE_SUNXI_TOOLS_BOOTINFO
20	bool "sunxi-bootinfo"
21	help
22	  Displays information about sunxi boot code.
23
24config BR2_PACKAGE_SUNXI_TOOLS_FEL
25	bool "sunxi-fel"
26	depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
27	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
28	select BR2_PACKAGE_DTC
29	select BR2_PACKAGE_LIBUSB
30	select BR2_PACKAGE_ZLIB
31	help
32	  The sunxi-fel command can interact with a sunxi device in
33	  fel mode. This allows do download code to memory and execute
34	  it.
35
36comment "sunxi-fel needs a toolchain w/ threads, gcc >= 4.9"
37	depends on !BR2_TOOLCHAIN_HAS_THREADS || \
38		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
39
40config BR2_PACKAGE_SUNXI_TOOLS_NAND_PART
41	bool "sunxi-nand-part"
42	default y
43	help
44	  The sunxi-nand-part command allows to repartition the internal
45	  NAND on sunxi devices.
46
47config BR2_PACKAGE_SUNXI_TOOLS_PIO
48	bool "sunxi-pio"
49	help
50	  GPIO manipulation tool for sunxi boards.
51
52config BR2_PACKAGE_SUNXI_TOOLS_MEMINFO
53	bool "sunxi-meminfo"
54	help
55	  Utility to retrieve DRAM information from registers on
56	  Allwinner SoCs. Specific for the linux-sunxi kernel - does
57	  not apply to the mainline Linux kernel version.
58
59config BR2_PACKAGE_SUNXI_TOOLS_PHOENIX_INFO
60	bool "phoenix_info"
61	help
62	  Display information about self-installing SD card images
63	  (created with Phoenix Card).
64
65	  https://linux-sunxi.org/PhoenixCard
66
67config BR2_PACKAGE_SUNXI_TOOLS_NAND_IMAGE_BUILDER
68	bool "sunxi-nand-image-builder"
69	help
70	  Creates a raw NAND image that can be read by the sunxi NAND
71	  controller.
72
73endif # BR2_PACKAGE_SUNXI_TOOLS
74