1. 03 6月, 2016 15 次提交
    • M
      arm: lib: Fix uldivmod.S build on Thumb2 · e64d7594
      Marek Vasut 提交于
      This assembler source won't build in Thumb2 mode, so fix it adding
      the necessary Thumb2 conditional macros from unified.h .
      
      This patch also defines CONFIG_THUMB2_KERNEL and CONFIG_ARM_ASM_UNIFIED
      which is necessary for correct build of these files both in ARM and
      Thumb mode, just like Linux does.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Tom Rini <trini@konsulko.com>
      Reviewed-by: NTom Rini <trini@konsulko.com>
      e64d7594
    • M
      arm: lib: Sync libgcc 32b division/modulo operations · c5a543ea
      Marek Vasut 提交于
      Sync the libgcc 32bit division and modulo operations with Linux 4.4.6 ,
      commit 0d1912303e54ed1b2a371be0bba51c384dd57326 . The functions in these
      four files are present in lib1funcs.S in Linux, so replace these files
      with lib1funcs.S from Linux.
      
      Since we do not support stack unwinding, instead of importing the whole
      asm/unwind.h and all the baggage, this patch defines empty UNWIND() macro
      in lib1funcs.S . Moreover, to make all of the functions available, define
      CONFIG_AEABI , which is safe, because U-Boot is always compiled with ARM
      EABI.
      
      This patch also defines CONFIG_THUMB2_KERNEL and CONFIG_ARM_ASM_UNIFIED
      which is necessary for correct build of these files both in ARM and
      Thumb mode, just like Linux does.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Tom Rini <trini@konsulko.com>
      Reviewed-by: NTom Rini <trini@konsulko.com>
      c5a543ea
    • M
      arm: lib: Sync libgcc shift operations · 06b36cb7
      Marek Vasut 提交于
      Sync the libgcc shift operations with Linux kernel 4.4.6 , commit
      0d1912303e54ed1b2a371be0bba51c384dd57326 . Syncing these three
      files is easy, as there is almost no change in them, except the
      addition of Thumb support.
      
      This patch also defines CONFIG_THUMB2_KERNEL and CONFIG_ARM_ASM_UNIFIED
      which is necessary for correct build of these files both in ARM and
      Thumb mode, just like Linux does.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Tom Rini <trini@konsulko.com>
      Reviewed-by: NTom Rini <trini@konsulko.com>
      06b36cb7
    • M
      arm: lib: Drop underscore from private libgcc filenames · 11b1a9b2
      Marek Vasut 提交于
      Drop the underscore from the filenames of files implementing libgcc
      routines. There is no functional change. This change is done to make
      sync with Linux kernel easier.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Tom Rini <trini@konsulko.com>
      Reviewed-by: NTom Rini <trini@konsulko.com>
      11b1a9b2
    • M
      arm: include: Import unified.h from Linux kernel · c0db6f8d
      Marek Vasut 提交于
      Import unified.h from Linux kernel 4.4.6 , commit
      0d1912303e54ed1b2a371be0bba51c384dd57326 . This header file contains
      macros used in libgcc functions in Linux kernel on ARM and will be
      needed for the libgcc sync.
      
      Since unified.h defines the W(instr) macro, we must drop this from
      the macro from memcpy.S , otherwise this triggers a warning about
      symbol redefinition. In order to keep the changes to unified.h to
      the minimum, tweak arch/arm/lib/Makefile such that it defines the
      CONFIG_ARM_ASM_UNIFIED macro, which places .syntax unified into all
      of the assembler files. This is mandatory.
      
      Moreover, for Thumb2 build, define CONFIG_THUMB2_KERNEL macro if and
      only if Thumb2 build is enabled. This macro is checked by unified.h
      and toggles between ARM and Thumb2 variant of the instructions in the
      assembler source files.
      
      Finally, this patch defines __LINUX_ARM_ARCH__=N macro based on the
      new CONFIG_SYS_ARM_ARCH Kconfig option. This macro selects between
      more optimal and more dense codepaths which work on armv5 and newer
      and less optimal codepaths which work on armv4 and possible armv3m.
      Tegra2 needs the same special handling as it does in arch/arm/Makefile
      to cater for the arm720t boot core.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Tom Rini <trini@konsulko.com>
      Reviewed-by: NTom Rini <trini@konsulko.com>
      c0db6f8d
    • M
      arm: config: Introduce CONFIG_SYS_ARM_ARCH · 66020a67
      Marek Vasut 提交于
      Introduce new helper Kconfig option, which is automatically set to
      the version of ARM architecture for which the U-Boot is built. This
      is useful when selecting tuning options in the libgcc imported from
      Linux kernel.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Tom Rini <trini@konsulko.com>
      Reviewed-by: NTom Rini <trini@konsulko.com>
      66020a67
    • M
      ARM: omap: Enable tiny printf on omap3_logic · e68df999
      Marek Vasut 提交于
      Enable support for tiny printf on the omap3_logic board to trim down
      the SPL size. This makes the SPL actually build again and fit into
      the SRAM.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Tom Rini <trini@konsulko.com>
      Cc: lesne@alse-fr.com
      Reviewed-by: NTom Rini <trini@konsulko.com>
      e68df999
    • M
      tiny-printf: Support sprintf() · abeb272d
      Marek Vasut 提交于
      Add a simple version of this function for SPL. It does not check the buffer
      size as this would add to the code size.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Stefan Roese <sr@denx.de>
      Cc: Tom Rini <trini@konsulko.com>
      Cc: lesne@alse-fr.com
      Reviewed-by: NTom Rini <trini@konsulko.com>
      Reviewed-by: NSylvain Lesne <lesne@alse-fr.com>
      Tested-by: NSylvain Lesne <lesne@alse-fr.com>
      abeb272d
    • M
      arm: Select CONFIG_ARM64 for Cavium ThunderX · b4ba1693
      Marek Vasut 提交于
      Select the config option, since this board is ARM64.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Tom Rini <trini@konsulko.com>
      b4ba1693
    • M
      mips: wdr4300: Move the CONFIG_USE_PRIVATE_LIBGCC to Kconfig · 35016e39
      Marek Vasut 提交于
      This fixes the last remaining libgcc warning, where the symbol was
      defined twice.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Tom Rini <trini@konsulko.com>
      Reviewed-by: NTom Rini <trini@konsulko.com>
      35016e39
    • M
      spl: Allow settings malloc_f base address · 94b9e22e
      Marek Vasut 提交于
      Allow configuring the begining of the malloc_f area in SPL.
      This patch uses the same CONFIG_MALLOC_F_ADDR established by
      the sandbox.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Tom Rini <trini@konsulko.com>
      Cc: Simon Glass <sjg@chromium.org>
      94b9e22e
    • M
      serial: 16550: Drop OMAP1510 support · 03c6f176
      Marek Vasut 提交于
      The CONFIG_OMAP1510 is no longer defined, so remove this dead code.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Tom Rini <trini@konsulko.com>
      Cc: Simon Glass <sjg@chromium.org>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      Acked-by: NNishanth Menon <nm@ti.com>
      03c6f176
    • M
      serial: 16550: Make serial_io/out_shift available to debug mode · fa4ce723
      Marek Vasut 提交于
      The ns16550 driver needs serial_in_shift() and serial_out_shift()
      when compiled in debug UART mode, so shift the DM_SERIAL check a
      little to make these functions available.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Tom Rini <trini@konsulko.com>
      Cc: Simon Glass <sjg@chromium.org>
      Reviewed-by: NTom Rini <trini@konsulko.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      fa4ce723
    • M
      gpio: mxs: Remove netdev.h · 307c0b51
      Marek Vasut 提交于
      The MXS certainly does not support any sort of networking in GPIO code,
      remove the netdev.h header.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Tom Rini <trini@konsulko.com>
      Cc: Simon Glass <sjg@chromium.org>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      307c0b51
    • M
      arm: Treat arm946es as v5te · 626f6e4f
      Marek Vasut 提交于
      The arm946es is armv5te , so use -march=armv5te instead of armv4t.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Tom Rini <trini@konsulko.com>
      626f6e4f
  2. 01 6月, 2016 1 次提交
  3. 31 5月, 2016 24 次提交