Skip to content
Snippets Groups Projects
  1. Apr 23, 2014
  2. Apr 18, 2014
    • Tom Rini's avatar
      ARM:tegra20: Remove aes debug prints · b149c4c3
      Tom Rini authored
      
      In 6e7b9f4f some of the debug prints for AES code moved into the generic
      code, so we remove these additional calls.
      
      Signed-off-by: default avatarTom Rini <trini@ti.com>
      Acked-by: default avatarTom Warren <twarren@nvidia.com>
      b149c4c3
    • Stephen Warren's avatar
      aes: make apply_cbc_chain_data non-static · 53eb768d
      Stephen Warren authored
      
      Tegra's crypto.c uses apply_cbc_chain_data() to sign the warm restart
      code. This function was recently moved into the core aes.c and made
      static, which prevents the Tegra code from compiling. Make it public
      again to avoid the compile errors:
      
      arch/arm/cpu/tegra20-common/crypto.c: In function ‘sign_object’:
      arch/arm/cpu/tegra20-common/crypto.c:74:3: warning: implicit declaration of function ‘apply_cbc_chain_data’ [-Wimplicit-function-declaration]
      arch/arm/cpu/built-in.o: In function `sign_object':
      .../arch/arm/cpu/tegra20-common/crypto.c:74: undefined reference to `apply_cbc_chain_data'
      .../arch/arm/cpu/tegra20-common/crypto.c:78: undefined reference to `apply_cbc_chain_data'
      
      Fixes: 6e7b9f4f ("aes: Move the AES-128-CBC encryption function to common code")
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
      Acked-by: default avatarMarek Vasut <marex@denx.de>
      53eb768d
    • Jon Loeliger's avatar
      build: Use filechk rules to create and update u-boot.lds · a8b993eb
      Jon Loeliger authored
      
      Prior to this patch, the top-level linker script u-boot.lds
      used a simple $(call if_changed) check when generated.
      That mechanism misses cases where a possible include file
      change induces a change in the u-boot.lds too.
      
      This patch converts it to a stronger check using ($call filechk)
      that will also notice differences in file contents and
      will catch changes due to pre-processing as well.
      
      Signed-off-by: default avatarJon Loeliger <jon.loeliger@oracle.com>
      a8b993eb
    • Daniel Schwierzeck's avatar
      buildman: make output dir configurable · e0ba9299
      Daniel Schwierzeck authored
      
      Add an option to specify the output directory to override the
      default path '../'. This is useful for building in a ramdisk.
      
      Signed-off-by: default avatarDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      e0ba9299
    • David Müller (ELSOFT AG)'s avatar
    • Kees Cook's avatar
      bootm: set max decompression size for LZO · 77cc8902
      Kees Cook authored
      
      The LZO decompressor wasn't initializing the maximum output size, which
      meant it would fail to decompress most of the time.
      
      Reported-by: default avatarMatthias Weißer <weisserm@arcor.de>
      Signed-off-by: default avatarKees Cook <keescook@chromium.org>
      Tested-by: default avatarMatthias Weißer <weisserm@arcor.de>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      77cc8902
    • Masahiro Yamada's avatar
      kbuild: add user-supplied CPPFLAGS, AFLAGS and CFLAGS · 0e6256d0
      Masahiro Yamada authored
      
      Like Linux Kernel, this commit provides environment variables
      KCPPFLAGS, KAFLAGS and KCFLAGS, which are useful to pass
      additional options.
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      0e6256d0
    • Masahiro Yamada's avatar
      kbuild: docbook: sync with Linux Kernel v3.15-rc1 · 71ba2458
      Masahiro Yamada authored
      
      This commit imports DocBook-related updates
      from v3.14 to v3.15-rc1.
      
       - commit ec3fadd64b9940baa2a369bf978e8561837db3f5
          kbuild: docbook: use $(obj) and $(src) rather than specific path
       - commit 100da4c0150c97ce34d4d3b38bf2f5449b05ae4f
          kbuild: docbook: specify KERNELDOC dependency correctly
       - commit 6f89b9c1d6b29eaa600ac4a8ac1314b0d06f15e3
          kbuild: docbook: include cmd files more simply
       - commit ac6d662a95a6989d83b259ccf8ec01dd7903af73
          doc: Add "*.svg" to DocBook/.gitignore
       - commit 832919bfcf0cfd75767c68b0c61f7cf48be860a8
          DocBook: Make mandocs parallel-safe
       - commit c4d79a4799719f2b0cd354ee498aad605730c97e
          work around xmlto bug in htmldocs
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      71ba2458
    • Masahiro Yamada's avatar
      kbuild: sync with Linux Kernel v3.15-rc1 · 598e2d33
      Masahiro Yamada authored
      
      This commit imports Kbuild-related updates
      from v3.14 to v3.15-rc1.
      
       - commit 3d3d6b8474204b6819688c9800774d52d370a538
          kbuild: LLVMLinux: Adapt warnings for compilation with clang
       - commit 61163efae02040f66a95c8ed17f4407951ba58fa
          kbuild: LLVMLinux: Add Kbuild support for building kernel with Clang
       - commit 79192ca8ebd9a25c583aa46024a250fef1e7766f
          scripts: objdiff: detect object code changes between two commits
       - commit 1c9e70a55b088d97a59241744fe459409d0c3582
          kbuild: create a build directory automatically for out-of-tree build
       - commit a03fcb50e816a69acffb13b5e56db75063aeba8a
          kbuild: remove redundant '.*.cmd' pattern from make distclean
       - commit 13338935f1574a2dcd1c891461b0dcc42f8cff42
          kbuild: move "quote" to Kbuild.include to be consistent
       - commit bfdfaeae500a3b194b73b01e92a8034791a58b7f
          kbuild: specify build_docproc as a phony target
       - commit f4d4ffc03efc864645b990e1d579bbe1b8e358a4
          kbuild: dtbs_install: new make target
       - commit 1e64ff42ea3d8d2fc8aa71f9717b3c1cb6c2f893
          Kbuild, lto: Disable LTO for asm-offsets.c
       - commit ccbef1674a1579842c7dbdf554efca85d2cd245a
          Kbuild, lto: add ld-version and ld-ifversion macros
       - commit ae63b2d7bdd9bd66b88843be0daf8e37d8f0b574
          scripts/tags.sh: Ignore *.mod.c
       - commit e36aaea28972c57a32a3ba5365e61633739719b9
          kbuild: Fix silent builds with make-4
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      598e2d33
    • Paul Burton's avatar
      pcnet: force ordering of descriptor accesses · 6fb49e4a
      Paul Burton authored
      
      The ordering of accesses to the rx & tx descriptors is important, yet
      the send & recv functions accessed them via regular structure accesses.
      This leaves the compiler with the opportunity to reorder those accesses
      or to hoist them outside of loops. Prevent that from happening by using
      readl & writel to access the descriptors. As a nice bonus, this removes
      the need for the driver to care about endianness.
      
      Signed-off-by: default avatarPaul Burton <paul.burton@imgtec.com>
      6fb49e4a
    • Paul Burton's avatar
      pcnet: align rx buffers for cache invalidation · a354ddc3
      Paul Burton authored
      
      The RX buffers are invalidated when a packet is received, however they
      were not suitably cache-line aligned. Allocate them seperately to the
      pcnet_priv structure and align to ARCH_DMA_MINALIGN in order to ensure
      suitable alignment for the cache invalidation, preventing anything else
      being placed in the same lines & lost.
      
      Signed-off-by: default avatarPaul Burton <paul.burton@imgtec.com>
      a354ddc3
    • Paul Burton's avatar
      pcnet: access descriptor rings & init block uncached · f1ae382d
      Paul Burton authored
      
      The prior accesses to the descriptor rings & init block via cached
      memory had a few issues:
      
        - The memory needs cache flushes or invalidation at the appropriate
          times, but was not necessarily aligned on cache line boundaries.
          This could lead to data being incorrectly lost or written back to
          RAM at the wrong time.
      
        - There are points where ordering of writes to the memory is
          important, but because it's cached memory the pcnet controller
          would see cache lines written back ordered by address. This could
          occasionally lead to hardware seeing descriptors in an incorrect
          state.
      
        - Flushing the cache constantly is inefficient.
      
      So, to avoid all of those issues simply access the descriptors & init
      block via uncached memory. The MIPS-specific UNCACHED_SDRAM macro is
      used to do this (retrieving an address in kseg1) as I could see no
      existing generic solution. Since the MIPS Malta board is the only user
      of the pcnet driver, hopefully this doesn't matter.
      
      Signed-off-by: default avatarPaul Burton <paul.burton@imgtec.com>
      f1ae382d
    • Łukasz Majewski's avatar
      doc:power:pmic: Add doc entry for PMIC(v2) framework · ccfc89cb
      Łukasz Majewski authored
      
      Well written documentation for PMIC framework was missing and hence
      it has been probably difficult and time consuming for other developers
      to understand rationale for key design decisions and overall design
      structure.
      This commit provides proper documentation entry.
      
      Signed-off-by: default avatarLukasz Majewski <l.majewski@samsung.com>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      ccfc89cb
    • Paul Burton's avatar
      board_r: return 0 from show_model_r · c4474fc8
      Paul Burton authored
      
      The show_model_r function should return an int but didn't. Return 0 to
      indicate inevitable success and avoid the following if it is used:
      
      common/board_r.c: In function 'show_model_r':
      common/board_r.c:531:1: warning: no return statement in function returning non-void [-Wreturn-type]
       }
       ^
      
      Cc: Simon Glass <sjg@chromium.org>
      Signed-off-by: default avatarPaul Burton <paul.burton@imgtec.com>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      c4474fc8
    • Masahiro Yamada's avatar
      arm: remove lubbock board support · 36bf57b6
      Masahiro Yamada authored
      
      Enough time has passed since this board was moved to Orphan. Remove.
      
       - Remove board/lubbock/*
       - Remove include/configs/lubbock.h
       - Cleanup defined(CONFIG_LUBBOCK)
       - Move the entry from boards.cfg to doc/README.scrapyard
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      36bf57b6
Loading