]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
petalinux: Enable fpga command for zynq
authorMichal Simek <michal.simek@xilinx.com>
Mon, 11 Feb 2013 10:45:50 +0000 (11:45 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 12 Feb 2013 09:34:32 +0000 (10:34 +0100)
fpga command provides an option to configure
programmable logic on zynq.
Enabling this option adds +3kB.

Usage:
tftp 10000000 fpga.bin
fpga info 0
fpga load 0 10000000 ${filesize}

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
include/configs/petalogix-arm-auto.h

index 95a380519ef0bee348f235b52ad4179db124fba4..de9f999952640c24e5f1ef85a4af6dd1af221d35 100644 (file)
                                                CONFIG_SYS_INIT_RAM_SIZE - \
                                                GENERATED_GBL_DATA_SIZE)
 
+/* Enable the PL to be downloaded */
+#define CONFIG_FPGA
+#define CONFIG_FPGA_XILINX
+#define CONFIG_FPGA_ZYNQPL
+#define CONFIG_CMD_FPGA
+
 /* Get common PetaLinux board setup */
 #include <configs/petalinux-auto-board.h>