]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/configs/socfpga_cyclone5.h
karo: cleanup after merge of v2015.10-rc2
[karo-tx-uboot.git] / include / configs / socfpga_cyclone5.h
index db38de7fe2931a39d795b47507a5a5161a6f462e..9e733e5c48750f6befbc79eca85abbf9f7e54809 100644 (file)
@@ -3,6 +3,8 @@
  *
  * SPDX-License-Identifier:    GPL-2.0+
  */
+#ifndef __CONFIG_SOCFPGA_CYCLONE5_H__
+#define __CONFIG_SOCFPGA_CYCLONE5_H__
 
 #include <asm/arch/socfpga_base_addrs.h>
 
@@ -36,6 +38,7 @@
 #define CONFIG_BOOTDELAY       3
 #define CONFIG_BOOTFILE                "zImage"
 #define CONFIG_BOOTARGS                "console=ttyS0," __stringify(CONFIG_BAUDRATE)
+#ifdef CONFIG_SOCFPGA_VIRTUAL_TARGET
 #define CONFIG_BOOTCOMMAND     "run ramboot"
 #else
 #define CONFIG_BOOTCOMMAND     "run mmcload; run mmcboot"
@@ -91,3 +94,4 @@
 /* The rest of the configuration is shared */
 #include <configs/socfpga_common.h>
 
+#endif /* __CONFIG_SOCFPGA_CYCLONE5_H__ */