summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-12-05board: samsung: artik5: setup pwm earlysubmit/tizen_3.0/20161206.005022submit/tizen/20161205.083345accepted/tizen/common/20161205.140013accepted/tizen/3.0/common/20161206.125930tizen_3.0.m2tizen_3.0accepted/tizen_3.0_commonJaewon Kim1-0/+16
This patch setups pwm channel 0 and 1 in order to maintain the pwm gpio signal to low until use in kernel. Change-Id: I170c1af8f686a0ea7cc37f385ab4a657b1fcd054 Signed-off-by: Jaewon Kim <jaewon02.kim@samsung.com>
2016-12-05artik: configs: disable RAMDUMP featureChanho Park1-3/+0
This patch disable the RAMDUMP feature because the artik does not support it and it will jump to normal booting when watchdog reset. Change-Id: I84f510bb4d6127bf92bcb891cef346916a5ceb09 Signed-off-by: Chanho Park <chanho61.park@samsung.com>
2016-12-05artik5: remove RAMDUMP featureChanho Park1-2/+2
The artik does not support the ramdump feature. Change-Id: I8bfa76c1e4a20de3ea4ae05d9ebc59cc1b745adf Signed-off-by: Chanho Park <chanho61.park@samsung.com>
2016-12-05espresso3250: enable watchdog timer s/w resetDongil Park1-0/+2
This patch enables WTSR(Watchdog Timer S/W Reset) register at s2mps14 pmic to support h/w reset. Change-Id: Ib0e4ca8fb1959dc7f945c7d1d055369ae76cebe9 Signed-off-by: Dongil Park <dongil01.park@samsung.com>
2016-12-05espresso3250: pmic: add pmic_enable_wtsr functionDongil Park2-0/+24
This patch adds pmic_enable_wtsr() to support h/w reset. Change-Id: If810133b471cd98f862586fc006297ef74cee5a9 Signed-off-by: Dongil Park <dongil01.park@samsung.com>
2016-12-05artik: configs: clean up boot argument settingChanho Park1-6/+4
This patch factors out boot argument setting to support multiple boot options such as ramfsboot, mmcboot. Change-Id: I095f5f3b79bbe6448d6773a3e37698cd238039c9 Signed-off-by: Chanho Park <chanho61.park@samsung.com>
2016-12-05exynos: artik10: resize CONFIG_TRUSTZONE_RESERVED_DRAM to 24MBJaehoon Kim1-1/+1
This patch resizes trustzone reserved dram area from 0x1600000 to 0x1800000. For secure OS, we want to reserve secure DRAM region as 24MB like below: [Secure OS Memory Information for ARTIK10] --------------------- 0xC000_0000 Secure OS (8MB) --------------------- 0xBF80_0000 Frame Buffer (16MB, To be used) --------------------- 0xBE80_0000 Change-Id: Ie7c6ae569f0b5a7601bf2a4ffd6a25f0d857d196 Signed-off-by: Jaehoon Kim <jh228.kim@samsung.com>
2016-12-05artik10: configs: update tzsw partition offset for dfuChanho Park1-4/+4
This patch updates tzsw partition offset for dfu according to tzsw partition change. Change-Id: Id61c9e419454898123970a747fd3f4e00eb63dde Signed-off-by: Chanho Park <chanho61.park@samsung.com>
2016-12-05exynos: artik10: resize tzsw partition to 1MBChanho Park1-1/+1
This patch resizes the tzsw partition from 512KB to 1MB for artik10. Change-Id: I06d38063f88ec9a269be9b9bfa9ffd81e53ea871 Signed-off-by: Chanho Park <chanho61.park@samsung.com>
2016-12-05fdt: support to skip checking fdtChanho Park1-0/+2
This patch is required to skip fdt checking because this u-boot version does not support OF_EMBED. Change-Id: Ibb6299fd09ff2df7b7edf5f5cf7f65d1cdb67ee9 Signed-off-by: Chanho Park <chanho61.park@samsung.com>
2016-12-05artik: configs: split artik5 and 10 configurationsChanho Park3-46/+35
This patch splits artik5 and artik10 configurations into each config file. Change-Id: Ie3f2e5fbad9bc5c33fd31076d4641c1490918c37 Signed-off-by: Chanho Park <chanho61.park@samsung.com>
2016-12-05artik: configs: resize malloc pool lenChanho Park1-1/+2
Current malloc len is too much and consume too long to initialize them. There is no problem just adding 2MB for malloc pool. Change-Id: I53ab0e9ae420a365a9513224d547ffd4646e562a Signed-off-by: Chanho Park <chanho61.park@samsung.com>
2016-12-05artik: configs: update dfu partition configurationsChanho Park1-12/+12
This patch updates DFU partition configurations according to increased bootloader partition size. Change-Id: Icbe088e67055fede975a2765b723ab152a4201e6 Signed-off-by: Chanho Park <chanho61.park@samsung.com>
2016-12-05Revert "artik: remove CONFIG_USB_OHCI to secure the image capacity"Chanho Park1-1/+1
This reverts commit 7a88a017d836d2eecfcb5d4a726023824934b4ff. Change-Id: I778ba4bd54a12cef19b6649dbda3a3aae435c945 Signed-off-by: Chanho Park <chanho61.park@samsung.com>
2016-12-05artik: arm: exynos: resize u-boot partition to 1MBChanho Park1-1/+1
This patch resizes u-boot partition size from 328KB to 1MB size. The mainline u-boot can be reached 1MB size to support FDT of u-boot. Change-Id: I8d1384de89446e117dc42cbeaee49facde8ead10 Signed-off-by: Chanho Park <chanho61.park@samsung.com>
2016-12-05artik: configs: skip 4MB size of boot partitionChanho Park1-3/+3
This patch skips 4MB size of boot partition for resizing tzsw image and reserve area which can be used at future. Change-Id: Ic70bc068d8aca86f15bd64177d8e2ee5394c3a1b Signed-off-by: Chanho Park <chanho61.park@samsung.com>
2016-12-05exynos: artik5: resize tzsw partition to 1MBChanho Park1-0/+4
This patch resizes tzsw partition to 1MB for artik trustware solution. Change-Id: I917da6e1e039707ae70d3d55916ec9fd0d0a6c51 Signed-off-by: Chanho Park <chanho61.park@samsung.com>
2016-12-05artik5: configs: correct SPL_TEXT_BASE addressChanho Park1-1/+1
This patch corrects SPL text base from 0x2025000 to 0x2026000. Change-Id: I7de57defe6a9b639b5770af591c389cc8bd2db65 Signed-off-by: Chanho Park <chanho61.park@samsung.com>
2016-12-05artik5: configs: fix prompt typoJaewon Kim1-1/+1
This patch fixes prompt name typo on artik5. Change-Id: I83dbd08d0adb999198e9ee7b46351a080c370e34 Signed-off-by: Jaewon Kim <jaewon02.kim@samsung.com>
2016-06-21artik: configs: change attribute of installed files.tizen_20160927jino.cho2-4/+4
u-boot.bin and params.bin don't need executable attribute. Change-Id: Idb706b1bbde124b62cc9e7f6c4e11cb0e7c4aca5 Signed-off-by: jino.cho <jino.cho@samsung.com>
2016-05-19artik: configs: Modified size of system-data area from 256M to 1024Msubmit/tizen_3.0_common/20161104.104000submit/tizen/20160602.025241accepted/tizen/common/20160602.140214accepted/tizen/3.0/common/20161114.112229wansu.yoo1-1/+1
When there occurred system crash, core dump file is being saved at system-data partition. (/opt/share/crash/dump) But if there happened some crashes, it is insufficient to be saved with current size(256M). On the other hand, there are enough size in user partition. So, we are thinking it's proper to adjust partition size. Change-Id: I2a5a1b5c635ad3cb95336d2010a6284920beb48c Signed-off-by: wansu.yoo <wansu.yoo@samsung.com>
2016-04-27artik: configs: support the Thor downloader on a bootable SD cardsubmit/tizen/20160429.063305accepted/tizen/common/20160429.170629jino.cho3-15/+36
This patch supports the Thor downloader on a bootable SD card. On the get_dfu_alt_system(), "dfu_alt_system" env information is replaced to CONFIG_DFU_ALT_SYSTEM_SD when "rootdev" is '1'. Change-Id: Ia013df50e9f9edeab9dcdfb6d674b2549c156bf7 Signed-off-by: jino.cho <jino.cho@samsung.com>
2016-04-26artik: configs: fix boot partition offsetjino.cho1-12/+12
This patch fixes boot partition offset of DFU for the Thor downloader. CONFIG_DFU_ALT_BOOT_SD information was added to support booting by SD card. But, there was an error because this feature was under developing at that time. EMMC and SD have differnt offset because of the difference between GPT and MBR. EMMC and SD use GPT and MBR, respectively. GPT have a partition for boot separately. So, EMMC don't need offset. But, SD need one block as a offset for MBR information. Change-Id: I0c16c4fc8466d6c22567b43fe357c3354c0b0381 Signed-off-by: jino.cho <jino.cho@samsung.com>
2016-04-19artik: configs: increase size of malloc() poolsubmit/tizen/20160419.084959accepted/tizen/common/20160421.162258jino.cho1-1/+1
This patch increase size of malloc() pool for Thor downloader. When downloading image of the platform, "Thor failed" error occurs due to the small size of malloc() pool. Change-Id: I69154640c0e4f587645d7cb97b2d04929959e0cc Signed-off-by: jino.cho <jino.cho@samsung.com>
2016-04-18artik10: usb: gadget: add g_dnl_bind_fixup() functionjino.cho1-0/+19
This patch replaces VID & PID information of the THOR downloader by adding g_gnl_bind_fixup() function. Change-Id: I15fe00747ff980f1969018af05bddbefa8936bef Signed-off-by: jino.cho <jino.cho@samsung.com>
2016-04-18artik10: usb: dwc3: change base address of the USB Global Registerjino.cho1-1/+1
This patch changes base address of the USB Global Register. Because ARTIK10 uses USB channel 0. - USB Ch0 Base Address: 0x1200_0000 - USB Ch1 Base Address: 0x1240_0000 Change-Id: I41f96247248f16c76894a10daa4b11cbac69d5df Signed-off-by: jino.cho <jino.cho@samsung.com>
2016-04-14artik5: config: enable usb dfu/thor gadgetjino.cho1-3/+13
This patch enables dfu/thor gadget to support Thor downloader for the ARTIK5 device. Change-Id: I780aa55b3fe499b4c0ccce84a9e517ec40b6800a Signed-off-by: jino.cho <jino.cho@samsung.com>
2016-04-14artik5: gadget: add usb initialization functionsjino.cho1-0/+45
This patch adds usb initialization functions for the artik5 board to support thor downloader. Change-Id: Ie0a96da2f8d2b852db4aadfae6c4c4f21b612a2b Signed-off-by: jino.cho <jino.cho@samsung.com>
2016-04-14artik: dfu: add DFU functionsjino.cho3-1/+147
This patch adds DFU functions and DFU informations for the ARTIK devices. set_dfu_alt_info - setting dfu information for the ARTIK devices. get_dfu_alt_system - getting system partition information. get_dfu_alt_boot - getting predefined boot partition information. Change-Id: I4361f75ba6889b86d6c6bb4501c38545c742442a Signed-off-by: jino.cho <jino.cho@samsung.com>
2016-04-14artik5: fix the build errorjino.cho1-1/+3
This patch fixs the build error on ARTIK5. Change-Id: I69728bc8ed5952bae44a4409c921ee5328f86a8b Signed-off-by: jino.cho <jino.cho@samsung.com>
2016-04-14artik: remove CONFIG_USB_OHCI to secure the image capacityjino.cho1-1/+1
This commit remove CONFIG_USB_OHCI to secure the image capacity. Change-Id: I851454580ba5ff62a89f529cbefbb9b35d9e83cb Signed-off-by: jino.cho <jino.cho@samsung.com>
2016-04-14thor: cmd: remove duplicated label 'bad_args'jino.cho1-7/+0
This commit fixs build error. Change-Id: If5c6ffd0ca0230316c50b56dbc37a29fd32198f7 Signed-off-by: jino.cho <jino.cho@samsung.com>
2016-04-11artik: configs: enable usb dfu/thor gadgetChanho Park1-3/+48
This patch enables dfu/thor usb gadget to support tizen image download. Change-Id: I66bab8d8bb5722ec6c46341f70010952b2d3a0c1 Signed-off-by: Chanho Park <chanho61.park@samsung.com>
2016-04-11board: samsung: artik10: support dwc3 gadget initializationChanho Park1-0/+70
This patch supports dwc3 usb gadge3 for artik10/smdk5422 board. Change-Id: I17d5072f99c276aa20daee28a0ba9d78ea09d32f Signed-off-by: Chanho Park <chanho61.park@samsung.com>
2016-04-11usb: echi: use _min3 instead of min3Chanho Park1-2/+2
Change-Id: I0c84580022b8a8d4bd406f3a24cbc2062b90bd28 Signed-off-by: Chanho Park <chanho61.park@samsung.com>
2016-04-11thor:cmd: get the default command arguments from environmentPrzemyslaw Marczak1-0/+6
This change adds support to getting the default DFU cmd line arguments from the environment. DFU and THOR uses the same command line arguments, so the DFU command environment setup can be used also with THOR. Change-Id: I2e0984c909147c13191f6d6646d094c9f02c392a Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
2016-04-11exynos: define XHCI/USB3 address for other socChanho Park1-0/+7
Change-Id: Id2eaa48b96d52edbf988ebfd969844618e090d28 Signed-off-by: Chanho Park <chanho61.park@samsung.com>
2016-04-11usb: dwc3: uses #if defined instead of IS_ENABLEDChanho Park1-4/+5
This patch uses #if defined macro instead of IS_ENABLED because it's not supported in this u-boot. Change-Id: Ia351ebbb5213b94efaa421711555168ac462b860 Signed-off-by: Chanho Park <chanho61.park@samsung.com>
2016-04-11usb: dwc3: correct source nameChanho Park1-1/+0
This patch removes dwc.o because it's not used anywhere. Change-Id: Iedddeaa6202300c71a348566091936442a70887c Signed-off-by: Chanho Park <chanho61.park@samsung.com>
2016-04-11linux/kernel.h: import more macrosMasahiro Yamada1-0/+92
These macros seem to be useful for U-Boot too (or at least harmless). Imported from Linux 3.18-rc2. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
2016-04-11include: move various macros to include/linux/kernel.hMasahiro Yamada13-143/+158
U-Boot has imported various utility macros from Linux scattering them to various places without consistency. In include/common.h are min, max, min3, max3, ARRAY_SIZE, ALIGN, container_of, DIV_ROUND_UP, etc. In include/linux/compat.h are min_t, max_t, round_up, round_down, etc. We also have duplicated defines of min_t in some *.c files. Moreover, we are suffering from too cluttered include/common.h. This commit moves various macros that originate in include/linux/kernel.h of Linux to their original position. Note: This commit simply moves the macros; the macros roundup, min, max, min2, max3, ARRAY_SIZE are different from those of Linux at this point. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Conflicts: arch/arm/cpu/armv7/bcm281xx/clk-core.h include/common.h lib/vsprintf.c Change-Id: I9823611a421022aa9440d15751253697fcbc92fd
2016-04-11EXYNOS5420: Add power register structure.Rajeshwari Birje1-0/+837
Add structure for power register for Exynos5420 Signed-off-by: Rajeshwari S Shinde <rajeshwari.s@samsung.com> Acked-by: Simon Glass <sjg@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Conflicts: arch/arm/include/asm/arch-exynos/power.h Change-Id: Ic1c32edee03bb4bf6d0d000d98e54f1007089a04
2016-04-11ARCH: EXYNOS: add support to match product idMinkyu Kang1-0/+19
Based upon single SoC there can be multiple variants. This patch add support to match the complete product ID. Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org> Signed-off-by: Chanho Park <chanho61.park@samsung.com> Conflicts: arch/arm/include/asm/arch-exynos/cpu.h Change-Id: I91ba4b23035a1fb8212d80afbaf3eb048476e255
2016-04-11samsung: usb: phy: Support for DWC3 PHYLukasz Majewski3-0/+95
New files, namely samsung_usb_phy.c and samsung-usb-phy-uboot.h have been added to u-boot to provide proper PHY handling at Exynos5 SoCs. This code is used thereafter in the board_usb_init() call. Signed-off-by: Lukasz Majewski <l.majewski@samsung.com> Cc: Minkyu Kang <mk7.kang@samsung.com> Cc: Marek Vasut <marex@denx.de> Signed-off-by: Chanho Park <chanho61.park@samsung.com> Conflicts: drivers/usb/dwc3/Makefile Change-Id: I5bed7e2cb3fd8033b7907cbca64ef6dcd6117a69
2016-04-11EXYNOS5: Add function to enable exynos5420 usbdev phy ctrlJoonyoung Shim1-2/+26
Exynos5420 has different registers with other exynos5 SoCs to control usb device phy, so need separated function to enable exynos5420 usb device phy. Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
2016-04-11arm: odroid: enable/disable usb host phy for exynos4412Suriyan Ramasami2-0/+34
Enable/disable the usb host phy on the odroid U/X2 boards which are based on the Exynos4412 SOC. Signed-off-by: Suriyan Ramasami <suriyan.r@gmail.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
2016-04-11arch:exynos: boot mode: add get_boot_mode(), code cleanupPrzemyslaw Marczak2-0/+28
This patch introduces code clean-up for exynos boot mode check. It includes: - removal of typedef: boot_mode - move the boot mode enum to arch-exynos/power.h - add bootmode for sequence: eMMC 4.4 ch4 / SD ch2 - add new function: get_boot_mode() for OM[5:1] pin check - update spl boot code Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com> Changes v5: - exynos: boot mode: add missing bootmode (1st:EMMC 4.4 / 2nd:SD ch2) Changes v6: - none changes v7: - change boot mode name: BOOT_MODE_MMC to BOOT_MODE_SD Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Conflicts: arch/arm/cpu/armv7/exynos/spl_boot.c arch/arm/include/asm/arch-exynos/spl.h Change-Id: Ia91a5e251c476ee97bdd4921f602a5d737b6db10
2016-04-11arm: exynos: Add methods to control power to USB 3.0 PHYVivek Gautam2-0/+27
Adding methods to turn on/off power to USB3.0 type PHY as and when required by the controller. Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com> Cc: Julius Werner <jwerner@chromium.org> Cc: Simon Glass <sjg@chromium.org> Cc: Minkyu Kang <mk7.kang@samsung.com> Cc: Dan Murphy <dmurphy@ti.com> Cc: Marek Vasut <marex@denx.de>
2016-04-11EXYNOS: Add API for power reset and exit wakeupRajeshwari Shinde2-0/+62
This patch adds APIs to get power reset status and exit the wakeup condition for both exynos5 and exynos4 Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
2016-04-11power: exynos-tmu: use the mux_addr bit fields in tmu_control registerNaveen Krishna Chatradhi1-1/+10
This patch implements the mux_addr bit fields defined in tmu_control register (used for debugging purpose) Signed-off-by: Naveen Krishna Chatradhi <ch.naveen@samsung.com> Reviewed-by: Vadim Bendebury <vbendeb@google.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>