1. 18 2月, 2017 1 次提交
  2. 13 2月, 2017 1 次提交
    • M
      flash: complete CONFIG_SYS_NO_FLASH move with renaming · e856bdcf
      Masahiro Yamada 提交于
      We repeated partial moves for CONFIG_SYS_NO_FLASH, but this is
      not completed. Finish this work by the tool.
      
      During this move, let's rename it to CONFIG_MTD_NOR_FLASH.
      Actually, we have more instances of "#ifndef CONFIG_SYS_NO_FLASH"
      than those of "#ifdef CONFIG_SYS_NO_FLASH".  Flipping the logic will
      make the code more readable.  Besides, negative meaning symbols do
      not fit in obj-$(CONFIG_...) style Makefiles.
      
      This commit was created as follows:
      
      [1] Edit "default n" to "default y" in the config entry in
          common/Kconfig.
      
      [2] Run "tools/moveconfig.py -y -r HEAD SYS_NO_FLASH"
      
      [3] Rename the instances in defconfigs by the following:
        find . -path './configs/*_defconfig' | xargs sed -i \
        -e '/CONFIG_SYS_NO_FLASH=y/d' \
        -e 's/# CONFIG_SYS_NO_FLASH is not set/CONFIG_MTD_NOR_FLASH=y/'
      
      [4] Change the conditionals by the following:
        find . -name '*.[ch]' | xargs sed -i \
        -e 's/ifndef CONFIG_SYS_NO_FLASH/ifdef CONFIG_MTD_NOR_FLASH/' \
        -e 's/ifdef CONFIG_SYS_NO_FLASH/ifndef CONFIG_MTD_NOR_FLASH/' \
        -e 's/!defined(CONFIG_SYS_NO_FLASH)/defined(CONFIG_MTD_NOR_FLASH)/' \
        -e 's/defined(CONFIG_SYS_NO_FLASH)/!defined(CONFIG_MTD_NOR_FLASH)/'
      
      [5] Modify the following manually
        - Rename the rest of instances
        - Remove the description from README
        - Create the new Kconfig entry in drivers/mtd/Kconfig
        - Remove the old Kconfig entry from common/Kconfig
        - Remove the garbage comments from include/configs/*.h
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      e856bdcf
  3. 10 2月, 2017 7 次提交
  4. 09 2月, 2017 6 次提交
  5. 07 2月, 2017 3 次提交
    • B
      x86: qemu: Add a config for 64-bit U-Boot · bda40d56
      Bin Meng 提交于
      Add a new board config which uses 64-bit U-Boot. Supported features
      are the same as the other 64-bit board (Google Chromebook Link).
      It is a start for us to test 64-bit U-Boot easily without the need
      to access a real hardware.
      
      Note CONFIG_SPL_ENV_SUPPORT is required for QEMU 64-bit as without
      this the SPL build fails at the end. This is just a workaround as
      CONFIG_SPL_ENV_SUPPORT is not needed at all.
      
      common/built-in.o:(.data.env_htab+0xc): undefined reference to 'env_flags_validate'
      lib/built-in.o: In function `hsearch_r':
      lib/hashtable.c:380: undefined reference to 'env_callback_init'
      lib/hashtable.c:382: undefined reference to 'env_flags_init'
      make[1]: *** [spl/u-boot-spl] Error 1
      
      Except those SPL options required by 64-bit, compared to 32-bit
      config, the following options are different:
      
      - CONFIG_SYS_MALLOC_F_LEN has to be increased to 0x1000 for SPL.
      - CONFIG_DEBUG_UART has to be included due to the weird issue.
        See TODO comments in arch/x86/cpu/x86_64/cpu.c:arch_setup_gd().
        Once this issue gets fixed, debug uart can be optional.
      Signed-off-by: NBin Meng <bmeng.cn@gmail.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      bda40d56
    • S
      x86: link: Add a config for 64-bit U-Boot · fda4eb48
      Simon Glass 提交于
      Add a new board config which uses 64-bit U-Boot. This is not fully
      functional but is it a start. Missing features:
      
      - SDRAM sizing
      - Booting linux
      - EFI support
      - SCSI device init
      (and others)
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      Reviewed-by: NBin Meng <bmeng.cn@gmail.com>
      fda4eb48
    • S
      x86: link: Set up device tree for SPL · 6935dc1b
      Simon Glass 提交于
      Add the correct pre-relocation tag so that the required device tree nodes
      are present in the SPL device tree.
      
      On x86 it doesn't make a lot of sense to have a separate SPL device tree.
      Since everything is in the same ROM we might as well just use the main
      device tree in both SPL and U-Boot proper. But we haven't implemented that,
      so this is a good first step.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      Reviewed-by: NBin Meng <bmeng.cn@gmail.com>
      6935dc1b
  6. 04 2月, 2017 1 次提交
  7. 31 1月, 2017 7 次提交
  8. 30 1月, 2017 1 次提交
  9. 29 1月, 2017 6 次提交
  10. 28 1月, 2017 7 次提交