From: Guillaume La Roque Date: Fri, 11 Oct 2019 15:33:58 +0000 (+0200) Subject: configs: sei610: Add config file to fix userdata size X-Git-Url: http://git.dujemihanovic.xyz/%22/img/sics.gif/%22/static/git-favicon.png?a=commitdiff_plain;h=be2ffa1656509cc974910224a87443868d7037d9;p=u-boot.git configs: sei610: Add config file to fix userdata size Add separate config file to handle the different eMMC size on the sei610 board. Signed-off-by: Guillaume La Roque Signed-off-by: Neil Armstrong --- diff --git a/board/amlogic/sei610/MAINTAINERS b/board/amlogic/sei610/MAINTAINERS index 20f12334e9..da77aafa41 100644 --- a/board/amlogic/sei610/MAINTAINERS +++ b/board/amlogic/sei610/MAINTAINERS @@ -4,3 +4,4 @@ S: Maintained L: u-boot-amlogic@groups.io F: board/amlogic/sei610/ F: configs/sei610_defconfig +F: include/configs/sei610.h diff --git a/configs/sei610_defconfig b/configs/sei610_defconfig index 89e7bd7bab..520a683d2e 100644 --- a/configs/sei610_defconfig +++ b/configs/sei610_defconfig @@ -1,6 +1,6 @@ CONFIG_ARM=y CONFIG_SYS_BOARD="sei610" -CONFIG_SYS_CONFIG_NAME="sei510" +CONFIG_SYS_CONFIG_NAME="sei610" CONFIG_ARCH_MESON=y CONFIG_SYS_TEXT_BASE=0x01000000 CONFIG_MESON_G12A=y diff --git a/include/configs/sei610.h b/include/configs/sei610.h new file mode 100644 index 0000000000..6d093161c9 --- /dev/null +++ b/include/configs/sei610.h @@ -0,0 +1,31 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Configuration for the SEI510 + * + * Copyright (C) 2019 Baylibre, SAS + * Author: Jerome Brunet + */ + +#ifndef __CONFIG_H +#define __CONFIG_H + +#define LOGO_UUID "43a3305d-150f-4cc9-bd3b-38fca8693846;" +#define CACHE_UUID "99207ae6-5207-11e9-999e-6f77a3612069;" +#define SYSTEM_UUID "99f9b7ac-5207-11e9-8507-c3c037e393f3;" +#define VENDOR_UUID "9d082802-5207-11e9-954c-cbbce08ba108;" +#define USERDATA_UUID "9b976e42-5207-11e9-8f16-ff47ac594b22;" +#define ROOT_UUID "ddb8c3f6-d94d-4394-b633-3134139cc2e0;" + +#define PARTS_DEFAULT \ + "uuid_disk=${uuid_gpt_disk};" \ + "name=boot,size=64M,bootable,uuid=${uuid_gpt_boot};" \ + "name=logo,size=2M,uuid=" LOGO_UUID \ + "name=cache,size=256M,uuid=" CACHE_UUID \ + "name=system,size=1536M,uuid=" SYSTEM_UUID \ + "name=vendor,size=256M,uuid=" VENDOR_UUID \ + "name=userdata,size=12795M,uuid=" USERDATA_UUID \ + "name=rootfs,size=-,uuid=" ROOT_UUID + +#include + +#endif /* __CONFIG_H */