Merge branch 'master' into next
[platform/kernel/u-boot.git] / include / configs / socfpga_vining_fpga.h
index 9455e4c..4bb15cf 100644 (file)
 #define PHYS_SDRAM_1_SIZE              0x40000000      /* 1GiB on VINING_FPGA */
 
 /* Booting Linux */
-#define CONFIG_SYS_BOOTM_LEN   0x2000000       /* 32 MiB */
 
 /* Extra Environment */
-#define CONFIG_HOSTNAME                        "socfpga_vining_fpga"
 
 /*
  * Active LOW GPIO buttons:
@@ -29,7 +27,7 @@
  *                            Linux system after 5 seconds
  */
 
-#define CONFIG_EXTRA_ENV_SETTINGS \
+#define CFG_EXTRA_ENV_SETTINGS \
        "verify=n\0" \
        "consdev=ttyS0\0"                                               \
        "baudrate=115200\0"                                             \
        "addargs=run addcons addmtd addmisc\0"                          \
        "ubiload="                                                      \
                "ubi part ${ubimtd} ; ubifsmount ${ubipart} ; "         \
-               "ubifsload ${kernel_addr_r} /boot/${bootfile}\0"        \
+               "ubifsload ${kernel_addr_r} /boot/${bootfile} ; "       \
+               "ubifsumount ; ubi detach\0"                            \
        "netload="                                                      \
                "tftp ${kernel_addr_r} ${hostname}/${bootfile}\0"       \
        "miscargs=nohlt panic=1\0"                                      \