summaryrefslogtreecommitdiff
path: root/board
AgeCommit message (Collapse)AuthorFilesLines
2015-05-19Odroid-XU3: adjust to support Tizen requirementsJoonyoung Shim2-0/+69
This patch includes changes required to boot Tizen, by varoius authors: arm: exynos5420: Adding support for board_usb_{init|cleanup}() functions Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com> Signed-off-by: Lukasz Majewski <l.majewski@samsung.com> samsung: common: board: call dwc3_uboot_exit() for boards with DWC3 Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com> config: Odroid-XU3: Support DFU download Signed-off-by: Inha Song <ideal.song@samsung.com> smdk5420: Add dfu_alt_info settings interface for support DFU download Signed-off-by: Inha Song <ideal.song@samsung.com> Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com> config: Odroid-XU3: Enable dwc3 usb gadget Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com> config: Odroid-XU3: Add default dfu device environment Signed-off-by: Inha Song <ideal.song@samsung.com> usb: config: odroid XU3: Enable UMS (Mass Storage) gadget Signed-off-by: Lukasz Majewski <l.majewski@samsung.com> Odroid-XU3: Enable check board signature when download bootloader Signed-off-by: Inha Song <ideal.song@samsung.com> odroid-xu3: config: add platform autoboot command Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com> Odroid-XU3: Set rootfs device number to 0 Signed-off-by: Inha Song <ideal.song@samsung.com>
2015-05-18samsung: board: dram_init: return error if no memPrzemyslaw Marczak1-0/+3
Change-Id: Ic1bcce5bc90a38b751f32bef23cae79e24d5a443 Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
2015-05-18tizen: add tizen_defconfigPrzemyslaw Marczak2-0/+18
Signed-off-by: Lukasz Majewski <l.majewski@samsung.com> Signed-off-by: Inha Song <ideal.song@samsung.com> Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
2015-05-18tizen: add Exynos4 common filePrzemyslaw Marczak3-0/+1441
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com> Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com> Signed-off-by: Inha Song <ideal.song@samsung.com> Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
2015-05-18samsung: misc_init_r: insert call to platform_setup()Przemyslaw Marczak1-0/+3
This change adds call of platform_setup() to check or set active platform configuration. Change-Id: I355736bf40f8fa3697ce0b4546f7702d2e54a0f9 Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
2015-05-18samsung: misc: add new feature for configure partitions layout at boot.Przemyslaw Marczak1-1/+191
This feature requires some platform configuration data in the environment, which is: -${platname}_setup_N_name - name of this setup -${platname}_setup_N_partitions - GPT partitions or NULL if MBR -${platname}_setup_N_alt_system - dfu_alt_info with system entities -${platname}_setup_N_bootpart - boot partition number for this setup -${platname}_setup_N_rootpart - root partition number for this setup And for at least one setup it requires: -${platname}_setup_cnt - number of ${platname} configs -${platname}_setup_chosen - chosen plaform config -${platname}_setup_active - active platform config (autoset) Two environment variables are used to switch/check active setup: -${platname}_setup_chosen - can be changed manually -${platname}_setup_active - should be the same as chosen If chosen setup is not set, then will be automatically set on boot by setting proper env: - $partitions := ${platname}_setup_N_partitions - $dfu_alt_system_${platname} := ${platname}_setup_N_alt_system - $mmcbootpart := ${platname}_setup_N_bootpart - $mmcrootpart := ${platname}_setup_N_rootpart - ${platname}_setup_active := ${platname}_setup_chosen If ${partitions} are: - set, then gpt write is called - unset, e.g. when using MBR - then partition table is unchanged Config: - CONFIG_PLATFORM_SETUP Change-Id: Ib9f90415b92ec1d67a9bf6b84e7ab5d5deea8a7d Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
2015-05-18samsung: common: add get_plat_name()/get_board_model()Przemyslaw Marczak3-10/+10
This patch introduce some cleanup in set_board_info(), related to the listed code changes: Change 1: The name of function get_board_type() was unclear, so now it is changed to get_board_model(). Change 2: The previous version of get_board_name() was returning the platform name - now it returns full boardname. Change 3: Add new function get_plat_name() - returns platform name. This is useful for platform common usage like environment settings. Change 4: Update odroid.c by change get_board_type() to get_board_model(). Change 5: samsung: misc: set env ${platname} in set_board_info() Change-Id: Iba16e917f9c88458e1af21892d84ded121aa12cf Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
2015-05-18samsung:board: check board type before init exynos fbPrzemyslaw Marczak1-1/+7
For CONFIG_OF_MULTI some boards doesn't use frame buffer, so the board type is now checked before the fb configuration. Change-Id: Ide9ba4893b89ccc84ea84482324dd39ed8fbd48c Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
2015-05-18samsung:board: don't call set_board_type() for CONFIG_OF_MULTIPrzemyslaw Marczak1-0/+2
For this config the set_board_type() is called much more earlier - in the function setup_fdt(), so the second call in the board file is unneeded. Change-Id: I71037c593d00f7bde95a0880787e64d0d09ff173 Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
2015-05-18samsung:board: run lcd menu only on trats2 for CONFIG_OF_MULTIPrzemyslaw Marczak1-0/+4
Change-Id: I02baeb60125f695e30c138b7311910731f5d9f40 Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
2015-05-18samsung:misc: add call to get_board_name() for CONFIG_OF_MULTIPrzemyslaw Marczak1-0/+3
Change-Id: I236f5d23122f02ef759d7e79354a9af788627968 Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
2015-05-18samsung:board: dram_init(): alloc memory to store fdt dram infoPrzemyslaw Marczak1-15/+15
For CONFIG_OF_MULTI the dram_init() function gets memory information from the device tree blob by the call to fdtdec_decode_memory(). The same is done second time in dram_init_banksize() - this was the simplest because board info structure is not initialized at dram_init() stage. This change uses malloc and gd->priv pointer to store the memory banks parameters and next uses it in dram_init_banksize(). Thanks to this change, the boot time decreases, because, the function fdtdec_decode_memory() is called only once. Change-Id: I8f357c6a641d4440f32d2fe24d7e1e2dc5bc4a3d Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
2015-05-18samsung:board: init dram info based on memory node in fdtPrzemyslaw Marczak1-1/+28
Change-Id: I3677f0ab0b4aed264de8af37e87b081f66a36b97 Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
2015-05-18samsung: misc: menu: new option: battery charge levelPrzemyslaw Marczak1-0/+3
This change adds new option to lcd menu which allows check battery state. In case if battery level is greater than boot level threshold (20%), battery screen is not displayed. So this menu option is useful in such situations. Change-Id: I13e7e57516766fea787855b914d2884343cc33a5 Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
2015-05-18trats2: add support to interactive chargerPrzemyslaw Marczak2-18/+307
This commit adds support to interactive charger api which means an implementation of listed functions: - charger_enable() - enable the charger.Charger can be enabled automatically if the device power on state is triggered by USB cable connection. - charger_type() - this function returns device type connected to usb port of device. For charger api matters only positive value. - battery_present() - check if battery is connected (DETBAT pin) - battery_state() - check battery charge level. Returns percent value. - low_power_mode() - switch SOC into low power mode which covers: - disable cores: 1, 2, 3, - disable SOC unused power domains, - decrease CPU clock to 200 MHz After low_power_mode() function call, device should be restarted, which is implemented in interactive charger. Change-Id: I7e664fab29c45c2d29dc57a2faa887d88530d8f3 Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
2015-05-18samsung: misc: new command: battery and config CONFIG_CMD_BATTERYPrzemyslaw Marczak1-0/+28
This feature allows to enable interactive charger by command line or use interactive charger for display battery charge level. Usage: - battery [<state>] [<charge>] Option "state" will display battery screen for 2 seconds. Option "charge" will start interactive charger mode. Interactive charger mode can be stopped by: - pressing CTRL+C keys combination, or device reset by: - pressing PWR key for 5 seconds (only if SOC > 20% - one grey bar), - pressing PWR key for 10 seconds, which is PMIC reset. Change-Id: I622830198f6cba4f0fa30798b02aa003c55332bb Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
2015-05-18samsung: misc: new feature: common interactive chargerPrzemyslaw Marczak1-1/+260
This change adds common interactive charger feature with display support. New config: CONFIG_INTERACTIVE_CHARGER New functions: - battery() - which takes one of commands parameter: BOOT_CHECK: check battery present, low power mode; check battery charge level, draw battery screen STATE: display battery screen with current state of charge this is for command line use CHARGE: start interactive charger for every battery charge level this is also for command line use - interactive_charger() - loop function for charge the battery and do: - update of battery screen, - update charge animation, - check for exit condition (if charge level >= 20%) - clear screen after 10 seconds animation - draw battery on clean screen if any key pressed There are few constants defined for this feature: - CHARGE_TRESHOLD_BOOT: 20 (20 percent of charge) - CHARGE_DISPLAY_TIMEOUT_SEC: 10 (time for animation display) - CONNECT_CHARGER_TIMEOUT_SEC: 5 (time for connect charger animation) - CHARGE_PWR_KEY_RESET_TIMEOUT: 3 (time for PWR key press to reset device) Battery charge level cases: - 0-20 % - don't allow to boot and then: - enable charger if connected and start charge animation or if no charger: - display 5 sec charger animation and turn off the device - > 20 % - don't display battery screen and boot device Charge mode can be break by keys VOLUP + VOLDOWN. If charge level > 20% then device can be enabled by pressing PWR key for a time defined in CHARGE_PWR_KEY_RESET_TIMEOUT. Change-Id: I15066a4b86c89f1f0124b072a0aeb7246b29b279 Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
2015-05-18trats2: add implementation of board_poweroff() and CONFIG_CMD_POWEROFFPrzemyslaw Marczak1-0/+17
This change adds implementation of function board_poweroff() which turns off the device off by setting PSHOLD gpio to low state which is a power off signal for main PMIC. Change-Id: Iae97fb81d7e7e243079ac18d03f4fd917c50b62e Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
2015-05-18gadged: thor: add board signature check when download 'u-boot-mmc.bin'Inha Song2-0/+61
This patch adds checking the special signature of downloaded U-Boot binary. The new function check_board_signature() is called before do dfu_write() in thor gadged code. The board signature is checked for: - the running U-Boot - downloaded 'u-boot-mmc.bin' at offset of binary start defined by: - (CONFIG_SIGN_IMAGE_SIZE - HDR_SIZE) The download can succeed when signatures are equal. The default U-Boot image size defined by CONFIG_SIGN_IMAGE_SIZE is 1MB. Other changes: - print info about running/downloading U-Boot signature - print info about wrong image signature/size - don't allow downloading unsigned or signed wrong U-Boot image - allow download any image if no signature found at running U-Boot The first version added by: Signed-off-by: Inha Song <ideal.song@samsung.com> Upgrade: Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
2015-05-14samsung: misc: check_keys(), key_pressed() - remove type static.Przemyslaw Marczak1-3/+2
This patch removes type "static" from those functions declaration. Change-Id: I2244ca3568b73251401e5102f26cc113ea69c1a4 Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
2015-05-14Trats: Setup: CLK_GATE_BLOCK - enable all clocksPrzemyslaw Marczak1-1/+1
This change allows boot kernel 3.10 on trats Change-Id: Ic7f1672d9300a32fed9fa6d8f6fc30f118326a83 Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
2015-05-12arch: Make board selection choices optionalJoe Hershberger8-0/+9
By making the board selections optional, every defconfig will include the board selection when running savedefconfig so if a new board is added to the top of the list of choices the former top's defconfig will still be correct. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by: Stephen Warren <swarren@wwwdotorg.org> Cc: Tom Rini <trini@konsulko.com>
2015-05-10ppc4xx: Remove sc3 boardStefan Roese7-1328/+0
As this board seems to be unmaintained for quite some time, and its not moved to the generic board ingrastructure, lets remove it. This will also enable us to remove the CONFIG_AUTOBOOT_DELAY_STR2 and CONFIG_AUTOBOOT_STOP_STR2 macros, as this sc3 board is the only one using one of this macros. A removal patch will follow soon. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Heiko Schocher <hs@denx.de> Cc: Wolfgang Denk <wd@denx.de> Cc: Juergen Beisert <jbeisert@eurodsn.de> Acked-by: Heiko Schocher <hs@denx.de>
2015-05-10stv0991: use fdt for serial port platform dataVikas Manocha1-0/+2
This patch ignores the serial port static platform data at compilation time in case of device tree control. Signed-off-by: Vikas Manocha <vikas.manocha@st.com> Reviewed-by: Simon Glass <sjg@chromium.org>
2015-05-10overo: Fix regression introduced in a6b541bArun Bharadwaj1-14/+0
U-Boot has been broken on Overo boards since commit a6b541b09022acb6f7c2754100ae26bd44eed1d9. This is because the gd pointer is not set early enough anymore, such that the i2c_set_bus_num in get_board_revision can safely execute. This results in a console hang at SPL and the boot does not proceed. This piece of code is anyway necessary only for really old Overo boards with revision numbers <= 2410 and not required for the newer boards. For these older boards, u-boot v2014.10 still works fine. Signed-off-by: Arun Bharadwaj <arun@gumstix.com>
2015-05-10overo: Split overo.c into spl.c, common.c and overo.cArun Bharadwaj5-379/+425
This separates the SPL-specific code from the u-boot-specific code for the Overo board following the discussion at http://lists.denx.de/pipermail/u-boot/2015-April/211622.html The code is split up into spl.c, overo.c and common.c (which has the code common to both) Signed-off-by: Arun Bharadwaj <arun@gumstix.com>
2015-05-10overo: Add support for Palo35 expansion boardAsh Charles1-0/+1
Signed-off-by: Ash Charles <ashcharles@gmail.com>
2015-05-10omap3: overo: Add DTS support for TobiDuo expansionArun Bharadwaj1-0/+1
Signed-off-by: Arun Bharadwaj <arun@gumstix.com> Signed-off-by: Ash Charles <ashcharles@gmail.com>
2015-05-10omap3: overo: Set the Arbor43C 'expansionname'Ash Charles1-0/+1
The Gumstix Arbor43C expansion board [1] uses a customized device tree file. When this expansion board is detected, load this file. [1] https://store.gumstix.com/index.php/products/635/ Signed-off-by: Ash Charles <ashcharles@gmail.com>
2015-05-10stm32f4: add serial print portkunhuahuang1-8/+8
Add the stm32F4 board's serial ports support. User can use it easily. The user only need to edit the number of the usart. The patch also fix the serial print out. Last, this version of patch fix the first patch checkpatch.pl error. Thanks to Kamil Lulko. Signed-off-by: kunhuahuang <huangkunhua@gmail.com>
2015-05-08board/BuR/common: rename "usbupdate" environment to "usbscript"Hannes Petermaier1-2/+2
usbupdate in real does allways load some script from usb-storage and execute it, on all B&R targets. So we do following 2 things: - rename it to what it really does - move it from boards to common environment Signed-off-by: Hannes Petermaier <oe5hpm@oevsv.at>
2015-05-08board/BuR/tseries: Add simplefb supportHannes Petermaier1-48/+86
Since the used AM3352 SoC doesn't have GPU it isn't allways necessary to build in complete drm-stuff into linux kernel. In very small applications only we use the simple-framebuffer. So we have 2 use-cases: - device operating on drm-driver (let simplefb node disabled) - device operating on simplefb-driver (activate simplefb node and reserve mem) The decision is made by means of "simplefb" environment variable. simplefb = 0 we don't enable the (maybe) existing simplefb node and all the rest around display is up to the linux-kernel. We just disable the backlight, beceause we do not want see the flicker during take over of drm-driver. simplefb = 1 we enable the (maybe) existing simplefb node and reserve framebuffers size in memory. Signed-off-by: Hannes Petermaier <oe5hpm@oevsv.at>
2015-05-08board/BuR/tseries: take usage of CONFIG_LCD_ROTATIONHannes Petermaier1-0/+23
We take use of the new LCD_ROTATION feature. The information about how the display is rotated is taken from B&R specific (/factory-settings/rotation) information in the devicetree. The information there is stored as string (cw, ud, ccw, none) since starting support of this devices and cannot be changed, so we have to convert it into none = 0 cw = 1 ud = 2 ccw = 3 Signed-off-by: Hannes Petermaier <oe5hpm@oevsv.at>
2015-05-08Merge git://git.denx.de/u-boot-dmTom Rini1-1/+10
2015-05-07ARM: socfpga: move board select into mach-socfpga/KconfigMasahiro Yamada1-31/+0
Switch to a more standard way of board select; put the SoC select into arch/arm/Kconfig and move the board select menu under arch/arm/mach-socfpga/Kconfig. Also, consolidate SYS_BOARD, SYS_VENDOR, SYS_SOC, SYS_CONFIG_NAME. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2015-05-07ARM: socfpga: do not add board directory to header search pathMasahiro Yamada1-1/+1
The compiler option "-Iboard/$(VENDOR)/$(BOARD)" just exists here for iocsr_config.c to be able to include iocsr_config.h. Use "..." instead of <...> to include a header in the same directory. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2015-05-05sandbox: Add test function to advance timeJoe Hershberger1-1/+10
Add a function that maintains an offset to include in the system timer values returned from the lib/time.c APIs. This will allow timeouts to be skipped instantly in tests Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Simon Glass <sjg@chromium.org>
2015-05-05Merge git://git.denx.de/u-boot-mpc85xxTom Rini38-97/+1700
2015-05-05Merge git://git.denx.de/u-boot-marvellTom Rini9-4/+158
2015-05-05arm: mvebu: Add Armada A38x DB-88F6820-GP board supportStefan Roese5-0/+153
This patch adds support for the Marvell DB-88F6820-GP Armada A38x evaluation board. Supported peripherals are: - UART - Ethernet (mvneta) - I2C - SPI (including SPI NOR flash) Please note that this board support right now only supports the main U-Boot. Without the bin_hdr integration (DDR training etc). This will be added in a few days / weeks to complete this board port. But till then this U-Boot version can be run on the target via the original Marvell U-Boot via this command: tftpboot 4000000 db-88f6820-gp/u-boot.bin;go 4000000 Signed-off-by: Stefan Roese <sr@denx.de> Tested-by: Kevin Smith <kevin.smith@elecsyscorp.com> Tested-by: Dirk Eibach <dirk.eibach@gdsys.cc>
2015-05-05arm: mvebu: Change network init code to allow a more flexible setupStefan Roese1-1/+2
With the introduction of the Armada 38x support, its necessary to change the mvneta ethernet driver init call from always 4 times to a configurable value. Lets make this init call more flexible by moving the actually used devices to the config header. Additionally this patch takes care of the slightly different base addresses for the ethernet controllers on A38x. Signed-off-by: Stefan Roese <sr@denx.de> Tested-by: Kevin Smith <kevin.smith@elecsyscorp.com> Tested-by: Dirk Eibach <dirk.eibach@gdsys.cc> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
2015-05-05arm: mvebu: Move mvebu-common into mach-mvebuStefan Roese1-1/+1
Now that the mach-mvebu directory exists and is used by Armada XP we can move the mvebu-common files into this directory as well. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Tested-by: Kevin Smith <kevin.smith@elecsyscorp.com> Tested-by: Dirk Eibach <dirk.eibach@gdsys.cc>
2015-05-05arm: armada-xp: Move SoC headers to mach-mvebu/include/machStefan Roese2-2/+2
Move arch/arm/include/asm/arch-armada-xp/* -> arch/arm/mach-mvebu/include/mach/* Additionally the SYS_SOC is renamed from "armada-xp" to "mvebu". With this change all these files can better be shared with other, newer Mavell MVEBU SoC's. Like the upcoming Armada 38x support. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Tested-by: Kevin Smith <kevin.smith@elecsyscorp.com> Tested-by: Dirk Eibach <dirk.eibach@gdsys.cc>
2015-05-04Merge branch 'master' of git://git.denx.de/u-boot-sunxiTom Rini4-15/+111
2015-05-04powerpc/mpc85xx: Add board support for ucp1020Oleksandr G Zhadan12-0/+1256
New QorIQ p1020 based board support from Arcturus Networks Inc. http://www.arcturusnetworks.com/products/ucp1020/ Signed-off-by: Michael Durrant <mdurrant@arcturusnetworks.com> Signed-off-by: Oleksandr G Zhadan <oleks@arcturusnetworks.com> [York Sun: remove patman tags from commit message] Reviewed-by: York Sun <yorksun@freescale.com>
2015-05-04powerpc/t4240qds: Update RCW, defconfig and maintainerShaohui Xie2-4/+2
1. board/freescale/t4qds/t4_rcw.cfg 1.8GHz support is requested as default frequency, so update the rcw. 2. remove un-used configs configs/T4160QDS_SPIFLASH_defconfig configs/T4240QDS_SPIFLASH_defconfig SPI boot is not available on T4QDS, so the configs should be removed. 3. board/freescale/t4qds/MAINTAINERS Updated MAINTAINERS accordingly. Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com> [York Sun: revise subject] Reviewed-by: York Sun <yorksun@freescale.com>
2015-05-04t2080rdb/rcw: update ddr frequency from 1600MT/s to 1867MT/sShengzhou Liu1-1/+4
T2080RDB RevC uses new SODIMM 1867MT/s instead of previous 1600MT/s. So update RCW to support new DDR frequency 1867MT/s by default. Reserve the old 1600MT/s in comment for users in needed. Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
2015-05-04mmc: fsl_esdhc: Add adapter card type identification supportYangbo Lu1-0/+14
Add adapter card type identification support by reading FPGA STAT_PRES1 register SDHC Card ID[0:2] bits. To use this function, define CONFIG_FSL_ESDHC_ADAPTER_IDENT. Signed-off-by: Yangbo Lu <yangbo.lu@freescale.com> Cc: York Sun <yorksun@freescale.com> Cc: Pantelis Antoniou <panto@antoniou-consulting.com> [York Sun: resolve conflicts in README.fsl-esdhc] Reviewed-by: York Sun <yorksun@freescale.com>
2015-05-04board/t2080rdb: reset cs4315 phyShengzhou Liu2-0/+10
CS4315 PHY doesn't support phy-reset by software, it needs to reset it by hardware via CPLD control. Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
2015-05-04fsl/deepsleep: avoid the DDR restore from being optimized outTang Yuantian1-4/+4
Function dp_ddr_restore is to restore the first 128-byte space of DDR. However those codes may be optimized out by compiler since the destination address is at 0x0. In order to avoid compiler optimization, we restore the space from high address, which is not at 0x0, to low address. Signed-off-by: Tang Yuantian <Yuantian.Tang@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>