]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Merge remote-tracking branch 'mpc83xx/next'
authorKim Phillips <kim.phillips@freescale.com>
Thu, 17 Jan 2013 00:34:09 +0000 (18:34 -0600)
committerKim Phillips <kim.phillips@freescale.com>
Thu, 17 Jan 2013 00:34:09 +0000 (18:34 -0600)
1  2 
Makefile
README
boards.cfg

diff --combined Makefile
index 3305e8cd1c0a81bad6d79e7175b42ce869f6c5b9,7e16da94d9a3b4eeefaf0d6b40f1e32c25e91d34..51bd918475c513c29b282ef8a434946ebeacde70
+++ b/Makefile
@@@ -24,7 -24,7 +24,7 @@@
  VERSION = 2013
  PATCHLEVEL = 01
  SUBLEVEL =
 -EXTRAVERSION = -rc2
 +EXTRAVERSION =
  ifneq "$(SUBLEVEL)" ""
  U_BOOT_VERSION = $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
  else
@@@ -316,7 -316,6 +316,7 @@@ LIBS-y += arch/powerpc/cpu/mpc8xxx/lib8
  endif
  LIBS-y += drivers/rtc/librtc.o
  LIBS-y += drivers/serial/libserial.o
 +LIBS-y += drivers/sound/libsound.o
  LIBS-$(CONFIG_GENERIC_LPC_TPM) += drivers/tpm/libtpm.o
  LIBS-y += drivers/twserial/libtws.o
  LIBS-y += drivers/usb/eth/libusb_eth.o
@@@ -486,8 -485,12 +486,12 @@@ $(obj)u-boot.sha1:       $(obj)u-boot.bi
  $(obj)u-boot.dis:     $(obj)u-boot
                $(OBJDUMP) -d $< > $@
  
  $(obj)u-boot-with-spl.bin: $(obj)spl/u-boot-spl.bin $(obj)u-boot.bin
-               $(OBJCOPY) ${OBJCFLAGS} --pad-to=$(PAD_TO) -O binary $(obj)spl/u-boot-spl $(obj)spl/u-boot-spl-pad.bin
+               $(OBJCOPY) ${OBJCFLAGS} --pad-to=$(or $(CONFIG_SPL_PAD_TO),0) \
+                       -O binary $(obj)spl/u-boot-spl \
+                       $(obj)spl/u-boot-spl-pad.bin
                cat $(obj)spl/u-boot-spl-pad.bin $(obj)u-boot.bin > $@
                rm $(obj)spl/u-boot-spl-pad.bin
  
@@@ -511,7 -514,7 +515,7 @@@ $(obj)u-boot.ais:       $(obj)spl/u-boo
  ELFTOSB_TARGET-$(CONFIG_MX28) = imx28
  
  $(obj)u-boot.sb:       $(obj)u-boot.bin $(obj)spl/u-boot-spl.bin
 -              elftosb -zdf $(ELFTOSB_TARGET-y) -c $(TOPDIR)/$(CPUDIR)/$(SOC)/u-boot-$(ELFTOSB_TARGET-y).bd \
 +              elftosb -zf $(ELFTOSB_TARGET-y) -c $(TOPDIR)/$(CPUDIR)/$(SOC)/u-boot-$(ELFTOSB_TARGET-y).bd \
                        -o $(obj)u-boot.sb
  
  # On x600 (SPEAr600) U-Boot is appended to U-Boot SPL.
@@@ -869,8 -872,7 +873,8 @@@ clobber:   tid
        @rm -f $(obj)nand_spl/{u-boot-nand_spl.lds,u-boot-spl,u-boot-spl.map}
        @rm -f $(obj)spl/{u-boot-spl,u-boot-spl.bin,u-boot-spl.map}
        @rm -f $(obj)spl/{u-boot-spl.lds,u-boot.lst}
 -      @rm -f $(obj)MLO
 +      @rm -f $(obj)MLO MLO.byteswap
 +      @rm -f $(obj)SPL
        @rm -f $(obj)tools/xway-swap-bytes
        @rm -f $(obj)arch/powerpc/cpu/mpc824x/bedbug_603e.c
        @rm -f $(obj)arch/powerpc/cpu/mpc83xx/ddr-gen?.c
diff --combined README
index a33647623767f52c971e5ca2cc70c653cecf24dc,264a27fe5ebf842aabb1acca205e128934e5dd82..2352e3862bfa81f4ad2bca262cc26529ac008fd7
--- 1/README
--- 2/README
+++ b/README
@@@ -616,14 -616,6 +616,14 @@@ The following options need to be config
                boot loader that has already initialized the UART.  Define this
                variable to flush the UART at init time.
  
 +              CONFIG_SYS_NS16550_BROKEN_TEMT
 +
 +              16550 UART set the Transmitter Empty (TEMT) Bit when all output
 +              has finished and the transmitter is totally empty. U-Boot waits
 +              for this bit to be set to initialize the serial console. On some
 +              broken platforms this bit is not set in SPL making U-Boot to
 +              hang while waiting for TEMT. Define this option to avoid it.
 +
  
  - Console Interface:
                Depending on board, define exactly one serial port
                CONFIG_CMD_LOADS          loads
                CONFIG_CMD_MD5SUM         print md5 message digest
                                          (requires CONFIG_CMD_MEMORY and CONFIG_MD5)
 +              CONFIG_CMD_MEMINFO      * Display detailed memory information
                CONFIG_CMD_MEMORY         md, mm, nm, mw, cp, cmp, crc, base,
                                          loop, loopw, mtest
                CONFIG_CMD_MISC           Misc functions like sleep etc
@@@ -1495,21 -1486,6 +1495,21 @@@ CBFS (Coreboot Filesystem) suppor
                Normally display is black on white background; define
                CONFIG_SYS_WHITE_ON_BLACK to get it inverted.
  
 +              CONFIG_LCD_ALIGNMENT
 +
 +              Normally the LCD is page-aligned (tyically 4KB). If this is
 +              defined then the LCD will be aligned to this value instead.
 +              For ARM it is sometimes useful to use MMU_SECTION_SIZE
 +              here, since it is cheaper to change data cache settings on
 +              a per-section basis.
 +
 +              CONFIG_CONSOLE_SCROLL_LINES
 +
 +              When the console need to be scrolled, this is the number of
 +              lines to scroll by. It defaults to 1. Increasing this makes
 +              the console jump but can help speed up operation when scrolling
 +              is slow.
 +
                CONFIG_LCD_BMP_RLE8
  
                Support drawing of RLE8-compressed bitmaps on the LCD.
                Enables an 'i2c edid' command which can read EDID
                information over I2C from an attached LCD display.
  
 -
  - Splash Screen Support: CONFIG_SPLASH_SCREEN
  
                If this option is set, the environment is checked for
                run-time determined information about the hardware to the
                environment.  These will be named board_name, board_rev.
  
 +              CONFIG_DELAY_ENVIRONMENT
 +
 +              Normally the environment is loaded when the board is
 +              intialised so that it is available to U-Boot. This inhibits
 +              that so that the environment is not available until
 +              explicitly loaded later by U-Boot code. With CONFIG_OF_CONTROL
 +              this is instead controlled by the value of
 +              /config/load-environment.
 +
  - DataFlash Support:
                CONFIG_HAS_DATAFLASH
  
                CONFIG_SF_DEFAULT_MODE          (see include/spi.h)
                CONFIG_SF_DEFAULT_SPEED         in Hz
  
 +              CONFIG_CMD_SF_TEST
 +
 +              Define this option to include a destructive SPI flash
 +              test ('sf test').
 +
  - SystemACE Support:
                CONFIG_SYSTEMACE
  
@@@ -2714,13 -2677,10 +2714,13 @@@ FIT uImage format
                CONFIG_FB_ADDR
  
                Define CONFIG_FB_ADDR if you want to use specific
 -              address for frame buffer.
 -              Then system will reserve the frame buffer address to
 -              defined address instead of lcd_setmem (this function
 -              grabs the memory for frame buffer by panel's size).
 +              address for frame buffer.  This is typically the case
 +              when using a graphics controller has separate video
 +              memory.  U-Boot will then place the frame buffer at
 +              the given address instead of dynamically reserving it
 +              in system RAM by calling lcd_setmem(), which grabs
 +              the memory for the frame buffer depending on the
 +              configured panel size.
  
                Please see board_init_f function.
  
                CONFIG_SPL_FAT_LOAD_PAYLOAD_NAME
                Filename to read to load U-Boot when reading from FAT
  
+               CONFIG_SPL_MPC83XX_WAIT_FOR_NAND
+               Set this for NAND SPL on PPC mpc83xx targets, so that
+               start.S waits for the rest of the SPL to load before
+               continuing (the hardware starts execution after just
+               loading the first page rather than the full 4K).
                CONFIG_SPL_NAND_BASE
                Include nand_base.c in the SPL.  Requires
                CONFIG_SPL_NAND_DRIVERS.
                CONFIG_SPL_LIBGENERIC_SUPPORT
                Support for lib/libgeneric.o in SPL binary
  
+               CONFIG_SPL_PAD_TO
+               Linker address to which the SPL should be padded before
+               appending the SPL payload.
                CONFIG_SPL_TARGET
                Final target image containing SPL and payload.  Some SPLs
                use an arch-specific makefile fragment instead, for
@@@ -3015,6 -2985,9 +3025,6 @@@ Configuration Settings
                non page size aligned address and this could cause major
                problems.
  
 -- CONFIG_SYS_TFTP_LOADADDR:
 -              Default load address for network file downloads
 -
  - CONFIG_SYS_LOADS_BAUD_CHANGE:
                Enable temporary baudrate change while serial download
  
@@@ -3474,16 -3447,6 +3484,16 @@@ use the "saveenv" command to store a va
                space for already greatly restricted images, including but not
                limited to NAND_SPL configurations.
  
 +- CONFIG_DISPLAY_BOARDINFO
 +              Display information about the board that U-Boot is running on
 +              when U-Boot starts up. The board function checkboard() is called
 +              to do this.
 +
 +- CONFIG_DISPLAY_BOARDINFO_LATE
 +              Similar to the previous option, but display this information
 +              later, once stdio is running and output goes to the LCD, if
 +              present.
 +
  Low Level (hardware related) configuration options:
  ---------------------------------------------------
  
diff --combined boards.cfg
index e4b0d44fa7825d9b4ffd2dd863d451dec5385b9d,47baaa070769ae9fbdd52a0fccc79bda2f3d3b3d..6d71f18ffe5ea33ebcac3e8c91a6074c9d51e0a9
@@@ -50,8 -50,6 +50,8 @@@ tt01                         ar
  imx31_litekit                arm         arm1136     -                   logicpd        mx31
  flea3                        arm         arm1136     -                   CarMediaLab    mx35
  mx35pdk                      arm         arm1136     -                   freescale      mx35
 +woodburn                     arm         arm1136     -                   -              mx35
 +woodburn_sd                  arm         arm1136     woodburn            -              mx35        woodburn_sd:IMX_CONFIG=board/woodburn/imximage.cfg
  omap2420h4                   arm         arm1136     -                   ti             omap24xx
  tnetv107x_evm                arm         arm1176     tnetv107xevm        ti             tnetv107x
  rpi_b                        arm         arm1176     rpi_b               raspberrypi    bcm2835
@@@ -99,7 -97,6 +99,7 @@@ at91sam9m10g45ek_nandflash   ar
  at91sam9rlek_dataflash       arm         arm926ejs   at91sam9rlek        atmel          at91        at91sam9rlek:AT91SAM9RL,SYS_USE_DATAFLASH
  at91sam9rlek_nandflash       arm         arm926ejs   at91sam9rlek        atmel          at91        at91sam9rlek:AT91SAM9RL,SYS_USE_NANDFLASH
  at91sam9x5ek_nandflash       arm         arm926ejs   at91sam9x5ek        atmel          at91        at91sam9x5ek:AT91SAM9X5,SYS_USE_NANDFLASH
 +at91sam9x5ek_dataflash       arm         arm926ejs   at91sam9x5ek        atmel          at91        at91sam9x5ek:AT91SAM9X5,SYS_USE_DATAFLASH
  at91sam9x5ek_spiflash        arm         arm926ejs   at91sam9x5ek        atmel          at91        at91sam9x5ek:AT91SAM9X5,SYS_USE_SPIFLASH
  at91sam9x5ek_mmc             arm         arm926ejs   at91sam9x5ek        atmel          at91        at91sam9x5ek:AT91SAM9X5,SYS_USE_MMC
  at91sam9xeek_dataflash_cs0   arm         arm926ejs   at91sam9260ek       atmel          at91        at91sam9260ek:AT91SAM9XE,SYS_USE_DATAFLASH_CS0
@@@ -172,7 -169,6 +172,7 @@@ netspace_lite_v2             ar
  netspace_max_v2              arm         arm926ejs   netspace_v2         LaCie          kirkwood      lacie_kw:NETSPACE_MAX_V2
  netspace_mini_v2             arm         arm926ejs   netspace_v2         LaCie          kirkwood      lacie_kw:NETSPACE_MINI_V2
  netspace_v2                  arm         arm926ejs   netspace_v2         LaCie          kirkwood      lacie_kw:NETSPACE_V2
 +wireless_space               arm         arm926ejs   wireless_space      LaCie          kirkwood
  dreamplug                    arm         arm926ejs   -                   Marvell        kirkwood
  guruplug                     arm         arm926ejs   -                   Marvell        kirkwood
  mv88f6281gtw_ge              arm         arm926ejs   -                   Marvell        kirkwood
@@@ -377,8 -373,8 +377,8 @@@ M5235EVB                     m68
  M5235EVB_Flash32             m68k        mcf523x     m5235evb            freescale      -           M5235EVB:NORFLASH_PS32BIT,SYS_TEXT_BASE=0xFFC00000
  cobra5272                    m68k        mcf52x2     cobra5272           -
  idmr                         m68k        mcf52x2
 -eb_cpu5282                   m68k        mcf52x2     eb_cpu5282          BuS            -           eb_cpu5282:SYS_TEXT_BASE=0xFF000000
 -eb_cpu5282_internal          m68k        mcf52x2     eb_cpu5282          BuS            -           eb_cpu5282:SYS_TEXT_BASE=0xF0000000
 +eb_cpu5282                   m68k        mcf52x2     eb_cpu5282          BuS            -           eb_cpu5282:SYS_TEXT_BASE=0xFF000000,SYS_MONITOR_BASE=0xFF000400
 +eb_cpu5282_internal          m68k        mcf52x2     eb_cpu5282          BuS            -           eb_cpu5282:SYS_TEXT_BASE=0xF0000000,SYS_MONITOR_BASE=0xF0000418
  TASREG                       m68k        mcf52x2     tasreg              esd
  M5208EVBE                    m68k        mcf52x2     m5208evbe           freescale
  M5249EVB                     m68k        mcf52x2     m5249evb            freescale
@@@ -661,8 -657,8 +661,8 @@@ vme8349                      powerp
  MPC8308RDB                   powerpc     mpc83xx     mpc8308rdb          freescale
  MPC8313ERDB_33               powerpc     mpc83xx     mpc8313erdb         freescale      -           MPC8313ERDB:SYS_33MHZ
  MPC8313ERDB_66               powerpc     mpc83xx     mpc8313erdb         freescale      -           MPC8313ERDB:SYS_66MHZ
- MPC8313ERDB_NAND_33          powerpc     mpc83xx     mpc8313erdb         freescale      -           MPC8313ERDB:SYS_33MHZ,NAND_U_BOOT
- MPC8313ERDB_NAND_66          powerpc     mpc83xx     mpc8313erdb         freescale      -           MPC8313ERDB:SYS_66MHZ,NAND_U_BOOT
+ MPC8313ERDB_NAND_33          powerpc     mpc83xx     mpc8313erdb         freescale      -           MPC8313ERDB:SYS_33MHZ,NAND
+ MPC8313ERDB_NAND_66          powerpc     mpc83xx     mpc8313erdb         freescale      -           MPC8313ERDB:SYS_66MHZ,NAND
  MPC8315ERDB                  powerpc     mpc83xx     mpc8315erdb         freescale      -           MPC8315ERDB
  MPC8315ERDB_NAND             powerpc     mpc83xx     mpc8315erdb         freescale      -           MPC8315ERDB:NAND_U_BOOT
  MPC8323ERDB                  powerpc     mpc83xx     mpc8323erdb         freescale
@@@ -1093,7 -1089,6 +1093,7 @@@ ecovec                       s
  MigoR                        sh          sh4         MigoR               renesas        -
  r2dplus                      sh          sh4         r2dplus             renesas        -
  r7780mp                      sh          sh4         r7780mp             renesas        -
 +sh7752evb                    sh          sh4         sh7752evb           renesas        -
  sh7757lcr                    sh          sh4         sh7757lcr           renesas        -
  sh7763rdp                    sh          sh4         sh7763rdp           renesas        -
  sh7785lcr                    sh          sh4         sh7785lcr           renesas        -