1. 18 4月, 2017 3 次提交
    • S
      armv8: ls1046ardb: SPL size reduction · a52ff334
      Sumit Garg 提交于
      Using changes in this patch we were able to reduce approx 4k
      size of u-boot-spl.bin image. Following is breif description of
      changes to reduce SPL size:
      1. Changes in board/freescale/ls1046ardb/Makefile to remove
         compilation of eth.c and cpld.c in case of SPL build.
      2. Changes in board/freescale/ls1046ardb/ls1046ardb.c to keep
         only ddr_init and board_early_init_f funcations in case of SPL
         build.
      3. Changes in ls1046a_common.h & ls1046ardb.h to remove driver
         specific macros due to which static data was being compiled in
         case of SPL build.
      4. Disable MMC driver from bieng compiled in case of SPL NAND
         build and NAND driver from bieng compiled in case of SPL MMC build.
      Signed-off-by: NVinitha Pillai <vinitha.pillai@nxp.com>
      Signed-off-by: NSumit Garg <sumit.garg@nxp.com>
      Reviewed-by: NYork Sun <york.sun@nxp.com>
      a52ff334
    • S
      armv8: ls1043ardb: SPL size reduction · 4139b170
      Sumit Garg 提交于
      Using changes in this patch we were able to reduce approx 10k
      size of u-boot-spl.bin image. Following is breif description of
      changes to reduce SPL size:
      1. Changes in board/freescale/ls1043ardb/Makefile to remove
         compilation of eth.c and cpld.c in case of SPL build.
      2. Changes in board/freescale/ls1043ardb/ls1043ardb.c to keep
         only ddr_init and board_early_init_f funcations in case of SPL
         build.
      3. Changes in ls1043a_common.h & ls1043ardb.h to remove driver
         specific macros due to which static data was being compiled in
         case of SPL build.
      4. Disable MMC driver from bieng compiled in case of SPL NAND
         build and NAND driver from bieng compiled in case of SPL MMC build.
      5. Remove I2C driver support from SPL in case of LS1043ARDB.
      Signed-off-by: NVinitha Pillai <vinitha.pillai@nxp.com>
      Signed-off-by: NSumit Garg <sumit.garg@nxp.com>
      Reviewed-by: NYork Sun <york.sun@nxp.com>
      4139b170
    • T
      drivers: ddr: fsl: fix unused-const-variable warnings · 97fbf26d
      Thomas Schaefer 提交于
      Depending on DDR configuration, gcc-6.x will show up unused-const-
      variable messages. Use __maybe_unused specifier for all dynamic_odt
      variable definitions to remove these warnings.
      
      Memory footprint will not increase as gcc will optimize out unused
      constants.
      Signed-off-by: NThomas Schaefer <thomas.schaefer@kontron.com>
      Signed-off-by: NYork Sun <york.sun@nxp.com>
      97fbf26d
  2. 15 4月, 2017 2 次提交
  3. 14 4月, 2017 35 次提交