From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Mon, 17 Mar 2014 20:15:54 -0600 Subject: [U-Boot] Please pull u-boot-x86.git branch sandbox Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Tom, This collects up all the remaining sandbox changes to get the LCD/keyboard emulation running in U-Boot. Most of this was submitted for the last release but I had to hold back because the LCD was enabled by default - I think it is better to have it disabled by default as mentioned at the time. buildman shows no new problems, although unfortunately between me running it and now, mainline is updated. So I'll start a new run now and advise tomorrow if anything comes to light. If it doesn't suit to pick these up now, let me know and I can re-issue later. The following changes since commit bf64035a159f114d0fb93391acb7f5e73eb020e6: mtd: spi: Fix page size for S25FL032P,S25FL064P (2014-03-17 21:54:57 +0530) are available in the git repository at: git://git.denx.de/u-boot-x86.git sandbox for you to fetch changes up to 2c072c958bb544c72f0e848375803dbd6971f022: sandbox: config: Enable cros_ec emulation and related items (2014-03-17 20:05:50 -0600) ---------------------------------------------------------------- Randall Spangler (2): cros_ec: Clean up multiple EC protocol support cros_ec: spi: Add support for EC protocol version 3 Simon Glass (26): Use a const pointer for map_to_sysmem() sandbox: Increase memory size to 32MB sandbox: Use os functions to read host device tree sandbox: dts: Add display and keyboard to sandbox cros_ec: Add an enum for the number of flash regions cros_ec: Add a function for reading a flash map entry cros_ec: Add a function for decoding the Chrome OS EC flashmap cros_ec: Support systems with no EC interrupt cros_ec: Move #ifdef to permit flash region access cros_ec: Sync up with latest Chrome OS EC version cros_ec: Add base support for protocol v3 cros_ec: Correct comparison between signed and unsigned numbers cros_ec: sandbox: Add Chrome OS EC emulation sandbox: Plumb in Chrome OS EC emulation cros_ec: Implement I2C pass-through sandbox: Add os_jump_to_image() to run another executable sandbox: Add -j option to indicate a jump from a previous U-Boot sandbox: Add SDL library for LCD, keyboard, audio sandbox: Add a simple sound driver sandbox: Add LCD driver sound: Move Samsung-specific code into its own file sandbox: Deal with conflicting getenv() for SDL sandbox: Allow Ctrl-C to work in sandbox sandbox: Add options to clean up temporary files sandbox: Add implementation of spi_setup_slave_fdt() sandbox: config: Enable cros_ec emulation and related items Vadim Bendebury (2): cros_ec: Move EC interface into common library cros_ec: Drop old EC version support from EC driver arch/sandbox/config.mk | 5 + arch/sandbox/cpu/Makefile | 3 + arch/sandbox/cpu/cpu.c | 2 +- arch/sandbox/cpu/os.c | 103 +++++++- arch/sandbox/cpu/sdl.c | 341 ++++++++++++++++++++++++ arch/sandbox/cpu/start.c | 60 +++++ arch/sandbox/cpu/state.c | 6 +- arch/sandbox/dts/sandbox.dts | 96 +++++++ arch/sandbox/include/asm/arch-sandbox/sound.h | 14 + arch/sandbox/include/asm/sdl.h | 118 +++++++++ arch/sandbox/include/asm/state.h | 29 ++- arch/sandbox/include/asm/u-boot-sandbox.h | 3 + board/samsung/common/board.c | 29 +-- board/samsung/smdk5250/exynos5-dt.c | 1 - board/sandbox/sandbox/sandbox.c | 48 ++++ common/Makefile | 1 + common/board_f.c | 48 ++-- common/cros_ec.c | 44 ++++ common/lcd.c | 21 +- disk/part.c | 17 -- doc/device-tree-bindings/video/sandbox-fb.txt | 13 + drivers/input/cros_ec_keyb.c | 34 ++- drivers/misc/Makefile | 1 + drivers/misc/cros_ec.c | 611 ++++++++++++++++++++++++++++++++++++++++---- drivers/misc/cros_ec_i2c.c | 64 ++--- drivers/misc/cros_ec_lpc.c | 80 +----- drivers/misc/cros_ec_sandbox.c | 559 ++++++++++++++++++++++++++++++++++++++++ drivers/misc/cros_ec_spi.c | 30 +++ drivers/serial/sandbox.c | 10 +- drivers/sound/Makefile | 4 +- drivers/sound/sandbox.c | 23 ++ drivers/sound/sound-i2s.c | 208 +++++++++++++++ drivers/sound/sound.c | 221 +--------------- drivers/spi/sandbox_spi.c | 13 + drivers/video/Makefile | 1 + drivers/video/sandbox_sdl.c | 79 ++++++ include/common.h | 6 + include/configs/exynos5250-dt.h | 1 + include/configs/sandbox.h | 40 ++- include/cros_ec.h | 94 ++++++- include/cros_ec_message.h | 2 +- include/ec_commands.h | 348 +++++++++++++++++++++---- include/fdtdec.h | 20 ++ include/lcd.h | 3 + include/os.h | 25 +- include/sound.h | 9 + lib/fdtdec.c | 26 ++ 47 files changed, 2982 insertions(+), 532 deletions(-) create mode 100644 arch/sandbox/cpu/sdl.c create mode 100644 arch/sandbox/include/asm/arch-sandbox/sound.h create mode 100644 arch/sandbox/include/asm/sdl.h create mode 100644 common/cros_ec.c create mode 100644 doc/device-tree-bindings/video/sandbox-fb.txt create mode 100644 drivers/misc/cros_ec_sandbox.c create mode 100644 drivers/sound/sandbox.c create mode 100644 drivers/sound/sound-i2s.c create mode 100644 drivers/video/sandbox_sdl.c Regards, Simon