- 13 2月, 2015 40 次提交
-
-
由 Simon Glass 提交于
Remove driver model CONFIGs from the board config headers and use Kconfig instead. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Michal Simek 提交于
Targets with CONFIG_NEEDS_MANUAL_RELOC do not use REL/RELA relocation (mostly only GOT) where functions aray are not updated. This patch is fixing function pointers for DM core and serial-uclass to ensure that relocated functions are called. Signed-off-by: NMichal Simek <michal.simek@xilinx.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Peng Fan 提交于
This patch add DT support for mxc gpio driver. There are one place using CONFIG_OF_CONTROL macro. 1. The U_BOOT_DEVICES and mxc_plat array are complied out. To DT, platdata is alloced using calloc, so there is no need to use mxc_plat. The following situations are tested, and all work fine: 1. with DM, without DT 2. with DM and DT 3. without DM Since device tree has not been upstreamed, if want to test this patch. The followings need to be done. + pieces of code does not gpio_request when using gpio_direction_xxx and etc, need to request gpio. + move the gpio settings from board_early_init_f to board_init + define CONFIG_DM ,CONFIG_DM_GPIO and CONFIG_OF_CONTROL + Add device tree file and do related configuration in `make ARCH=arm menuconfig` These will be done in future patches by step. Signed-off-by: NPeng Fan <Peng.Fan@freescale.com> Acked-by: NIgor Grinberg <grinberg@compulab.co.il> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Peng Fan 提交于
Add a new entry in platdata structure and intialize bank_index in mxc_plat array. This new entry can avoid using `plat - mxc_plat` by using `plat->bank_index`. Signed-off-by: NPeng Fan <Peng.Fan@freescale.com> Acked-by: NIgor Grinberg <grinberg@compulab.co.il> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Peng Fan 提交于
Abstracting dev_get_addr can improve drivers that want to get device's address. Signed-off-by: NPeng Fan <Peng.Fan@freescale.com> Acked-by: NIgor Grinberg <grinberg@compulab.co.il> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
These are now in Kconfig so we can drop them from the header file. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Move this option to Kconfig and update all boards. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Remove driver model CONFIGs from the board config headers and use Kconfig instead. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
With driver model the number of PIO ports is defined by platform data, so remove it from the header file. Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: NAndreas Bießmann <andreas.devel@googlemail.com>
-
由 Nobuhiro Iwamatsu 提交于
This adds driver model support with this driver. This was tested by Koelsch board and Gose board. Signed-off-by: NNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Remove driver model CONFIGs from the board config headers and use Kconfig instead. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Remove driver model CONFIGs from the board config headers and use Kconfig instead. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Remove driver model CONFIGs from the board config headers and use Kconfig instead. Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: NIan Campbell <ijc@hellion.org.uk>
-
由 Simon Glass 提交于
Remove driver model CONFIGs from the board config headers and use Kconfig instead. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Remove driver model CONFIGs from the board config headers and use Kconfig instead. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Remove driver model CONFIGs from the board config headers and use Kconfig instead. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Remove driver model CONFIGs from the board config headers and use Kconfig instead. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Remove driver model CONFIGs from the board config headers and use Kconfig instead. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Remove driver model CONFIGs from the board config header and use Kconfig instead. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Add Kconfig settings for these two options. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>
-
由 Simon Glass 提交于
Add a file to control driver model test features. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>
-
由 Simon Glass 提交于
The SPL support cannot be enabled yet, but we can add the Kconfig options in preparation for this. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Expand the help messages for each driver. Add missing Kconfig for I2C, SPI flash and thermal. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>
-
由 Simon Glass 提交于
Add a suitable Kconfig for this directory. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>
-
由 Simon Glass 提交于
Make the driver model I2C API available always, even if driver model is not enabled. This allows for a 'soft' switch-over, where drivers can use the new structures in code which is compiled but not yet used. This makes migration easier in some cases. Fix up the existing drivers which define their own 'struct i2c_msg'. Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: NHeiko Schocher <hs@denx.de>
-
由 Simon Glass 提交于
As with i2c_read() and i2c_write(), add a dm_ prefix to the driver model versions of these functions to avoid conflicts. Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: NHeiko Schocher <hs@denx.de>
-
由 Simon Glass 提交于
Drop the old checksum functions in favour of the new ones. Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 Stefan Roese 提交于
This also displays the "Board:" line in the bootup text with the generic board support code. Signed-off-by: NStefan Roese <sr@denx.de> Cc: Simon Glass <sjg@chromium.org> Reviewed-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Stefan Roese 提交于
These additional nodes need to be provided to get U-Boot to boot correctly on the Canyonlands / Glacier board: - chosen path to the console-uart - reg-shift set to 0 in the uart device nodes Signed-off-by: NStefan Roese <sr@denx.de> Cc: Simon Glass <sjg@chromium.org> Reviewed-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Stefan Roese 提交于
This is necessary, as ppc4xx has the reset vector located at the end of the U-Boot image. This needs to be flashed to the end of the NOR flash. Adding the dtb to the main U-Boot image will break booting on ppc4xx. This patch now embeds the dtb in the U-Boot image instead. Signed-off-by: NStefan Roese <sr@denx.de> Cc: Simon Glass <sjg@chromium.org> Reviewed-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
This permits us to use linux/linkage.h on PowerPC machines. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Adjust Kconfig to default to driver model for glacier, canyonlands and arches. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
This uses the ns16550 driver but sets up the clock at run-time. It does not seem to be available in the device tree. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
This comes from the device tree or a call to get_uart_clock(). Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Enable CONFIG_OF_CONTROL so that U-Boot on these three boards uses a device tree for its configuration. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Define an _end symbol indicating the end of u-boot.bin. Also add some dummy words into the link script to ensure that u-boot.bin will always extend that far. There may be a better way of doing this. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
This is required at present for device tree control. The ppc4xx does support GPIOs but does not seem to have a proper driver. So this file is empty. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Call this function to set up our early memory. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
The canyonlands.h config file works with canyonlands, glacier and arches boards. Bring in the device tree files for these from Linux 3.17. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Switch to generic board so that this board will not be broken/removed. Signed-off-by: NSimon Glass <sjg@chromium.org>
-