Skip to content
Snippets Groups Projects
  1. Apr 07, 2017
  2. Apr 05, 2017
  3. Apr 03, 2017
  4. Feb 10, 2017
  5. Jan 18, 2017
  6. Jan 11, 2017
  7. Jan 05, 2017
  8. Dec 29, 2016
  9. Dec 27, 2016
  10. Dec 05, 2016
  11. Dec 04, 2016
  12. Sep 23, 2016
  13. Jul 22, 2016
  14. May 25, 2016
  15. Feb 24, 2016
  16. Jan 15, 2016
  17. Dec 17, 2015
  18. Nov 02, 2015
    • Minkyu Kang's avatar
      samsung: clean up checkpatch issues · de5f9733
      Minkyu Kang authored
      
      This patch will fix these checkpatch issues.
      
      CHECK: Alignment should match open parenthesis
      +			printf("Enter: %s %s\n", mode_name[mode][0],
      +						 mode_info[mode]);
      
      CHECK: Alignment should match open parenthesis
      +			lcd_printf("\n\n\t%s %s\n", mode_name[mode][0],
      +						    mode_info[mode]);
      
      CHECK: Alignment should match open parenthesis
      +		lcd_printf("\t%s  %s - %s\n\n", selection[i],
      +						mode_name[i][0],
      
      Signed-off-by: default avatarMinkyu Kang <mk7.kang@samsung.com>
      de5f9733
    • Minkyu Kang's avatar
      odroid: clean up checkpatch issues · 1d83970f
      Minkyu Kang authored
      
      This patch will fix these checkpatch issues.
      
      +static const char *mmc_regulators[] = {
      
      CHECK: Blank lines aren't necessary before a close brace '}'
      +
      +}
      
      Signed-off-by: default avatarMinkyu Kang <mk7.kang@samsung.com>
      1d83970f
    • Minkyu Kang's avatar
      smdk2410: clean up checkpatch issues · 9eae8441
      Minkyu Kang authored
      
      This patch will fix these checkpatch issues.
      
      ERROR: spaces required around that '==' (ctx:VxV)
      +#if FCLK_SPEED==0		/* Fout = 203MHz, Fin = 12MHz for Audio */
      
      ERROR: spaces required around that '==' (ctx:VxV)
      +#elif FCLK_SPEED==1		/* Fout = 202.8MHz */
      
      ERROR: spaces required around that '==' (ctx:VxV)
      +#if USB_CLOCK==0
      
      ERROR: spaces required around that '==' (ctx:VxV)
      +#elif USB_CLOCK==1
      
      CHECK: spaces required around that ':' (ctx:VxV)
      +	  "bne 1b":"=r" (loops):"0" (loops));
      
      Signed-off-by: default avatarMinkyu Kang <mk7.kang@samsung.com>
      9eae8441
    • Minkyu Kang's avatar
      smdkv310: clean up checkpatch issues · 6b949ba8
      Minkyu Kang authored
      
      This patch will fix these checkpatch issues.
      
      WARNING: Avoid unnecessary line continuations
      +	gd->bd->bi_dram[0].size = get_ram_size((long *)PHYS_SDRAM_1, \
      
      WARNING: Avoid unnecessary line continuations
      +	gd->bd->bi_dram[1].size = get_ram_size((long *)PHYS_SDRAM_2, \
      
      WARNING: Avoid unnecessary line continuations
      +	gd->bd->bi_dram[2].size = get_ram_size((long *)PHYS_SDRAM_3, \
      
      WARNING: Avoid unnecessary line continuations
      +	gd->bd->bi_dram[3].size = get_ram_size((long *)PHYS_SDRAM_4, \
      
      Signed-off-by: default avatarMinkyu Kang <mk7.kang@samsung.com>
      6b949ba8
    • Przemyslaw Marczak's avatar
      exynos5-dt-types: add board detection for Odroid XU3/XU3L/XU4. · 1611c8cb
      Przemyslaw Marczak authored
      
      This commit adds additional file with implementation of board
      detection code for Odroid-XU3/XU4.
      
      The detection depends on compatible found in fdt:
      - "samsung,exynos5" - uses Exynos5 generic code
      - "samsung,odroidxu3" - try detect XU3 revision
      
      There are few revisions of Odroid XU3/XU4, each can be detected
      by checking the value of channel 9 of built-in ADC:
       Rev   ADC  Board
       0.1     0  XU3 0.1
       0.2   372  XU3 0.2 | XU3L - no DISPLAYPORT
       0.3  1280  XU4 0.1
      
      The detection code depends on the ADC+10% value.
      
      Implementation of functions:
      - set_board_type()     - read ADC and set type
      - get_board_rev()      - returns board revision: 1..3
      - get_board_type()     - returns board type string
      
      Additional functions with return values of bool:
      - board_is_generic()   - true if found compatible "samsung,exynos5"
                               but not "samsung,odroidxu3"
      - board_is_odroidxu3() - true if found compatible "samsung,odroidxu3"
                               and one of XU3 revision.
      - board_is_odroidxu4() - true if found compatible "samsung,odroidxu3"
                               and XU4 revision.
      
      After I2C controller init, the get_board_type() can check
      if the XU3 board is a "Lite" variant, by probing chip
      0x40 on I2C0 (INA231 - exists only on non-lite).
      This is useful for setting fdt file name at misc_init_r().
      
      Enabled configs:
      - CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
      - CONFIG_ODROID_REV_AIN
      - CONFIG_REVISION_TAG
      - CONFIG_BOARD_TYPES
      
      Signed-off-by: default avatarPrzemyslaw Marczak <p.marczak@samsung.com>
      Cc: Minkyu Kang <mk7.kang@samsung.com>
      Cc: Simon Glass <sjg@chromium.org>
      Tested-by: default avatarAnand Moon <linux.amoon@gmail.com>
      Signed-off-by: default avatarMinkyu Kang <mk7.kang@samsung.com>
      1611c8cb
    • Przemyslaw Marczak's avatar
      samsung: board/misc: check returned pointer for get_board_type() calls · bc3f39ea
      Przemyslaw Marczak authored
      
      The function get_board_type() is called in two places by common code,
      but the returned pointer was never check.
      
      This commit adds checking the returned pointer, before use it.
      
      Signed-off-by: default avatarPrzemyslaw Marczak <p.marczak@samsung.com>
      Cc: Minkyu Kang <mk7.kang@samsung.com>
      Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
      Tested-by: default avatarAnand Moon <linux.amoon@gmail.com>
      Signed-off-by: default avatarMinkyu Kang <mk7.kang@samsung.com>
      bc3f39ea
  19. Oct 24, 2015
Loading