Skip to content
Snippets Groups Projects
  1. Apr 18, 2014
    • 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
    • Masahiro Yamada's avatar
      powerpc: remove EVB64260 board support · bb3aef9c
      Masahiro Yamada authored
      
      Enough time has passed since this board was moved to Orphan. Remove.
      
       - Remove include/configs/EVB64260.h
       - Remove the entry from boards.cfg
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      bb3aef9c
    • Masahiro Yamada's avatar
      powerpc: remove MOUSSE board support · 03f2ecc2
      Masahiro Yamada authored
      
      Enough time has passed since this board was moved to Orphan. Remove.
      
       - Remove board/mousse/*
       - Remove include/configs/MOUSSE.h
       - Clean-up defined(CONFIG_MOUSSE)
       - Move the entry from boards.cfg to doc/README.scrapyard
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      03f2ecc2
    • Masahiro Yamada's avatar
      powerpc: remove rsdproto board support · 8b043e6d
      Masahiro Yamada authored
      
      Enough time has passed since this board was moved to Orphan. Remove.
      
       - Remove board/rsdproto/*
       - Remove include/configs/rsdproto.h
       - Move the entry from boards.cfg to doc/README.scrapyard
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      8b043e6d
    • Masahiro Yamada's avatar
      powerpc: remove RPXsuper board support · 0ebf5f5c
      Masahiro Yamada authored
      
      Enough time has passed since this board was moved to Orphan. Remove.
      
       - Remove board/rpxsuper/*
       - Remove include/configs/RPXsuper.h
       - Move the entry from boards.cfg to doc/README.scrapyard
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      0ebf5f5c
    • Masahiro Yamada's avatar
      powerpc: remove RPXClassic, RPXlite boards support · 4fb3925f
      Masahiro Yamada authored
      
      Enough time has passed since these boards were moved to Orphan. Remove.
      
       - Remove board/RPXlite/*
       - Remove board/RPXClassic/*
       - Remove include/configs/RPXlite.h
       - Remove include/configs/RPXClassic.h
       - Clean-up defined(CONFIG_RPXCLASSIC)
       - Move the entry from boards.cfg to doc/README.scrapyard
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      4fb3925f
    • Masahiro Yamada's avatar
      powerpc: remove ADS860, FADS823, FADS850SAR, FADS860T support · aa6e1e45
      Masahiro Yamada authored
      
      Enough time has passed since these boards were moved to Orphan. Remove.
      
       - Remove include/configs/{ADS860.h,FADS823.h,FADS850SAR.h,FADS860T.h}
       - Cleanup defined(CONFIG_ADS), defined(CONFIG_MPC823FADS),
         defined(CONFIG_MPC850SAR), defined(CONFIG_SYS_DAUGHTERBOARD)
       - Remove the entries from boards.cfg
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      aa6e1e45
    • Masahiro Yamada's avatar
      powerpc: remove genietv board support · b8a49bda
      Masahiro Yamada authored
      
      Enough time has passed since this board was moved to Orphan. Remove.
      
       - Remove board/genietv/*
       - Remove include/configs/GENIETV.h
       - Clean-up if defined(CONFIG_GENIETV)
       - Move the entry from boards.cfg to doc/README.scrapyard
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      b8a49bda
    • Masahiro Yamada's avatar
      powerpc: remove MBX and MBX860T boards support · d6b11fd1
      Masahiro Yamada authored
      
      Enough time has passed since these boards were moved to Orphan. Remove.
      
       - Remove board/mbx8xx/*
       - Remove include/configs/{MBX.h,MBX860T.h}
       - Clean-up if defined(CONFIG_MBX)
       - Move the entries from boards.cfg to doc/README.scrapyard
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      d6b11fd1
    • Masahiro Yamada's avatar
      powerpc: remove NX823 board support · a146e8b1
      Masahiro Yamada authored
      
      Enough time has passed since this board was moved to Orphan. Remove.
      
       - Remove board/nx823/*
       - Remove include/configs/NX823.h
       - Clean-up ifdef(CONFIG_NX823)
       - Move the entry from boards.cfg to doc/README.scrapyard
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      a146e8b1
    • Masahiro Yamada's avatar
      tools: fix Makefile to clean-up fit_info and fit_check_sign · e1b7e1e3
      Masahiro Yamada authored
      
      We should avoid the description in Makefile like this
      
      ifdef CONFIG_FIT_SIGNATURE
      hostprogs-y += fit_info$(SFX) fit_check_sign$(SFX)
      endif
      
      Otherwise, fit_info and fit_check_sign would never be cleaned
      by "make clean".
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Cc: Heiko Schocher <hs@denx.de>
      e1b7e1e3
    • Ian Campbell's avatar
      blackfin: make name_to_gpio be a weak symbol · fd11bea2
      Ian Campbell authored
      
      This required moving it into a C file from the header.
      
      The only user of a non-default name_to_gpio is blackfin, therefore build tested
      with the blackfin bct-brettl2 build, which is one I picked at random. Also
      tested with a build for the ARM tec board which uses the default/fallback
      implementation. Inspection with objdump shows that both have done the right
      thing.
      
      This change was requested by Marek during review of the sunxi patch series.
      
      Signed-off-by: default avatarIan Campbell <ijc@hellion.org.uk>
      Cc: Marek Vasut <marex@denx.de>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Sonic Zhang <sonic.adi@gmail.com>
      fd11bea2
  2. Apr 17, 2014
Loading