1. 09 3月, 2013 5 次提交
    • A
      mpc512x: use common code for CSx configuration · 676c6691
      Anatolij Gustschin 提交于
      Remove CSx configurations from board code and only define
      required CSx macros in the board config file to configure
      chip select windows and parameters.
      Signed-off-by: NAnatolij Gustschin <agust@denx.de>
      Cc: Reinhard Arlt <reinhard.arlt@esd-electronics.com>
      Cc: Wolfgang Denk <wd@denx.de>
      676c6691
    • A
      mpc512x: add common LAW and Chip Select configuration · b84d6d27
      Anatolij Gustschin 提交于
      Currently each mpc512x board has its own LAW and CS config code,
      we should avoid this code duplication. Allow all boards to use
      common code by only defining LAW and CS config macros like
      CONFIG_SYS_CSx_START, CONFIG_SYS_CSx_SIZE and CONFIG_SYS_CSx_CFG.
      
      Also allow common configuration of additional CS parameters by
      CONFIG_SYS_CS_ALETIMING, CONFIG_SYS_CS_BURST, CONFIG_SYS_CS_DEADCYCLE
      and CONFIG_SYS_CS_HOLDCYCLE options.
      Signed-off-by: NAnatolij Gustschin <agust@denx.de>
      b84d6d27
    • S
      mpc5200: a4m2k: Implement custom "dynamic" watchdog support · aed75484
      Stefan Roese 提交于
      This patch adds a custom U-Boot command "wdogtoggle" which enables the
      external hardware watchdog toggling via an GPIO pin on the a4m2k
      board. After issuing this commands, the watchdog will be serviced
      by U-Boot so that the user can use all U-Boot commands from the
      prompt.
      Signed-off-by: NStefan Roese <sr@denx.de>
      aed75484
    • S
      mpc5200: Add a4m2k board port · d4451d35
      Stefan Roese 提交于
      This patch adds the a4m2k MPC5200B board port. Its a derivate of
      the a3m071 board with only minor changes.
      
      Additionally this patch includes some clean-up changes:
      - Remove I2C support from a3m071 as its unused
      - Fix/enhance default env variables
      - Fix some comments
      - Add newly introduced CONFIG_SPL_TARGET to automatically build
        "u-boot-img.bin"
      - Fix dtb patching in READ desciption for SPL Linux booting:
        "fdt chosen" needs to get called to patch/create the chosen node.
      - Add missing call to spl_board_init():
        Define CONFIG_SPL_BOARD_INIT so that spl_board_init() will get
        called in the SPL version.
      Signed-off-by: NStefan Roese <sr@denx.de>
      d4451d35
    • S
      mpc5200: spl_boot.c: Change init oder to first enable printf · b4dc0bdd
      Stefan Roese 提交于
      On MPC5200, the initial RAM (and gd) is located in the internal
      SRAM. So we can actually call the preloader console init code
      before calling initdram(). This makes serial output (printf)
      available very early, even before SDRAM init, which has been
      an U-Boot priciple from day 1.
      Signed-off-by: NStefan Roese <sr@denx.de>
      b4dc0bdd
  2. 05 3月, 2013 26 次提交
  3. 04 3月, 2013 9 次提交