1. 26 Feb, 2016 6 commits
    • Marek Vasut's avatar
      usb: ehci: Fix warning on aarch64 · abd702f4
      Marek Vasut authored
      
      
      Fix the following warning on aarch64 introduced by using p2v/v2p
      functions in the code:
      
      In file included from ./arch/arm/include/asm/byteorder.h:29:0,
                       from include/compiler.h:125,
                       from include/image.h:19,
                       from include/common.h:88,
                       from drivers/usb/host/ehci-hcd.c:10:
      drivers/usb/host/ehci-hcd.c: In function ‘ehci_td_buffer’:
      drivers/usb/host/ehci-hcd.c:250:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
         td->qt_buffer[idx] = cpu_to_hc32(virt_to_phys((void *)addr));
                                                       ^
      include/linux/byteorder/little_endian.h:34:51: note: in definition of macro ‘__cpu_to_le32’
       #define __cpu_to_le32(x) ((__force __le32)(__u32)(x))
                                                         ^
      drivers/usb/host/ehci-hcd.c:250:24: note: in expansion of macro ‘cpu_to_hc32’
         td->qt_buffer[idx] = cpu_to_hc32(virt_to_phys((void *)addr));
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Stephen Warren <swarren@wwwdotorg.org>
      Cc: Tom Rini <trini@konsulko.com>
      abd702f4
    • Stephen Warren's avatar
      test/py: skip tests that require large CONFIG_SYS_MAXARGS · 24862c64
      Stephen Warren authored
      
      
      test_hush_if_test.py executes commands that require large values of
      CONFIG_SYS_MAXARGS. Detect cases where the configured value is too low
      and skip those tests.
      
      Ideally, this would be implemented inside console.run_command(). However,
      the command passed to that function is already a completely formed string,
      and determining its argument count usage would require splitting commands
      at ;, handling quoting to deal with arguments containing spaces, etc. Even
      passing the command as a list wouldn't solve all these issues, since we'd
      still need to split commands on ; and deal with cases like "if test ..."
      which consumes 0 of the argument count.
      Signed-off-by: default avatarStephen Warren <swarren@wwwdotorg.org>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      24862c64
    • Stephen Warren's avatar
      test/py: use space to interrupt autoboot · 38831ca3
      Stephen Warren authored
      
      
      Sending CTRL-C to QEMU's stdin aborts the process, even if stdin is being
      used as a serial port (at least in the raspi2 machine with "qemu -serial
      stdin"). Avoid sending CTRL-C to U-Boot to prevent it exiting.
      
      I'd originally used CTRL-C to make sure that if the character used to
      abort autoboot ended up being treated as part of a command as well, it'd
      abort command entry and return the prompt to a known state. However, this
      is not needed, since aborting the autoboot eats the character used to do
      that.
      Signed-off-by: default avatarStephen Warren <swarren@wwwdotorg.org>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      38831ca3
    • Stephen Warren's avatar
      ARM: rpi: increase CONFIG_SYS_MAXARGS · 1f60d7c6
      Stephen Warren authored
      
      
      This allows all the hush tests implemented in test/py to pass, under qemu
      at least.
      Signed-off-by: default avatarStephen Warren <swarren@wwwdotorg.org>
      Reviewed-by: default avatarTom Rini <trini@konsulko.com>
      1f60d7c6
    • Michal Simek's avatar
      ARM: zynq: zynqmp: Enable DCC serial driver by default · 636ac181
      Michal Simek authored
      
      
      Compile DCC serial driver by default.
      Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
      636ac181
    • Michal Simek's avatar
      serial: dcc: Move driver to DM · 966bfa73
      Michal Simek authored
      
      
      Enabling this driver requires some DT changes.
      Adding DCC to root or main bus:
      dcc: dcc {
      	compatible = "arm,dcc";
      	u-boot,dm-pre-reloc;
      };
      
      Extend alias list to link DCC:
      	serial0 = &uart0;
      	serial1 = &uart1;
      	serial2 = &dcc;
      
      Change stdout-path to point to dcc port.
      	stdout-path = "serial2:115200n8";
      
      Also add support for debug uart to help with early debug.
      Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
      Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
      966bfa73
  2. 25 Feb, 2016 4 commits
  3. 24 Feb, 2016 30 commits