Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
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>
|
|
The artik does not support the ramdump feature.
Change-Id: I8bfa76c1e4a20de3ea4ae05d9ebc59cc1b745adf
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
|
|
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>
|
|
This patch adds pmic_enable_wtsr() to support h/w reset.
Change-Id: If810133b471cd98f862586fc006297ef74cee5a9
Signed-off-by: Dongil Park <dongil01.park@samsung.com>
|
|
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>
|
|
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>
|
|
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>
|
|
This patch resizes the tzsw partition from 512KB to 1MB
for artik10.
Change-Id: I06d38063f88ec9a269be9b9bfa9ffd81e53ea871
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
|
|
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>
|
|
This patch splits artik5 and artik10 configurations
into each config file.
Change-Id: Ie3f2e5fbad9bc5c33fd31076d4641c1490918c37
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
|
|
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>
|
|
This patch updates DFU partition configurations
according to increased bootloader partition size.
Change-Id: Icbe088e67055fede975a2765b723ab152a4201e6
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
|
|
This reverts commit 7a88a017d836d2eecfcb5d4a726023824934b4ff.
Change-Id: I778ba4bd54a12cef19b6649dbda3a3aae435c945
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
|
|
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>
|
|
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>
|
|
This patch resizes tzsw partition to 1MB for artik
trustware solution.
Change-Id: I917da6e1e039707ae70d3d55916ec9fd0d0a6c51
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
|
|
This patch corrects SPL text base from 0x2025000 to
0x2026000.
Change-Id: I7de57defe6a9b639b5770af591c389cc8bd2db65
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
|
|
This patch fixes prompt name typo on artik5.
Change-Id: I83dbd08d0adb999198e9ee7b46351a080c370e34
Signed-off-by: Jaewon Kim <jaewon02.kim@samsung.com>
|
|
u-boot.bin and params.bin don't need executable attribute.
Change-Id: Idb706b1bbde124b62cc9e7f6c4e11cb0e7c4aca5
Signed-off-by: jino.cho <jino.cho@samsung.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
This patch fixs the build error on ARTIK5.
Change-Id: I69728bc8ed5952bae44a4409c921ee5328f86a8b
Signed-off-by: jino.cho <jino.cho@samsung.com>
|
|
This commit remove CONFIG_USB_OHCI to secure the image capacity.
Change-Id: I851454580ba5ff62a89f529cbefbb9b35d9e83cb
Signed-off-by: jino.cho <jino.cho@samsung.com>
|
|
This commit fixs build error.
Change-Id: If5c6ffd0ca0230316c50b56dbc37a29fd32198f7
Signed-off-by: jino.cho <jino.cho@samsung.com>
|
|
This patch enables dfu/thor usb gadget to support
tizen image download.
Change-Id: I66bab8d8bb5722ec6c46341f70010952b2d3a0c1
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
|
|
This patch supports dwc3 usb gadge3 for artik10/smdk5422 board.
Change-Id: I17d5072f99c276aa20daee28a0ba9d78ea09d32f
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
|
|
Change-Id: I0c84580022b8a8d4bd406f3a24cbc2062b90bd28
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
|
|
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>
|
|
Change-Id: Id2eaa48b96d52edbf988ebfd969844618e090d28
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
|
|
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>
|
|
This patch removes dwc.o because it's not used anywhere.
Change-Id: Iedddeaa6202300c71a348566091936442a70887c
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
|
|
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>
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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>
|
|
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>
|
|
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
|
|
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>
|
|
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>
|
|
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>
|